Skip to contentSkip to conversation

CVE-2026-80600: batman-adv: dat: acquire ARP hw source only after skb realloc

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 28

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-80600 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.1 with commit b61ec31c85756bbc898fb892555509afe709459a and fixed in 5.10.261 with commit a82fc217cb7a447313c76ebf9f09b100771b0ddf
	Issue introduced in 5.1 with commit b61ec31c85756bbc898fb892555509afe709459a and fixed in 5.15.212 with commit 86aa79b43e5b561fd3648891165bd7313b541315
	Issue introduced in 5.1 with commit b61ec31c85756bbc898fb892555509afe709459a and fixed in 6.1.178 with commit d755cd001fa2c248e186c1fc3df3d11d97dc843c
	Issue introduced in 5.1 with commit b61ec31c85756bbc898fb892555509afe709459a and fixed in 6.6.145 with commit 3404be97b940a9b1ae1aea5fdbc6cdbbe9cd5146
	Issue introduced in 5.1 with commit b61ec31c85756bbc898fb892555509afe709459a and fixed in 6.12.97 with commit 01678c53a7717a748aee388b6839e7b9761d641c
	Issue introduced in 5.1 with commit b61ec31c85756bbc898fb892555509afe709459a and fixed in 6.18.40 with commit 3b4c70c40f2e135a50cd38fc61c7d23a296a9981
	Issue introduced in 5.1 with commit b61ec31c85756bbc898fb892555509afe709459a and fixed in 7.1.5 with commit 059a70e1d12d6d99310e0599d37b0323557569a8
	Issue introduced in 5.1 with commit b61ec31c85756bbc898fb892555509afe709459a and fixed in 7.2 with commit 48067b2ae4504500a7093d9e1e16b42e70330480

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-80600

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/batman-adv/distributed-arp-table.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/a82fc217cb7a447313c76ebf9f09b100771b0ddf
	https://git.kernel.org/stable/c/86aa79b43e5b561fd3648891165bd7313b541315
	https://git.kernel.org/stable/c/d755cd001fa2c248e186c1fc3df3d11d97dc843c
	https://git.kernel.org/stable/c/3404be97b940a9b1ae1aea5fdbc6cdbbe9cd5146
	https://git.kernel.org/stable/c/01678c53a7717a748aee388b6839e7b9761d641c
	https://git.kernel.org/stable/c/3b4c70c40f2e135a50cd38fc61c7d23a296a9981
	https://git.kernel.org/stable/c/059a70e1d12d6d99310e0599d37b0323557569a8
	https://git.kernel.org/stable/c/48067b2ae4504500a7093d9e1e16b42e70330480