batman-adv: dat: avoid unaligned fault in IP extraction
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 5c3a0e5535933349a5d6e6bc8b704e0611f21d3f · < 1cfa7d5f70d54cb8c7e82df739430782d1996ee1| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's batman-adv DAT code can fault when extracting IP addresses from ARP packets on hardware without native unaligned-read support. The input does not establish how an attacker could trigger the fault or whether authentication or user interaction is required.
Engineers running Linux kernels with batman-adv DAT on hardware without native unaligned-read support should check their systems; affected versions were not provided.