EnvMap GitHub

CVE-2026-142929

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

Not scored yetEPSS 0.31%Received

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.

In the words of the organisation that published it (Linux).

Affected

  • Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4287c687efc94b6165a651cac02; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 998e1cf4d0f0dff6a9732d622c9; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5bd2b60e279c3d0652da836f62a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 29e530803b34759a97d86d1be52; 2.6.12

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.31% chance of exploitation in the next 30 days, higher than 26% of all CVEs (as of 4 December 2026).

References

Record

Published04:18 UTC, 3 December 2026
Last changed04:18 UTC, 3 December 2026
NVD statusReceived
Published byLinux

CVE-2026-142929 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.