Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: batman-adv: dat: atomically update mac addresses When a MAC address is updated in batadv_dat_entry_add(), it is done using a simple copy function. A parallel reader might only see parts of this update. In worst case, the reader is transporting the half updated MAC address over the network or is creating an ARP response using it - poisoning the ARP cache. atomic64_t can be used to store the 48 bit of a mac address. A reader will then either see the old mac address or the new one - never a mixture of both.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 2f1dfbe185075a50dc8f0490a136377af53a1c62 before 181012b3d29c51197c235ee5871fc7512c736855; affected 2f1dfbe185075a50dc8f0490a136377af53a1c62 before 159360a0de831845c4500b4f8638decdcd624040; affected 2f1dfbe185075a50dc8f0490a136377af53a1c62 before 259db2c04586d40b82c5c3002b1e28b0698a0bb7; affected 2f1dfbe185075a50dc8f0490a136377af53a1c62 before 1674855a5b6eacfe35f4db3095d7055c25467274; affected 2f1dfbe185075a50dc8f0490a136377af53a1c62 before 66238e2a74eca5dabf85b0cd2c3c944e474dc2fd; affected 2f1dfbe185075a50dc8f0490a136377af53a1c62 before a5e4d6cb4f6848b8906c1c493f99a8ccc0638515; affected 2f1dfbe185075a50dc8f0490a136377af53a1c62 before f68038c77a2f38c09c7e2e4f7fa1f4e246fdf2c9; affected 2f1dfbe185075a50dc8f0490a136377af53a1c62 before e6de568d3eda3e3c01c868fabd7a9535d5ee4a73 |
| Linux / Linux | affected 3.8; unaffected 0 before 3.8; unaffected 5.10.271 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/181012b3d29c51197c235ee5871fc7512c736855
- https://git.kernel.org/stable/c/159360a0de831845c4500b4f8638decdcd624040
- https://git.kernel.org/stable/c/259db2c04586d40b82c5c3002b1e28b0698a0bb7
- https://git.kernel.org/stable/c/1674855a5b6eacfe35f4db3095d7055c25467274
- https://git.kernel.org/stable/c/66238e2a74eca5dabf85b0cd2c3c944e474dc2fd
- https://git.kernel.org/stable/c/a5e4d6cb4f6848b8906c1c493f99a8ccc0638515
- https://git.kernel.org/stable/c/f68038c77a2f38c09c7e2e4f7fa1f4e246fdf2c9
- https://git.kernel.org/stable/c/e6de568d3eda3e3c01c868fabd7a9535d5ee4a73