Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-52914

CVE-2026-52914: Linux Kernel batman-adv DoS Vulnerability

CVE-2026-52914 is a denial of service vulnerability in the Linux kernel batman-adv module caused by fragment reassembly length accounting flaws. This article covers the technical details, affected systems, and mitigation.

Published:

CVE-2026-52914 Overview

CVE-2026-52914 is a Linux kernel vulnerability in the batman-adv (Better Approach To Mobile Ad-hoc Networking) mesh routing module. The flaw resides in the fragment reassembly path, where the running payload length used to validate a fragment chain can be truncated during updates. Malformed fragment chains bypass length validation and drive reassembly with inconsistent state, leading to a local denial of service condition. The upstream fix stores the accumulated length in a length-typed field and rejects update overflows before validation runs.

Critical Impact

An attacker with the ability to inject crafted batman-adv fragments on a mesh-connected interface can trigger inconsistent reassembly state in the kernel and cause a local denial of service.

Affected Products

  • Linux kernel versions containing the batman-adv module prior to the fix commits
  • Linux distributions shipping affected stable kernel branches
  • Mesh networking deployments using B.A.T.M.A.N. advanced layer 2 routing

Discovery Timeline

  • 2026-06-24 - CVE-2026-52914 published to NVD
  • 2026-06-24 - Last updated in NVD database

Technical Details for CVE-2026-52914

Vulnerability Analysis

The batman-adv subsystem queues incoming packet fragments and maintains a running payload length for each fragment chain. The kernel uses this accumulated length to validate the chain before performing reassembly into a complete packet. The accounting logic permits the stored length value to be truncated during updates because the field width and arithmetic do not reject overflowing additions. An attacker who can deliver malformed fragment sequences over a mesh interface produces a length value that no longer reflects the true accumulated payload. Validation checks based on that truncated length then pass, and the reassembly routine proceeds with inconsistent state.

The net effect is a local denial of service. The kernel does not reach a state suitable for arbitrary memory corruption based on the published description, but reassembly with inconsistent length state is sufficient to disrupt networking and kernel stability on the affected host.

Root Cause

The defect is an input validation and numeric accounting error in the fragment queue update logic. The accumulated length field was not stored in a length-typed variable, and updates were not checked for overflow prior to the validation step. Crafted fragments with manipulated length headers therefore corrupt the running total without being rejected.

Attack Vector

Exploitation requires the attacker to send specially crafted batman-adv fragments to a host running the vulnerable module on an interface participating in the mesh. The attack is local to the mesh network segment because batman-adv operates at layer 2. No authentication is enforced at the batman-adv protocol layer, so any node able to transmit frames on the mesh can attempt the trigger. See the Linux Kernel Commit f653b04 and related stable backports for the corrected code path.

No verified public exploit code is available for CVE-2026-52914.
The vulnerability is described in upstream kernel commits. See
the references section for the patches that change the length
accounting type and add overflow rejection prior to validation.

Detection Methods for CVE-2026-52914

Indicators of Compromise

  • Kernel log entries from the batman-adv module referencing dropped or malformed fragments at elevated rates
  • Sudden loss of mesh connectivity or kernel soft lockups on hosts running batman-adv
  • Unexpected reboots or networking stack stalls correlated with mesh traffic spikes

Detection Strategies

  • Inventory all Linux hosts that load the batman-adv kernel module and compare kernel versions against the fixed stable releases referenced in the upstream commits
  • Monitor dmesg and journalctl -k for repeated batman-adv fragment errors that may indicate probe traffic
  • Correlate host availability and network interface flaps on mesh nodes with batman-adv fragment counters exposed under /sys/kernel/debug/batman_adv/

Monitoring Recommendations

  • Forward kernel logs from mesh-connected hosts to a centralized log platform for anomaly detection
  • Track per-interface fragment reassembly statistics over time and alert on sustained deviations
  • Watch for kernel oops or panic events on systems with batman-adv loaded and route them to incident response

How to Mitigate CVE-2026-52914

Immediate Actions Required

Patch Information

The upstream Linux kernel project resolved the issue across multiple stable branches. Refer to Linux Kernel Commit 37be618, Linux Kernel Commit 3eb8bcb, Linux Kernel Commit 9cd3f16, Linux Kernel Commit e4f3f6b, and Linux Kernel Commit e910dbf. Distribution-supplied kernel updates that include these commits remediate the flaw.

Workarounds

  • Unload the batman-adv module on hosts where mesh routing is not required using modprobe -r batman_adv
  • Blacklist batman-adv in /etc/modprobe.d/ on systems that do not need B.A.T.M.A.N. functionality
  • Limit mesh membership to trusted nodes and isolate untrusted radios from production networks until patches are applied
bash
# Configuration example: blacklist the batman-adv module
echo "blacklist batman_adv" | sudo tee /etc/modprobe.d/blacklist-batman-adv.conf
sudo modprobe -r batman_adv
uname -r   # verify running kernel includes the fix commits

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.