CVE-2026-52919

batman-adv: fix tp_meter counter underflow during shutdown

7.8 high EPSS 0.12%

Published 24 Jun 2026 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2026-52919

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-52919 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.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

batman-adv: fix tp_meter counter underflow during shutdown

batadv_tp_sender_shutdown() unconditionally decrements the "sending" atomic counter. If multiple paths (e.g. timeout, user cancel, and normal finish) call this function, the counter can underflow to -1.

Since the sender logic treats any non-zero value as "still sending", a negative value causes the sender kthread to loop indefinitely. This leads to a use-after-free when the interface is removed while the zombie thread is still active.

Fix this by using atomic_xchg() to ensure the counter only transitions from 1 to 0 once.

[sven: added missing change in batadv_tp_send]

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user 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.12%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 1.82% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before e75e2ab463b5b34df6b98f94d740aff327ce9f6b
affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before abae88fa254f2981d39ac003a7b302528a22af64
affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before c66d20a3ff095e3f000551d208ec2606616db15c
affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before c1bac194733aabd731aafa6a01350c229e187dba
affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before 01cefc5923889e29dbb5f281c3d457714ceb9c00
affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before 90ae3eae06b7b8ab9f6250b9497c860915b4c17b
affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before aeae11c5dad9cd0d50723890bdd866f8e6db2e7d
affected from 33a3bb4a3345bb511f9c69c913da95d4693e2a4e, before 94f3b133168d1c49895e7cc6afbcf1cc0b354602
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-52919 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-52919

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-52919
trivy image --scanners vuln IMAGE | grep CVE-2026-52919

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

Source: the record CVE-2026-52919 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.