# CVE-2026-142929

- Bağlantı: https://www.allsafe.com.tr/cve-2026-142929/
- Yayımlanma: 2026-12-03T07:18:33+03:00
- Yazar: Postmaster

In the Linux kernel, the following vulnerability has been resolved:

USB: usbmon: fix null-ptr-deref in mon_bus_remove() when mon_bus_init() fails

When mon_bus_init() fails to allocate the mon_bus struct, it returns
 without setting
ubus->mon_bus, so mbus->mon_bus remains NULL. mon_bus_add() intentionally ignores
this failure because the USB core does not require monitoring to be established 
for normal operation. However, when the HCD is later removed, usb_remove_hcd() fires
the USB_BUS_REMOVE notifier which calls mon_bus_remove(), it dereferences ubus->
mon_bus without checking for NULL, causing a null-ptr deference.

Fix this by adding a NULL check for mbus at the top of mon_bus_remove().
 If mon_bus_init()
failed, ubus->mon_bus is NULL, meaning the bus was never tracked by the monitor,
so there is nothing to clean up and returning early is correct.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-142929)
