CVE-2026-139184

net: usb: cdc_ncm: don't enable BHs in tx_fixup under netpoll

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net: usb: cdc_ncm: don't enable BHs in tx_fixup under netpoll

netpoll holds the txq lock and calls ndo_start_xmit() with IRQs off but
BHs on. The spin_unlock_bh() in cdc_ncm_tx_fixup() then runs pending
softirqs. If one of them transmits, it spins on the txq lock that
netpoll holds. With netconsole on a cdc_ncm device this ends in a soft
or hard lockup.

Every caller of cdc_ncm_tx_fixup() holds the txq lock with BHs or IRQs
off, so the softirq user of ctx->mtx cannot interrupt it. Use plain
spin_lock().

Analysis

AI-generated

Technical impact

The CDC‑NCM USB network driver in the Linux kernel contains a synchronization flaw that triggers when the netpoll subsystem holds the transmit queue lock, invokes the transmission routine with interrupts disabled but bottom halves enabled, and a spin_unlock_bh call in cdc_ncm_tx_fixup releases the lock while pending softirqs are still running. If a softirq attempts to acquire the same lock, a deadlock occurs, leading to a soft or hard kernel lockup. This flaw causes a denial‑of‑service by halting the system, particularly when netconsole is active on a CDC‑NCM device.

Affected Systems

Linux kernel, CDC‑NCM USB network driver. The flaw exists in any kernel revision that contains the relevant code until the fixes are applied. Applying the latest patched kernel or rebuilding the driver with the updated code resolves the issue.

Risk and Exploitability

The CVSS score is not provided and EPSS is unavailable, so a precise risk quantification cannot be given. Based on the description, the vulnerability is likely to be exploitable only by a local user who can interact with a CDC‑NCM USB network device while netconsole is enabled, which means the attack vector is local. No remote exploitation has been reported. The lack of remote control reduces the potential for widespread attacks, but the synchronization flaw can still cause a denial of service on affected systems that use netpoll with CDC‑NCM. The vulnerability is not listed in the CISA KEV catalog, but it remains a significant availability risk for systems with exposed CDC‑NCM devices.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release that incorporates the commit disabling BHs in cdc_ncm_tx_fixup under netpoll.
  • If operating a loadable module, rebuild the CDC‑NCM driver from the updated source to ensure the change is present.
  • If a kernel upgrade or module rebuild cannot be performed immediately, temporarily disable netconsole on any CDC‑NCM devices or avoid using netpoll with CDC‑NCM to mitigate lockups until a patch can be applied.

Generated by OpenCVE AI on December 1, 2026 at 09:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-367
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: usb: cdc_ncm: don't enable BHs in tx_fixup under netpoll netpoll holds the txq lock and calls ndo_start_xmit() with IRQs off but BHs on. The spin_unlock_bh() in cdc_ncm_tx_fixup() then runs pending softirqs. If one of them transmits, it spins on the txq lock that netpoll holds. With netconsole on a cdc_ncm device this ends in a soft or hard lockup. Every caller of cdc_ncm_tx_fixup() holds the txq lock with BHs or IRQs off, so the softirq user of ctx->mtx cannot interrupt it. Use plain spin_lock().
Title net: usb: cdc_ncm: don't enable BHs in tx_fixup under netpoll
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:32 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM