CVE-2026-52934
batman-adv: tvlv: reject oversized TVLV packets
Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: tvlv: reject oversized TVLV packets batadv_tvlv_container_ogm_append() builds a TVLV packet section from the tvlv.container_list. The total size of this section is computed by batadv_tvlv_container_list_size(), which sums the sizes of all registered containers. The return type and accumulator in batadv_tvlv_container_list_size() were u16. If the accumulated size exceeds U16_MAX, the value wraps around, causing the subsequent allocation in batadv_tvlv_container_ogm_append() to be undersized. The memcpy-style copy that follows would then write beyond the end of the allocated buffer, corrupting kernel memory. Fix this by widening the return type of batadv_tvlv_container_list_size() to size_t. In batadv_tvlv_container_ogm_append(), check the computed length against U16_MAX before proceeding, and bail out as if the allocation had failed when the limit is exceeded.
INFO
Published Date :
June 24, 2026, 8:16 a.m.
Last Modified :
July 8, 2026, 5:48 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the patched version.
- Apply vendor-provided security patches for the kernel.
- Verify the integrity of kernel modules and configurations.
- Reboot the system after applying updates.
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-52934.
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-52934 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-52934
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-52934 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-52934 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) 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) 5.16 up to (excluding) 6.1.176 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.143 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.93 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.210 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.13 up to (excluding) 5.10.259 Added Reference Type kernel.org: https://git.kernel.org/stable/c/13493b00dd1e05a705981e052158652ea23eb482 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/1595628a2f877d052eda18865ccf539392c47c04 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6448a49344e87487b61bd88cb850cd694a0f576d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/94a3d72cd9b21116d7c6d5bdc57c11401fc28557 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/94db72e9dac202e017ee3db22c59d17e4f3bf171 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c02aa6c0c9d1bea9bb75dea362b75ad225137bae Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ede47988ac5687793745b17c1634a496a2299919 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f50487e3566358b2b982b7801945e858c78ad9ab Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 28, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:A/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': 'ef26157747d42254453f6b3ac2bd8bd3c53339c3', 'lessThan': 'c02aa6c0c9d1bea9bb75dea362b75ad225137bae', 'versionType': 'git'}, {'status': 'affected', 'version': 'ef26157747d42254453f6b3ac2bd8bd3c53339c3', 'lessThan': '1595628a2f877d052eda18865ccf539392c47c04', 'versionType': 'git'}, {'status': 'affected', 'version': 'ef26157747d42254453f6b3ac2bd8bd3c53339c3', 'lessThan': '6448a49344e87487b61bd88cb850cd694a0f576d', 'versionType': 'git'}, {'status': 'affected', 'version': 'ef26157747d42254453f6b3ac2bd8bd3c53339c3', 'lessThan': '13493b00dd1e05a705981e052158652ea23eb482', 'versionType': 'git'}, {'status': 'affected', 'version': 'ef26157747d42254453f6b3ac2bd8bd3c53339c3', 'lessThan': '94db72e9dac202e017ee3db22c59d17e4f3bf171', 'versionType': 'git'}, {'status': 'affected', 'version': 'ef26157747d42254453f6b3ac2bd8bd3c53339c3', 'lessThan': 'ede47988ac5687793745b17c1634a496a2299919', 'versionType': 'git'}, {'status': 'affected', 'version': 'ef26157747d42254453f6b3ac2bd8bd3c53339c3', 'lessThan': '94a3d72cd9b21116d7c6d5bdc57c11401fc28557', 'versionType': 'git'}, {'status': 'affected', 'version': 'ef26157747d42254453f6b3ac2bd8bd3c53339c3', 'lessThan': 'f50487e3566358b2b982b7801945e858c78ad9ab', 'versionType': 'git'}], 'programFiles': ['net/batman-adv/tvlv.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.13'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.13', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.259', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.210', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.176', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.143', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.93', '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/tvlv.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: batman-adv: tvlv: reject oversized TVLV packets batadv_tvlv_container_ogm_append() builds a TVLV packet section from the tvlv.container_list. The total size of this section is computed by batadv_tvlv_container_list_size(), which sums the sizes of all registered containers. The return type and accumulator in batadv_tvlv_container_list_size() were u16. If the accumulated size exceeds U16_MAX, the value wraps around, causing the subsequent allocation in batadv_tvlv_container_ogm_append() to be undersized. The memcpy-style copy that follows would then write beyond the end of the allocated buffer, corrupting kernel memory. Fix this by widening the return type of batadv_tvlv_container_list_size() to size_t. In batadv_tvlv_container_ogm_append(), check the computed length against U16_MAX before proceeding, and bail out as if the allocation had failed when the limit is exceeded. Added Reference https://git.kernel.org/stable/c/13493b00dd1e05a705981e052158652ea23eb482 Added Reference https://git.kernel.org/stable/c/1595628a2f877d052eda18865ccf539392c47c04 Added Reference https://git.kernel.org/stable/c/6448a49344e87487b61bd88cb850cd694a0f576d Added Reference https://git.kernel.org/stable/c/94a3d72cd9b21116d7c6d5bdc57c11401fc28557 Added Reference https://git.kernel.org/stable/c/94db72e9dac202e017ee3db22c59d17e4f3bf171 Added Reference https://git.kernel.org/stable/c/c02aa6c0c9d1bea9bb75dea362b75ad225137bae Added Reference https://git.kernel.org/stable/c/ede47988ac5687793745b17c1634a496a2299919 Added Reference https://git.kernel.org/stable/c/f50487e3566358b2b982b7801945e858c78ad9ab