# CVE-2026-52916: batman-adv: frag: disallow unicast fragment in fragment

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-24T07:14:13.221Z
- Modified: 2026-07-08T15:12:46.487Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 610bfc6bc99bc83680d190ebc69359a05fc7f605 before 0c208fa3859e3a33a1c38bebc41d021166e94ac8; from 610bfc6bc99bc83680d190ebc69359a05fc7f605 before bcda4814dc6524283c0b958882cb963d75fe411d; from 610bfc6bc99bc83680d190ebc69359a05fc7f605 before aea54d0bbe156d5ab7d00d68f66149ff41f4612a; from 610bfc6bc99bc83680d190ebc69359a05fc7f605 before b54e459cf86943583c1aa2ee3081874e7ab1f5f3; from 610bfc6bc99bc83680d190ebc69359a05fc7f605 before 5418be6c2e117bf8a316582795a8e3ff90f45e5d; from 610bfc6bc99bc83680d190ebc69359a05fc7f605 before 5895ad21c7059a652da83fb817510f7a1e962abf; from 610bfc6bc99bc83680d190ebc69359a05fc7f605 before 7138c35c9ad39a2fca6264af6b87466471f04ffc; from 610bfc6bc99bc83680d190ebc69359a05fc7f605 before bc62216dc8e221e3781afa14430f45208bfa9af9; 3.13 (not affected: before 3.13; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.142 up to 6.6.*; from 6.12.92 up to 6.12.*; from 6.18.34 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 3.13 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.142; from 6.7 before 6.12.92; from 6.13 before 6.18.34; from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/0c208fa3859e3a33a1c38bebc41d021166e94ac8> (patch)
- <https://git.kernel.org/stable/c/bcda4814dc6524283c0b958882cb963d75fe411d> (patch)
- <https://git.kernel.org/stable/c/aea54d0bbe156d5ab7d00d68f66149ff41f4612a> (patch)
- <https://git.kernel.org/stable/c/b54e459cf86943583c1aa2ee3081874e7ab1f5f3> (patch)
- <https://git.kernel.org/stable/c/5418be6c2e117bf8a316582795a8e3ff90f45e5d> (patch)
- <https://git.kernel.org/stable/c/5895ad21c7059a652da83fb817510f7a1e962abf> (patch)
- <https://git.kernel.org/stable/c/7138c35c9ad39a2fca6264af6b87466471f04ffc> (patch)
- <https://git.kernel.org/stable/c/bc62216dc8e221e3781afa14430f45208bfa9af9> (patch)

## Sources

- CVE List: [CVE-2026-52916](https://www.cve.org/CVERecord?id=CVE-2026-52916), CVE Terms of Use, modified 2026-06-24
- NVD: [CVE-2026-52916](https://nvd.nist.gov/vuln/detail/CVE-2026-52916), Public domain, modified 2026-07-08

---

Page: https://cve.day/CVE-2026-52916 · Whole record: https://cve.day/CVE-2026-52916.json · Rebuilt by cve.day 2026-11-25T22:59:25.579Z
