# CVE-2026-142929: USB: usbmon: fix null-ptr-deref in mon\_bus\_remove() when mon\_bus\_init() fails

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:26:04.421Z
- **Modified:** 2026-12-03T04:18:33.843Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker who can trigger USB host controller removal can cause a NULL pointer dereference in the Linux kernel's usbmon driver, crashing the kernel.

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4287c687efc94b6165a651cac023e828474fba38; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 998e1cf4d0f0dff6a9732d622c9b4f75ba155e6f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5bd2b60e279c3d0652da836f62a68218a58478db; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 29e530803b34759a97d86d1be5243abdfdde3c1c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6d6c598a50f120833311e9af177c40ea2991d1c1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 389b1a6cfe558fe8d6fd1a7821121cca1457b101; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8286e4bb78bf302ba741c2a7ae95b4c1d6fb8a2f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0c6cae0f56239e3274b30dbe5b362cd297ccacc7
- Anyone running Linux 2.6.12

## 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 and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4287c687efc94b6165a651cac023e828474fba38; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 998e1cf4d0f0dff6a9732d622c9b4f75ba155e6f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5bd2b60e279c3d0652da836f62a68218a58478db; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 29e530803b34759a97d86d1be5243abdfdde3c1c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6d6c598a50f120833311e9af177c40ea2991d1c1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 389b1a6cfe558fe8d6fd1a7821121cca1457b101; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8286e4bb78bf302ba741c2a7ae95b4c1d6fb8a2f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0c6cae0f56239e3274b30dbe5b362cd297ccacc7 (cvelist)
- Linux: 2.6.12 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 0c6cae0f56239e3274b30dbe5b362cd297ccacc7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142929. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142929.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4287c687efc94b6165a651cac023e828474fba38; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 998e1cf4d0f0dff6a9732d622c9b4f75ba155e6f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5bd2b60e279c3d0652da836f62a68218a58478db; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 4287c687efc94b6165a651cac023e828474fba38, Linux 998e1cf4d0f0dff6a9732d622c9b4f75ba155e6f, Linux 5bd2b60e279c3d0652da836f62a68218a58478db, Linux 29e530803b34759a97d86d1be5243abdfdde3c1c, Linux 6d6c598a50f120833311e9af177c40ea2991d1c1, Linux 389b1a6cfe558fe8d6fd1a7821121cca1457b101, Linux 8286e…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142929 being exploited?

There is no confirmed exploitation: CVE-2026-142929 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142929?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142929?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4287c687efc94b6165a651cac023e828474fba38; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 998e1cf4d0f0dff6a9732d622c9b4f75ba155e6f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5bd2b60e279c3d0652da836f62a68218a58478db; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 29e530803b34759a97d86d1be5243abdfdde3c1c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6d6c598a50f120833311e9af177c40ea2991d1c1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 389b1a6cfe558fe8d6fd1a7821121cca1457b101; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8286e4bb78bf302ba741c2a7ae95b4c1d6fb8a2f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0c6cae0f56239e3274b30dbe5b362cd297ccacc7; Linux 2.6.12.

### Is there a fix for CVE-2026-142929?

Yes. Fixed in Linux 4287c687efc94b6165a651cac023e828474fba38, Linux 998e1cf4d0f0dff6a9732d622c9b4f75ba155e6f, Linux 5bd2b60e279c3d0652da836f62a68218a58478db, Linux 29e530803b34759a97d86d1be5243abdfdde3c1c, Linux 6d6c598a50f120833311e9af177c40ea2991d1c1, Linux 389b1a6cfe558fe8d6fd1a7821121cca1457b101, Linux 8286e4bb78bf302ba741c2a7ae95b4c1d6fb8a2f, Linux 0c6cae0f56239e3274b30dbe5b362cd297ccacc7. Upgrade Linux to 0c6cae0f56239e3274b30dbe5b362cd297ccacc7 or later.

### How do I check if I'm affected by CVE-2026-142929?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/4287c687efc94b6165a651cac023e828474fba38>
- other: <https://git.kernel.org/stable/c/998e1cf4d0f0dff6a9732d622c9b4f75ba155e6f>
- other: <https://git.kernel.org/stable/c/5bd2b60e279c3d0652da836f62a68218a58478db>
- other: <https://git.kernel.org/stable/c/29e530803b34759a97d86d1be5243abdfdde3c1c>
- other: <https://git.kernel.org/stable/c/6d6c598a50f120833311e9af177c40ea2991d1c1>
- other: <https://git.kernel.org/stable/c/389b1a6cfe558fe8d6fd1a7821121cca1457b101>
- other: <https://git.kernel.org/stable/c/8286e4bb78bf302ba741c2a7ae95b4c1d6fb8a2f>
- other: <https://git.kernel.org/stable/c/0c6cae0f56239e3274b30dbe5b362cd297ccacc7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142929>

HTML: <https://flawdb.com/CVE-2026-142929> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142929>
