CVE-2025-40140
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < cce3c0e21cdd15bcba5c35d3af1700186de8f187 | affected |
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1a08a37ac03d07a1608a1592791041cac979fbc3 | affected |
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 54f8ef1a970a8376e5846ed90854decf7c00555d | affected |
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 114e05344763a102a8844efd96ec06ba99293ccd | affected |
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 6394bade9daab8e318c165fe43bba012bf13cd8e | affected |
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 6053e47bbf212b93c051beb4261d7d5a409d0ce3 | affected |
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 9d72df7f5eac946f853bf49c428c4e87a17d91da | affected |
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 958baf5eaee394e5fd976979b0791a875f14a179 | affected |
| Linux | Linux | 2.6.12 | affected |
| Linux | Linux | 0 < 2.6.12 | unaffected |
| Linux | Linux | 5.4.301 <= 5.4.* | unaffected |
| Linux | Linux | 5.10.246 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.195 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.156 <= 6.1.* | unaffected |
| Linux | Linux | 6.6.112 <= 6.6.* | unaffected |
| Linux | Linux | 6.12.53 <= 6.12.* | unaffected |
| Linux | Linux | 6.17.3 <= 6.17.* | unaffected |
| Linux | Linux | 6.18 <= * | unaffected |
Weaknesses
References
- 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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.