Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
2f1dfbe185075a50dc8f0490a136377af53a1c62 to < 181012b3d29c51197c235ee5871fc7512c736855affected2f1dfbe185075a50dc8f0490a136377af53a1c62 to < 159360a0de831845c4500b4f8638decdcd624040affected2f1dfbe185075a50dc8f0490a136377af53a1c62 to < 259db2c04586d40b82c5c3002b1e28b0698a0bb7affected2f1dfbe185075a50dc8f0490a136377af53a1c62 to < 1674855a5b6eacfe35f4db3095d7055c25467274affected2f1dfbe185075a50dc8f0490a136377af53a1c62 to < 66238e2a74eca5dabf85b0cd2c3c944e474dc2fdaffected2f1dfbe185075a50dc8f0490a136377af53a1c62 to < a5e4d6cb4f6848b8906c1c493f99a8ccc0638515affected2f1dfbe185075a50dc8f0490a136377af53a1c62 to < f68038c77a2f38c09c7e2e4f7fa1f4e246fdf2c9affected2f1dfbe185075a50dc8f0490a136377af53a1c62 to < e6de568d3eda3e3c01c868fabd7a9535d5ee4a73affected
Linux Linux
Default version status: affected
3.8affected0 to < 3.8unaffected5.10.271 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
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 ↗