CVE-2026-52931
batman-adv: tp_meter: avoid use of uninit sender vars
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.
INFO
Published Date :
June 24, 2026, 8:16 a.m.
Last Modified :
July 8, 2026, 3:28 p.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Check tp_vars->role after lookup.
- Bail out if role is not BATADV_TP_SENDER.
- Apply the Linux kernel patch.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-52931.
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-52931 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-52931
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-52931 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-52931 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 NVD-CWE-noinfo 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/0e388af04b3958b178a1b979527f93eb46ea1fee Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/1a21c055f66e78973712a4a1be2a554f1ee2e4f4 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/53f931e0146ae5bdab4cba302646827d06b3794b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6c65cf23d4c6170fcf5714c32aa64689718cb142 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/85397e48afe6be83ffca5ad3f4792296bfc81d3d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/9884c9c02d3c90e9215db3c5128f59045d20ae91 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/dc2ae5fbd2dadc26735092f140b246841d969a11 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ecdaa3e4d91040206afe21bc8a0d1198a0971ff3 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 28, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/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': '0e388af04b3958b178a1b979527f93eb46ea1fee', 'versionType': 'git'}, {'status': 'affected', 'version': '33a3bb4a3345bb511f9c69c913da95d4693e2a4e', 'lessThan': '1a21c055f66e78973712a4a1be2a554f1ee2e4f4', 'versionType': 'git'}, {'status': 'affected', 'version': '33a3bb4a3345bb511f9c69c913da95d4693e2a4e', 'lessThan': '9884c9c02d3c90e9215db3c5128f59045d20ae91', 'versionType': 'git'}, {'status': 'affected', 'version': '33a3bb4a3345bb511f9c69c913da95d4693e2a4e', 'lessThan': '53f931e0146ae5bdab4cba302646827d06b3794b', 'versionType': 'git'}, {'status': 'affected', 'version': '33a3bb4a3345bb511f9c69c913da95d4693e2a4e', 'lessThan': 'ecdaa3e4d91040206afe21bc8a0d1198a0971ff3', 'versionType': 'git'}, {'status': 'affected', 'version': '33a3bb4a3345bb511f9c69c913da95d4693e2a4e', 'lessThan': 'dc2ae5fbd2dadc26735092f140b246841d969a11', 'versionType': 'git'}, {'status': 'affected', 'version': '33a3bb4a3345bb511f9c69c913da95d4693e2a4e', 'lessThan': '85397e48afe6be83ffca5ad3f4792296bfc81d3d', 'versionType': 'git'}, {'status': 'affected', 'version': '33a3bb4a3345bb511f9c69c913da95d4693e2a4e', 'lessThan': '6c65cf23d4c6170fcf5714c32aa64689718cb142', '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: 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. Added Reference https://git.kernel.org/stable/c/0e388af04b3958b178a1b979527f93eb46ea1fee Added Reference https://git.kernel.org/stable/c/1a21c055f66e78973712a4a1be2a554f1ee2e4f4 Added Reference https://git.kernel.org/stable/c/53f931e0146ae5bdab4cba302646827d06b3794b Added Reference https://git.kernel.org/stable/c/6c65cf23d4c6170fcf5714c32aa64689718cb142 Added Reference https://git.kernel.org/stable/c/85397e48afe6be83ffca5ad3f4792296bfc81d3d Added Reference https://git.kernel.org/stable/c/9884c9c02d3c90e9215db3c5128f59045d20ae91 Added Reference https://git.kernel.org/stable/c/dc2ae5fbd2dadc26735092f140b246841d969a11 Added Reference https://git.kernel.org/stable/c/ecdaa3e4d91040206afe21bc8a0d1198a0971ff3