CVE-2024-40920
net: bridge: mst: fix suspicious rcu usage in br_mst_set_state
Check your servers for CVE-2024-40920
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-2024-40920 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: bridge: mst: fix suspicious rcu usage in br_mst_set_state
I converted br_mst_set_state to RCU to avoid a vlan use-after-free but forgot to change the vlan group dereference helper. Switch to vlan group RCU deref helper to fix the suspicious rcu usage warning.
Severity (CVSS)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/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 low, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.41%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 37.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8ca9a750fc711911ef616ceb627d07357b04545e, before caaa2129784a04dcade0ea92c12e6ff90bbd23d8 affected from 4488617e5e995a09abe4d81add5fb165674edb59, before 7caefa2771722e65496d85b62e1dc4442b7d1345 affected from e43dd2b1ec746e105b7db5f9ad6ef14685a615a4, before 406bfc04b01ee47e4c626f77ecc7d9f85135b166 affected from 3a7c1661ae1383364cd6092d851f5e5da64d476b, before 546ceb1dfdac866648ec959cbc71d9525bd73462 affected a2b01e65d9ba8af2bb086d3b7288ca53a07249ac affected from 6.8.12, before 6.9
Other versions: unaffected
|
| Linux |
affected from 6.1.93, before 6.1.95 affected from 6.6.33, before 6.6.35 affected from 6.9.3, before 6.9.6
Other versions: unaffected
|
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-2024-40920 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-40920
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-2024-40920
trivy image --scanners vuln IMAGE | grep CVE-2024-40920
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/caaa2129784a04dcade0ea92c12e6ff90bbd23d8 git.kernel.org
- https://git.kernel.org/stable/c/7caefa2771722e65496d85b62e1dc4442b7d1345 git.kernel.org
- https://git.kernel.org/stable/c/406bfc04b01ee47e4c626f77ecc7d9f85135b166 git.kernel.org
- https://git.kernel.org/stable/c/546ceb1dfdac866648ec959cbc71d9525bd73462 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-40920 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse