Odebrany

CVE-2026-99297

opublikowano:
modyfikacja:
Ocena CVSS
n/a
Brak oceny

>_ Opis

Tłumaczenie automatyczne – może zawierać nieścisłości.

W jądrze Linuksa usunięto następującą lukę:

media: em28xx: napraw podwójną darmową wersję em28xx_alloc_urbs

Gdy alokacja usb_bufs->buf[i] nie powiedzie się, em28xx_alloc_urbs()
jawnie zwalnia wszystkie elementy w obrębie usb_bufs->buf przed wywołaniem
em28xx_uninit_usb_xfer(), która również zwalnia te elementy, powodując ich
dwukrotnie uwolniony.

BŁĄD: KASAN: double-free w usb_free_urb.part.0 (drivers/usb/core/urb.c:25 ./include/linux/kref.h:65 sterowniki/usb/core/urb.c:96)
Bez adresu ffff88802fd37c00 przez zadanie kworker/1:2/1182
Kolejka robocza: zdarzenia request_module_async
Zadzwoń do śledzenia:
kasan_report_invalid_free (mm/kasan/report.c:557)
check_slab_allocation (mm/kasan/common.c:235)
kfree (./include/linux/kasan.h:199 (dyskryminator 1) mm/slub.c:2693 (dyskryminator 1) mm/slub.c:6508 (dyskryminator 1) mm/slub.c:6801 (dyskryminator 1))
usb_free_urb.part.0 (sterowniki/usb/core/urb.c:25 ./include/linux/kref.h:65 sterowniki/usb/core/urb.c:96)
usb_free_urb (sterowniki/usb/core/urb.c:95)
em28xx_uninit_usb_xfer (sterowniki/media/usb/em28xx/em28xx-core.c:964)
em28xx_alloc_urbs (sterowniki/media/usb/em28xx/em28xx-core.c:1076)
em28xx_dvb_init (sterowniki/media/usb/em28xx/em28xx-dvb.c:1734 sterowniki/media/usb/em28xx/em28xx-dvb.c:1698)
em28xx_init_extension (sterowniki/media/usb/em28xx/em28xx-core.c:1248)
request_module_async (sterowniki/media/usb/em28xx/em28xx-cards.c:3685)
proces_one_work (jądro/workqueue.c:3396)
wątek_pracownika (jądro/workqueue.c:3479 jądro/workqueue.c:3560)
kthread (jądro/kthread.c:436)
ret_from_fork (arch/x86/kernel/process.c:158)
ret_from_fork_asm (arch/x86/entry/entry_64.S:245)
Przydzielone przez zadanie 1182:
kasan_save_stack (mm/kasan/common.c:57)
kasan_save_track (mm/kasan/common.c:78)
__kasan_kmalloc (mm/kasan/wspólny.c:398 mm/kasan/wspólny.c:415)
__kmalloc_noprof (./include/linux/kasan.h:263 mm/slub.c:5414 mm/slub.c:5439)
em28xx_alloc_urbs (./include/linux/slab.h:995 ./include/linux/slab.h:1312 sterowniki/media/usb/em28xx/em28xx-core.c:1081)
em28xx_dvb_init (sterowniki/media/usb/em28xx/em28xx-dvb.c:1734 sterowniki/media/usb/em28xx/em28xx-dvb.c:1698)
em28xx_init_extension (sterowniki/media/usb/em28xx/em28xx-core.c:1248)
request_module_async (sterowniki/media/usb/em28xx/em28xx-cards.c:3685)
proces_one_work (jądro/workqueue.c:3396)
wątek_pracownika (jądro/workqueue.c:3479 jądro/workqueue.c:3560)
kthread (jądro/kthread.c:436)
ret_from_fork (arch/x86/kernel/process.c:158)
ret_from_fork_asm (arch/x86/entry/entry_64.S:245)
Uwolniony przez zadanie 1182:
kasan_save_stack (mm/kasan/common.c:57)
kasan_save_track (mm/kasan/common.c:78)
kasan_save_free_info (mm/kasan/generic.c:584)
__kasan_slab_free (mm/kasan/common.c:253 mm/kasan/common.c:285)
kfree (./include/linux/kasan.h:235 mm/slub.c:2748 mm/slub.c:6508 mm/slub.c:6801)
em28xx_alloc_urbs (sterowniki/media/usb/em28xx/em28xx-core.c:1084)
em28xx_dvb_init (sterowniki/media/usb/em28xx/em28xx-dvb.c:1734 sterowniki/media/usb/em28xx/em28xx-dvb.c:1698)
em28xx_init_extension (sterowniki/media/usb/em28xx/em28xx-core.c:1248)
request_module_async (sterowniki/media/usb/em28xx/em28xx-cards.c:3685)
proces_one_work (jądro/workqueue.c:3396)
wątek_pracownika (jądro/workqueue.c:3479 jądro/workqueue.c:3560)
kthread (jądro/kthread.c:436)
ret_from_fork (arch/x86/kernel/process.c:158)
ret_from_fork_asm (arch/x86/entry/entry_64.S:245)

Usuń jawną pętlę czyszczącą i pozwól em28xx_uninit_usb_xfer()
zająć się sprzątaniem.

>_ Referencje

Dane podatności pochodzą z oficjalnych źródeł (CVE® List / NVD). Opisy po polsku są tłumaczone automatycznie i mogą zawierać nieścisłości – na stronie rekordu można wyświetlić wersję angielską.

This product uses the NVD API but is not endorsed or certified by the NVD.

Copyright © 1999–2026, The MITRE Corporation. CVE is a registered trademark and the CVE logo is a registered trademark of The MITRE Corporation.

CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.

NVD Terms of Use / CVE® Terms of Use / nvd.nist.gov / cve.org