CVEvulnerability
CVE-2026-52916
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-06-24
- Last modified
- 2026-07-08
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.
Affected configurations
• linux linux kernel (>= 3.13 < 5.10.258)
• linux linux kernel (>= 5.11 < 5.15.209)
• linux linux kernel (>= 5.16 < 6.1.175)
• linux linux kernel (>= 6.2 < 6.6.142)
• linux linux kernel (>= 6.7 < 6.12.92)
• linux linux kernel (>= 6.13 < 6.18.34)
• linux linux kernel (>= 6.19 < 7.0.11)
• linux linux kernel 7.1
References
- https://git.kernel.org/stable/c/0c208fa3859e3a33a1c38bebc41d021166e94ac8 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/aea54d0bbe156d5ab7d00d68f66149ff41f4612a Patch
- https://git.kernel.org/stable/c/b54e459cf86943583c1aa2ee3081874e7ab1f5f3 Patch
- https://git.kernel.org/stable/c/bc62216dc8e221e3781afa14430f45208bfa9af9 Patch
- https://git.kernel.org/stable/c/bcda4814dc6524283c0b958882cb963d75fe411d Patch