CVE-2026-142929

Unknown

Last modified

CVE-2026-142929 is a vulnerability of currently unknown severity. 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..

Description

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.

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4287c687efc94b6165a651cac023e828474fba38; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 998e1cf4d0f0dff6a9732d622c9b4f75ba155e6f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5bd2b60e279c3d0652da836f62a68218a58478db; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 29e530803b34759a97d86d1be5243abdfdde3c1c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6d6c598a50f120833311e9af177c40ea2991d1c1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 389b1a6cfe558fe8d6fd1a7821121cca1457b101; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8286e4bb78bf302ba741c2a7ae95b4c1d6fb8a2f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0c6cae0f56239e3274b30dbe5b362cd297ccacc7
LinuxLinux2.6.12

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-142929?
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.
How severe is CVE-2026-142929?
Severity scoring for CVE-2026-142929 is pending analysis.
How do I fix CVE-2026-142929?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-142929?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST