CVE-2026-89949: batman-adv: dat: avoid unaligned fault in IP extraction
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: dat: avoid unaligned fault in IP extraction
Independent of the alignment of the ARP packet in the SKB, either the batadv_arp_ip_src or the batadv_arp_ip_dst will have an unaligned access (on HW without native unaligned read support).
Use get_unaligned() to handle this properly on all architectures.
The Linux kernel CVE team has assigned CVE-2026-89949 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.8 with commit 5c3a0e5535933349a5d6e6bc8b704e0611f21d3f and fixed in 5.10.270 with commit b1bbc694ca51adb8dbed3f3235b4fcbdb44e0e20 Issue introduced in 3.8 with commit 5c3a0e5535933349a5d6e6bc8b704e0611f21d3f and fixed in 5.15.221 with commit 15dbfb37f0e1a085d48deeb8f5238e9d28127dde Issue introduced in 3.8 with commit 5c3a0e5535933349a5d6e6bc8b704e0611f21d3f and fixed in 6.1.188 with commit a170d4617e8cca05a1314de61728a262ef272782 Issue introduced in 3.8 with commit 5c3a0e5535933349a5d6e6bc8b704e0611f21d3f and fixed in 6.6.157 with commit c74a4acf41d19f21199dec2d6c813c90d31cd02c Issue introduced in 3.8 with commit 5c3a0e5535933349a5d6e6bc8b704e0611f21d3f and fixed in 6.12.110 with commit 91c99b4e152023c7d458a5dedd52d2b0d7df4ce3 Issue introduced in 3.8 with commit 5c3a0e5535933349a5d6e6bc8b704e0611f21d3f and fixed in 6.18.51 with commit 1cfa7d5f70d54cb8c7e82df739430782d1996ee1 Issue introduced in 3.8 with commit 5c3a0e5535933349a5d6e6bc8b704e0611f21d3f and fixed in 7.2.5 with commit 0c2df865338bbf92aa45b9253e5f9b8ef2d9992f Issue introduced in 3.8 with commit 5c3a0e5535933349a5d6e6bc8b704e0611f21d3f and fixed in 7.3-rc1 with commit 0121afa52cdb88cfb4d5d7bd126a23a9100121d8
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-89949
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/b1bbc694ca51adb8dbed3f3235b4fcbdb44e0e20 https://git.kernel.org/stable/c/15dbfb37f0e1a085d48deeb8f5238e9d28127dde https://git.kernel.org/stable/c/a170d4617e8cca05a1314de61728a262ef272782 https://git.kernel.org/stable/c/c74a4acf41d19f21199dec2d6c813c90d31cd02c https://git.kernel.org/stable/c/91c99b4e152023c7d458a5dedd52d2b0d7df4ce3 https://git.kernel.org/stable/c/1cfa7d5f70d54cb8c7e82df739430782d1996ee1 https://git.kernel.org/stable/c/0c2df865338bbf92aa45b9253e5f9b8ef2d9992f https://git.kernel.org/stable/c/0121afa52cdb88cfb4d5d7bd126a23a9100121d8