CVE-2025-40140
Last modified
CVE-2025-40140 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cce3c0e21cdd15bcba5c35d3af1700186de8f187; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1a08a37ac03d07a1608a1592791041cac979fbc3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 54f8ef1a970a8376e5846ed90854decf7c00555d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 114e05344763a102a8844efd96ec06ba99293ccd; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6394bade9daab8e318c165fe43bba012bf13cd8e; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6053e47bbf212b93c051beb4261d7d5a409d0ce3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9d72df7f5eac946f853bf49c428c4e87a17d91da; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 958baf5eaee394e5fd976979b0791a875f14a179 |
| Linux | Linux | 2.6.12 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-40140?
How severe is CVE-2025-40140?
How do I fix CVE-2025-40140?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-40135In the Linux kernel, the following vulnerability has been re…8.1
- CVE-2025-40136In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40137In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40138In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40139In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-4014A vulnerability was found in PHPGurukul Art Gallery Manageme…9.8
- CVE-2025-40141In the Linux kernel, the following vulnerability has been re…8
- CVE-2025-40142In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40143In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40144Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-40145In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40146In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2025-40140?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
