CVE-2021-47252
batman-adv: Avoid WARN_ON timing related checks
Check your servers for CVE-2021-47252
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-2021-47252 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:
batman-adv: Avoid WARN_ON timing related checks
The soft/batadv interface for a queued OGM can be changed during the time the OGM was queued for transmission and when the OGM is actually transmitted by the worker.
But WARN_ON must be used to denote kernel bugs and not to print simple warnings. A warning can simply be printed using pr_warn.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 12 Jun 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 ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, before 45011f2973f6b52cf50db397bb27bf805f5f0e7f affected from ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, before 6031daaaf6d5c359c99dfffa102e332df234ff09 affected from ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, before 77a99aad5bc3ea105806ebae6be3cbadc2fc615e affected from ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, before e8e9d2968a9d08bf5c683afca182f1537edebf8d affected from ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, before e7fbd8184fa9e85f0d648c499841cb7ff6dec9f4 affected from ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, before 282baa8104af44e04c4af3e7f933b44267c7f86f affected from ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, before 2eb4e0b3631832a4291c8bf4c9db873f60b128c8 affected from ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, before 9f460ae31c4435fd022c443a6029352217a16ac1
Other versions: unaffected
|
| Linux |
affected 3.14 unaffected before 3.14 unaffected from 4.4.293 up to and including 4.4.* unaffected from 4.9.274 up to and including 4.9.* unaffected from 4.14.238 up to and including 4.14.* unaffected from 4.19.196 up to and including 4.19.* unaffected from 5.4.128 up to and including 5.4.* unaffected from 5.10.46 up to and including 5.10.* unaffected from 5.12.13 up to and including 5.12.* unaffected 5.13 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-2021-47252 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47252
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-2021-47252
trivy image --scanners vuln IMAGE | grep CVE-2021-47252
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/45011f2973f6b52cf50db397bb27bf805f5f0e7f git.kernel.org
- https://git.kernel.org/stable/c/6031daaaf6d5c359c99dfffa102e332df234ff09 git.kernel.org
- https://git.kernel.org/stable/c/77a99aad5bc3ea105806ebae6be3cbadc2fc615e git.kernel.org
- https://git.kernel.org/stable/c/e8e9d2968a9d08bf5c683afca182f1537edebf8d git.kernel.org
- https://git.kernel.org/stable/c/e7fbd8184fa9e85f0d648c499841cb7ff6dec9f4 git.kernel.org
- https://git.kernel.org/stable/c/282baa8104af44e04c4af3e7f933b44267c7f86f git.kernel.org
- https://git.kernel.org/stable/c/2eb4e0b3631832a4291c8bf4c9db873f60b128c8 git.kernel.org
- https://git.kernel.org/stable/c/9f460ae31c4435fd022c443a6029352217a16ac1 git.kernel.org
Source: the record CVE-2021-47252 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