CVE-2026-52931
batman-adv: tp_meter: avoid use of uninit sender vars
Check your servers for CVE-2026-52931
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-2026-52931 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: tp_meter: avoid use of uninit sender vars
batadv_tp_recv_ack() and batadv_tp_stop() are only valid for tp_vars in the BATADV_TP_SENDER role. When called with a BATADV_TP_RECEIVER role, it proceeds to read sender-only members that were never initialized, leading to undefined behavior.
This can be triggered when a node that is currently acting as a receiver in an ongoing tp_meter session receives a malicious ACK packet.
Guard against this by checking tp_vars->role immediately after the lookup and bailing out if it is not BATADV_TP_SENDER, before any of those members are accessed.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- 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.50%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 44.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-457 Use of Uninitialized Variable
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before 0e388af04b3958b178a1b979527f93eb46ea1fee affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before 1a21c055f66e78973712a4a1be2a554f1ee2e4f4 affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before 9884c9c02d3c90e9215db3c5128f59045d20ae91 affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before 53f931e0146ae5bdab4cba302646827d06b3794b affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before ecdaa3e4d91040206afe21bc8a0d1198a0971ff3 affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before dc2ae5fbd2dadc26735092f140b246841d969a11 affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before 85397e48afe6be83ffca5ad3f4792296bfc81d3d affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before 6c65cf23d4c6170fcf5714c32aa64689718cb142
Other versions: unaffected
|
| Linux |
affected 4.8 unaffected before 4.8 unaffected from 5.10.258 up to and including 5.10.* unaffected from 5.15.209 up to and including 5.15.* unaffected from 6.1.175 up to and including 6.1.* unaffected from 6.6.142 up to and including 6.6.* unaffected from 6.12.92 up to and including 6.12.* unaffected from 6.18.34 up to and including 6.18.* unaffected from 7.0.11 up to and including 7.0.* unaffected 7.1 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-2026-52931 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-52931
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-2026-52931
trivy image --scanners vuln IMAGE | grep CVE-2026-52931
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/0e388af04b3958b178a1b979527f93eb46ea1fee git.kernel.org
- https://git.kernel.org/stable/c/1a21c055f66e78973712a4a1be2a554f1ee2e4f4 git.kernel.org
- https://git.kernel.org/stable/c/9884c9c02d3c90e9215db3c5128f59045d20ae91 git.kernel.org
- https://git.kernel.org/stable/c/53f931e0146ae5bdab4cba302646827d06b3794b git.kernel.org
- https://git.kernel.org/stable/c/ecdaa3e4d91040206afe21bc8a0d1198a0971ff3 git.kernel.org
- https://git.kernel.org/stable/c/dc2ae5fbd2dadc26735092f140b246841d969a11 git.kernel.org
- https://git.kernel.org/stable/c/85397e48afe6be83ffca5ad3f4792296bfc81d3d git.kernel.org
- https://git.kernel.org/stable/c/6c65cf23d4c6170fcf5714c32aa64689718cb142 git.kernel.org
Source: the record CVE-2026-52931 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse