CVE-2026-139184: net: usb: cdc_ncm: don't enable BHs in tx_fixup under netpoll

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: usb: cdcncm: don't enable BHs in txfixup under netpoll

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

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

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In Linux kernel cdc_ncm_tx_fixup(), use plain spin_lock() instead of spin_lock_bh() so the function does not enable BHs under netpoll.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description

Frequently Asked Questions

1

Which deployments are most likely to encounter this issue?

Systems using a CDC NCM USB network device with netpoll are exposed. The described lockup occurs specifically when netconsole is configured on that CDC NCM device.

2

What conditions trigger the lockup?

Netpoll calls the transmit path while holding the transmit-queue lock with interrupts disabled. The affected code enables bottom halves during transmit fixup, allowing a pending softirq to attempt transmission and spin on the lock already held by netpoll.

3

What is the practical impact?

A triggered condition can cause a soft or hard lockup, potentially making the affected system unresponsive.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203