7.8
HIGH CVSS 3.1
CVE-2026-52919
batman-adv: fix tp_meter counter underflow during shutdown
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]

INFO

Published Date :

June 24, 2026, 8:16 a.m.

Last Modified :

July 8, 2026, 6:02 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-52919 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Fix an atomic counter underflow to prevent indefinite kthread loops and use-after-free vulnerabilities.
  • Apply the kernel patch for batman-adv.
  • Ensure the counter only transitions from 1 to 0 once.
  • Update the batman-adv module to the patched version.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-52919 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-52919 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-52919 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-52919 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jul. 08, 2026

    Action Type Old Value New Value
    Added CWE CWE-191
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.175 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.209 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.92 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.8 up to (excluding) 5.10.258 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.34 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.142
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/01cefc5923889e29dbb5f281c3d457714ceb9c00 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/90ae3eae06b7b8ab9f6250b9497c860915b4c17b Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/94f3b133168d1c49895e7cc6afbcf1cc0b354602 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/abae88fa254f2981d39ac003a7b302528a22af64 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/aeae11c5dad9cd0d50723890bdd866f8e6db2e7d Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/c1bac194733aabd731aafa6a01350c229e187dba Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/c66d20a3ff095e3f000551d208ec2606616db15c Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/e75e2ab463b5b34df6b98f94d740aff327ce9f6b Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 28, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 24, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '33a3bb4a3345bb511f9c69c913da95d4693e2a4e', 'lessThan': 'e75e2ab463b5b34df6b98f94d740aff327ce9f6b', 'versionType': 'git'}, {'status': 'affected', 'version': '33a3bb4a3345bb511f9c69c913da95d4693e2a4e', 'lessThan': 'abae88fa254f2981d39ac003a7b302528a22af64', 'versionType': 'git'}, {'status': 'affected', 'version': '33a3bb4a3345bb511f9c69c913da95d4693e2a4e', 'lessThan': 'c66d20a3ff095e3f000551d208ec2606616db15c', 'versionType': 'git'}, {'status': 'affected', 'version': '33a3bb4a3345bb511f9c69c913da95d4693e2a4e', 'lessThan': 'c1bac194733aabd731aafa6a01350c229e187dba', 'versionType': 'git'}, {'status': 'affected', 'version': '33a3bb4a3345bb511f9c69c913da95d4693e2a4e', 'lessThan': '01cefc5923889e29dbb5f281c3d457714ceb9c00', 'versionType': 'git'}, {'status': 'affected', 'version': '33a3bb4a3345bb511f9c69c913da95d4693e2a4e', 'lessThan': '90ae3eae06b7b8ab9f6250b9497c860915b4c17b', 'versionType': 'git'}, {'status': 'affected', 'version': '33a3bb4a3345bb511f9c69c913da95d4693e2a4e', 'lessThan': 'aeae11c5dad9cd0d50723890bdd866f8e6db2e7d', 'versionType': 'git'}, {'status': 'affected', 'version': '33a3bb4a3345bb511f9c69c913da95d4693e2a4e', 'lessThan': '94f3b133168d1c49895e7cc6afbcf1cc0b354602', 'versionType': 'git'}], 'programFiles': ['net/batman-adv/tp_meter.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.8'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.8', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.258', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.142', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.92', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.34', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.11', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/batman-adv/tp_meter.c'], 'defaultStatus': 'affected'}]
    Added 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]
    Added Reference https://git.kernel.org/stable/c/01cefc5923889e29dbb5f281c3d457714ceb9c00
    Added Reference https://git.kernel.org/stable/c/90ae3eae06b7b8ab9f6250b9497c860915b4c17b
    Added Reference https://git.kernel.org/stable/c/94f3b133168d1c49895e7cc6afbcf1cc0b354602
    Added Reference https://git.kernel.org/stable/c/abae88fa254f2981d39ac003a7b302528a22af64
    Added Reference https://git.kernel.org/stable/c/aeae11c5dad9cd0d50723890bdd866f8e6db2e7d
    Added Reference https://git.kernel.org/stable/c/c1bac194733aabd731aafa6a01350c229e187dba
    Added Reference https://git.kernel.org/stable/c/c66d20a3ff095e3f000551d208ec2606616db15c
    Added Reference https://git.kernel.org/stable/c/e75e2ab463b5b34df6b98f94d740aff327ce9f6b
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.