batman-adv: dat: ensure accessible eth_hdr proto field
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ be1db4f6615b5e6156c807ea8985171c215c2d57 · < 8f76277d02176cd739945bba3379448e2e22e799| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: dat: ensure accessible eth_hdr proto field
When batadv_get_vid() accesses the proto field of the ethernet header, it is not checking if the data itself is accessible. The caller is responsible for it. But in contrast to other call sites, batadv_dat_get_vid() and its caller didn't make sure this is true. This could have caused an out-of-bounds access.
From the CVE record · Linux
In the Linux kernel's batman-adv DAT code, batadv_dat_get_vid() can access the Ethernet header's proto field without ensuring the data is accessible. This could cause an out-of-bounds access; the input does not specify attacker capabilities, authentication requirements, or user interaction.
Operators running Linux kernels with batman-adv should check their exposure; affected versions are not specified.