Bug 2589409 (CVE-2026-142929) - CVE-2026-142929 kernel: kernel: Denial of service via NULL pointer dereference in USB monitoring subsystem
Summary: CVE-2026-142929 kernel: kernel: Denial of service via NULL pointer dereferenc...
Keywords:
Status: NEW
Alias: CVE-2026-142929
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 05:13 UTC by OSIDB Bzimport
Modified: 2026-12-03 07:09 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 05:13:06 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.