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.
Published: 2026-06-24
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Batman‑adv, a MAC‑level virtual network overlay in the Linux kernel, has a flaw in its fragmentation logic that allows an attacker to embed a BATADV_UNICAST_FRAG packet inside the reassembled payload of another BATADV_UNICAST_FRAG packet. This matryoshka‑style nesting causes the kernel to recursively process the packet over and over until the kernel stack is exhausted, leading to a crash or reboot of the host and disruption of all network services.

Affected Systems

All Linux kernels that include the batman‑adv overlay module may be affected. No specific kernel versions were listed in the advisory; thus any kernel prior to the commit that removed this unbounded recursion can be vulnerable.

Risk and Exploitability

The defect requires an attacker to send crafted BATADV packets over the network, so a remote attacker with connectivity to the target host can trigger it. While no CVSS or EPSS score is available, the potential for a stack‑overflow denial of service makes the vulnerability high impact. It is not listed in the CISA KEV catalog, but should be addressed promptly to prevent service disruption.

Generated by OpenCVE AI on June 24, 2026 at 13:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update to a Linux kernel version containing the batman‑adv fragmentation fix
  • If a kernel upgrade is not possible, disable the batman‑adv module or remove the overlay network configuration
  • Apply firewall or ACL rules to block or rate‑limit incoming BATADV_UNICAST_FRAG packets

Generated by OpenCVE AI on June 24, 2026 at 13:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 24 Jun 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400
CWE-674

Wed, 24 Jun 2026 07:45:00 +0000

Type Values Removed Values 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.
Title batman-adv: frag: disallow unicast fragment in fragment
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-24T07:14:13.221Z

Reserved: 2026-06-09T07:44:35.367Z

Link: CVE-2026-52916

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T13:15:15Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-674

    Uncontrolled Recursion