CVE-2025-40140
net: usb: Remove disruptive netif_wake_queue in rtl8150_set_multicast
Check your servers for CVE-2025-40140
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-40140 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.32%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 27.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before cce3c0e21cdd15bcba5c35d3af1700186de8f187 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 1a08a37ac03d07a1608a1592791041cac979fbc3 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 54f8ef1a970a8376e5846ed90854decf7c00555d affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 114e05344763a102a8844efd96ec06ba99293ccd affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 6394bade9daab8e318c165fe43bba012bf13cd8e affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 6053e47bbf212b93c051beb4261d7d5a409d0ce3 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 9d72df7f5eac946f853bf49c428c4e87a17d91da affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 958baf5eaee394e5fd976979b0791a875f14a179
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 5.4.301 up to and including 5.4.* unaffected from 5.10.246 up to and including 5.10.* unaffected from 5.15.195 up to and including 5.15.* unaffected from 6.1.156 up to and including 6.1.* unaffected from 6.6.112 up to and including 6.6.* unaffected from 6.12.53 up to and including 6.12.* unaffected from 6.17.3 up to and including 6.17.* unaffected 6.18 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-40140 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40140
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-40140
trivy image --scanners vuln IMAGE | grep CVE-2025-40140
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/cce3c0e21cdd15bcba5c35d3af1700186de8f187 git.kernel.org
- https://git.kernel.org/stable/c/1a08a37ac03d07a1608a1592791041cac979fbc3 git.kernel.org
- https://git.kernel.org/stable/c/54f8ef1a970a8376e5846ed90854decf7c00555d git.kernel.org
- https://git.kernel.org/stable/c/114e05344763a102a8844efd96ec06ba99293ccd git.kernel.org
- https://git.kernel.org/stable/c/6394bade9daab8e318c165fe43bba012bf13cd8e git.kernel.org
- https://git.kernel.org/stable/c/6053e47bbf212b93c051beb4261d7d5a409d0ce3 git.kernel.org
- https://git.kernel.org/stable/c/9d72df7f5eac946f853bf49c428c4e87a17d91da git.kernel.org
- https://git.kernel.org/stable/c/958baf5eaee394e5fd976979b0791a875f14a179 git.kernel.org
Source: the record CVE-2025-40140 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse