Junglewise Threat Intelligence

CVE-2026-52916: Linux Kernel batman-adv stack exhaustion via nested fragments

CVE-2026-52916 · Severity: info · CVSS 7.5 · Published 2026-06-24

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's batman-adv mesh networking component could allow a remote attacker to crash the system. By sending specially crafted network packets that contain nested fragments, an attacker can cause the system's memory to overflow, leading to a complete service outage. This affects systems using B.A.T.M.A.N. Advanced routing for wireless mesh networks.

Technical details

A vulnerability exists in the batman-adv kernel module's fragmentation handling logic. The function batadv_frag_skb_buffer() is triggered upon receipt of BATADV_UNICAST_FRAG packets; once reassembled, the payload is passed back to batadv_batman_skb_recv() for processing. A remote attacker can craft 'matryoshka-style' nested fragments where the reassembled payload is itself another fragment. This causes infinite recursion in the kernel stack, leading to a stack overflow and kernel panic (Denial of Service). The fix introduces a check to discard any packets that remain in a fragmented state after the initial defragmentation process.

Affected products

  • Linux Linux Kernel 3.12 to 6.9.x

Timeline

  • 2026-05-13: other: Patch authored
  • 2026-06-01: patched: Patch committed to stable tree
  • 2026-06-24: disclosed: CVE published

References

Related threats