CVE-2026-52916
batman-adv: frag: disallow unicast fragment in fragment
Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: frag: disallow unicast fragment in fragment batadv_frag_skb_buffer() is called by batadv_batman_skb_recv() when a BATADV_UNICAST_FRAG packet is received. Once all fragments are collected and the packet is reassembled, batadv_recv_frag_packet() calls batadv_batman_skb_recv() again to process the defragmented payload. A malicious sender can craft a BATADV_UNICAST_FRAG packet whose reassembled payload is itself a BATADV_UNICAST_FRAG packet (matryoshka-style nesting). Each nesting level recurses through batadv_batman_skb_recv() without bound, growing the kernel stack until it is exhausted. Since refragmentation or fragments in fragments are not actually allowed, discard all packets which are still BATADV_UNICAST_FRAG packets after the defragmentation process.
INFO
Published Date :
June 24, 2026, 8:16 a.m.
Last Modified :
July 8, 2026, 3:12 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 | MEDIUM | [email protected] |
Solution
- Discard packets that are unicast fragments after defragmentation.
- Ensure refragmentation is not allowed.
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-52916.
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-52916 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-52916
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-52916 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-52916 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 CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 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) 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 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.13 up to (excluding) 5.10.258 Added Reference Type kernel.org: https://git.kernel.org/stable/c/0c208fa3859e3a33a1c38bebc41d021166e94ac8 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5418be6c2e117bf8a316582795a8e3ff90f45e5d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5895ad21c7059a652da83fb817510f7a1e962abf Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7138c35c9ad39a2fca6264af6b87466471f04ffc Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/aea54d0bbe156d5ab7d00d68f66149ff41f4612a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b54e459cf86943583c1aa2ee3081874e7ab1f5f3 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/bc62216dc8e221e3781afa14430f45208bfa9af9 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/bcda4814dc6524283c0b958882cb963d75fe411d Types: Patch -
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': '610bfc6bc99bc83680d190ebc69359a05fc7f605', 'lessThan': '0c208fa3859e3a33a1c38bebc41d021166e94ac8', 'versionType': 'git'}, {'status': 'affected', 'version': '610bfc6bc99bc83680d190ebc69359a05fc7f605', 'lessThan': 'bcda4814dc6524283c0b958882cb963d75fe411d', 'versionType': 'git'}, {'status': 'affected', 'version': '610bfc6bc99bc83680d190ebc69359a05fc7f605', 'lessThan': 'aea54d0bbe156d5ab7d00d68f66149ff41f4612a', 'versionType': 'git'}, {'status': 'affected', 'version': '610bfc6bc99bc83680d190ebc69359a05fc7f605', 'lessThan': 'b54e459cf86943583c1aa2ee3081874e7ab1f5f3', 'versionType': 'git'}, {'status': 'affected', 'version': '610bfc6bc99bc83680d190ebc69359a05fc7f605', 'lessThan': '5418be6c2e117bf8a316582795a8e3ff90f45e5d', 'versionType': 'git'}, {'status': 'affected', 'version': '610bfc6bc99bc83680d190ebc69359a05fc7f605', 'lessThan': '5895ad21c7059a652da83fb817510f7a1e962abf', 'versionType': 'git'}, {'status': 'affected', 'version': '610bfc6bc99bc83680d190ebc69359a05fc7f605', 'lessThan': '7138c35c9ad39a2fca6264af6b87466471f04ffc', 'versionType': 'git'}, {'status': 'affected', 'version': '610bfc6bc99bc83680d190ebc69359a05fc7f605', 'lessThan': 'bc62216dc8e221e3781afa14430f45208bfa9af9', 'versionType': 'git'}], 'programFiles': ['net/batman-adv/fragmentation.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.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/fragmentation.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: batman-adv: frag: disallow unicast fragment in fragment batadv_frag_skb_buffer() is called by batadv_batman_skb_recv() when a BATADV_UNICAST_FRAG packet is received. Once all fragments are collected and the packet is reassembled, batadv_recv_frag_packet() calls batadv_batman_skb_recv() again to process the defragmented payload. A malicious sender can craft a BATADV_UNICAST_FRAG packet whose reassembled payload is itself a BATADV_UNICAST_FRAG packet (matryoshka-style nesting). Each nesting level recurses through batadv_batman_skb_recv() without bound, growing the kernel stack until it is exhausted. Since refragmentation or fragments in fragments are not actually allowed, discard all packets which are still BATADV_UNICAST_FRAG packets after the defragmentation process. Added Reference https://git.kernel.org/stable/c/0c208fa3859e3a33a1c38bebc41d021166e94ac8 Added Reference https://git.kernel.org/stable/c/5418be6c2e117bf8a316582795a8e3ff90f45e5d Added Reference https://git.kernel.org/stable/c/5895ad21c7059a652da83fb817510f7a1e962abf Added Reference https://git.kernel.org/stable/c/7138c35c9ad39a2fca6264af6b87466471f04ffc Added Reference https://git.kernel.org/stable/c/aea54d0bbe156d5ab7d00d68f66149ff41f4612a Added Reference https://git.kernel.org/stable/c/b54e459cf86943583c1aa2ee3081874e7ab1f5f3 Added Reference https://git.kernel.org/stable/c/bc62216dc8e221e3781afa14430f45208bfa9af9 Added Reference https://git.kernel.org/stable/c/bcda4814dc6524283c0b958882cb963d75fe411d