KernelScan.io

CRITICAL Introduced in 5.1

batman-adv DatSnoop UAF

CVE-2026-80600

CVSS 9.8 / 10.0 NVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

KernelScan AI8.7HIGH

01

In the Linux kernel, the following vulnerability has been resolved: batman-adv: dat: acquire ARP hw source only after skb realloc The pskb_may_pull() called by batadv_get_vid() could reallocate the buffer behind the skb. Variables which were pointing to the old buffer need to be reassigned to avoid an use-after-free.

02

Engine v0.6.0

Risk summary

A use-after-free in the batman-adv distributed ARP table DHCPACK snooping path can be triggered by a crafted packet on a mesh network. An attacker on the same mesh segment could potentially exploit this for code execution or denial of service.

Affectednet/batman-adv/distributed-arp-table.c (batman-adv distributed ARP table)

Vulnerability analysis

When batman-adv processes an incoming DHCPACK packet, it extracts a pointer to the Ethernet header before calling a function that may reallocate the socket buffer. If reallocation occurs, the previously cached pointer becomes stale, leading to a use-after-free when the old header data is subsequently read. The fix reorders the code to re-fetch the Ethernet header pointer after the potential reallocation completes. This vulnerability is reachable from the mesh network by any participant that can send a crafted DHCPACK frame to a node running batman-adv with the distributed ARP table feature enabled.

03

BranchIntroducedFixed inPatch commit
5.105.15.10.261a82fc217cb7a
6.15.16.1.178d755cd001fa2
6.125.16.12.9701678c53a771
7.15.17.1.5059a70e1d12d
mainline5.17.248067b2ae450
6.65.16.6.1453404be97b940
6.185.16.18.403b4c70c40f2e
5.155.15.15.21286aa79b43e5b
cip/5.105.15.10.263-cip76a82fc217cb7a
cip/5.10-rt5.15.10.268-cip77-rt34a82fc217cb7a
cip/6.15.16.1.182-cip59d755cd001fa2
cip/6.1-rt5.16.1.182-cip59-rt31d755cd001fa2
cip/6.125.16.12.101-cip2901678c53a771