CVE-2025-40140
net: usb: Remove disruptive netif_wake_queue in rtl8150_set_multicast
Mitigation
- Upgrade Linux to 958baf5eaee394e5fd976979b0791a875f14a179 or later.
Who should check
- Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cce3c0e21cdd15bcba5c35d3af1700186de8f187; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1a08a37ac03d07a1608a1592791041cac979fbc3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 54f8ef1a970a8376e5846ed90854decf7c00555d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 114e05344763a102a8844efd96ec06ba99293ccd; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6394bade9daab8e318c165fe43bba012bf13cd8e; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6053e47bbf212b93c051beb4261d7d5a409d0ce3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9d72df7f5eac946f853bf49c428c4e87a17d91da; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 958baf5eaee394e5fd976979b0791a875f14a179
- Anyone running Linux 2.6.12
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cce3c0e21cdd15bcba5c35d3af1700186de8f187; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1a08a37ac03d07a1608a1592791041cac979fbc3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 54f8ef1a970a8376e5846ed90854decf7c00555d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 114e05344763a102a8844efd96ec06ba99293ccd; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6394bade9daab8e318c165fe43bba012bf13cd8e; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6053e47bbf212b93c051beb4261d7d5a409d0ce3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9d72df7f5eac946f853bf49c428c4e87a17d91da; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 958baf5eaee394e5fd976979b0791a875f14a179; Linux 2.6.12
- Fixed in
- Linux 1a08a37ac03d07a1608a1592791041cac979fbc3, Linux 54f8ef1a970a8376e5846ed90854decf7c00555d, Linux 114e05344763a102a8844efd96ec06ba99293ccd, Linux 6394bade9daab8e318c165fe43bba012bf13cd8e, Linux 6053e47bbf212b93c051beb4261d7d5a409d0ce3, Linux 9d72df7f5eac946f853bf49c428c4e87a17d91da, Linux 958baf5eaee394e5fd976979b0791a875f14a179
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 8.8 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.47% chance of exploitation in 30 days (percentile 33, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net: usb: Remove disruptive netif_wake_queue in rtl8150_set_multicast syzbot reported WARNING in rtl8150_start_xmit/usb_submit_urb. This is the sequence of events that leads to the warning: rtl8150_start_xmit() { netif_stop_queue(); usb_submit_urb(dev->tx_urb); } rtl8150_set_multicast() { netif_stop_queue(); netif_wake_queue(); <-- wakes up TX queue before URB is done } rtl8150_start_xmit() { netif_stop_queue(); usb_submit_urb(dev->tx_urb); <-- double submission } rtl8150_set_multicast being the ndo_set_rx_mode callback should not be calling netif_stop_queue and notif_start_queue as these handle TX queue synchronization. The net core function dev_set_rx_mode handles the synchronization for rtl8150_set_multicast making it safe to remove these locks.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cce3c0e21cdd15bcba5c35d3af1700186de8f187; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1a08a37ac03d07a1608a1592791041cac979fbc3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 54f8ef1a970a8376e5846ed90854decf7c00555d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 114e05344763a102a8844efd96ec06ba99293ccd; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6394bade9daab8e318c165fe43bba012bf13cd8e; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6053e47bbf212b93c051beb4261d7d5a409d0ce3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9d72df7f5eac946f853bf49c428c4e87a17d91da; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 958baf5eaee394e5fd976979b0791a875f14a179 | — | cvelist |
| Linux | 2.6.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-40140. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-40140.md Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cce3c0e21cdd15bcba5c35d3af1700186de8f187; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1a08a37ac03d07a1608a1592791041cac979fbc3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 54f8ef1a970a8376e5846ed90854decf7c00555d; >= 1da177e4c3f41524e886b7f… Fixed in: Linux 1a08a37ac03d07a1608a1592791041cac979fbc3, Linux 54f8ef1a970a8376e5846ed90854decf7c00555d, Linux 114e05344763a102a8844efd96ec06ba99293ccd, Linux 6394bade9daab8e318c165fe43bba012bf13cd8e, Linux 6053e47bbf212b93c051beb4261d7d5a409d0ce3, Linux 9d72df7f5eac946f853bf49c428c4e87a17d91da, Linux 958ba… 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.
References
Other
- https://git.kernel.org/stable/c/cce3c0e21cdd15bcba5c35d3af1700186de8f187
- https://git.kernel.org/stable/c/1a08a37ac03d07a1608a1592791041cac979fbc3
- https://git.kernel.org/stable/c/54f8ef1a970a8376e5846ed90854decf7c00555d
- https://git.kernel.org/stable/c/114e05344763a102a8844efd96ec06ba99293ccd
- https://git.kernel.org/stable/c/6394bade9daab8e318c165fe43bba012bf13cd8e
- https://git.kernel.org/stable/c/6053e47bbf212b93c051beb4261d7d5a409d0ce3
- https://git.kernel.org/stable/c/9d72df7f5eac946f853bf49c428c4e87a17d91da
- https://git.kernel.org/stable/c/958baf5eaee394e5fd976979b0791a875f14a179
FAQ
Is CVE-2025-40140 being exploited?
There is no confirmed exploitation: CVE-2025-40140 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.47% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-40140?
High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-40140?
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cce3c0e21cdd15bcba5c35d3af1700186de8f187; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1a08a37ac03d07a1608a1592791041cac979fbc3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 54f8ef1a970a8376e5846ed90854decf7c00555d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 114e05344763a102a8844efd96ec06ba99293ccd; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6394bade9daab8e318c165fe43bba012bf13cd8e; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6053e47bbf212b93c051beb4261d7d5a409d0ce3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9d72df7f5eac946f853bf49c428c4e87a17d91da; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 958baf5eaee394e5fd976979b0791a875f14a179; Linux 2.6.12.
Is there a fix for CVE-2025-40140?
Yes. Fixed in Linux 1a08a37ac03d07a1608a1592791041cac979fbc3, Linux 54f8ef1a970a8376e5846ed90854decf7c00555d, Linux 114e05344763a102a8844efd96ec06ba99293ccd, Linux 6394bade9daab8e318c165fe43bba012bf13cd8e, Linux 6053e47bbf212b93c051beb4261d7d5a409d0ce3, Linux 9d72df7f5eac946f853bf49c428c4e87a17d91da, Linux 958baf5eaee394e5fd976979b0791a875f14a179. Upgrade Linux to 958baf5eaee394e5fd976979b0791a875f14a179 or later.
How do I check if I'm affected by CVE-2025-40140?
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.