Description
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: reg: protect regdb pointer with RCU reg_query_regdb_wmm() is only used by iwlwifi, but even when it was introduced was already broken, as it reads the global db without any locking (drivers can't really guarantee any). Certainly iwlwifi doesn't since it calls it for FW messages. Therefore, it can race against regdb updates. The function uses a local pointer, but doesn't help. Use RCU to protect the regdb pointer to fix that, and update the documentation to mention this (and do some cleanups).
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
19d3577e35e0cbb42694811b096e749a0f89a824 to < 13fe8b1e3d91c446a23d14c3a04c293fc5f85eccaffected19d3577e35e0cbb42694811b096e749a0f89a824 to < 49504114816f49c0592380deb2ba5d3dcc5de1e7affected19d3577e35e0cbb42694811b096e749a0f89a824 to < 5812885153faab55aa30608c514c675aa2cf215eaffected19d3577e35e0cbb42694811b096e749a0f89a824 to < de1d695975b03e5cfaa70c17fb9bb9df0a94b258affected19d3577e35e0cbb42694811b096e749a0f89a824 to < 9863f60feffbcc450e6d239ce590deb7ef8c9c15affected19d3577e35e0cbb42694811b096e749a0f89a824 to < 298618f28bd3d1da677828354b504c12e2f375e4affected
Linux Linux
Default version status: affected
4.17affected0 to < 4.17unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/13fe8b1e3d91c446a23d14c3a04c293fc5f85ecc ↗
- https://git.kernel.org/stable/c/49504114816f49c0592380deb2ba5d3dcc5de1e7 ↗
- https://git.kernel.org/stable/c/5812885153faab55aa30608c514c675aa2cf215e ↗
- https://git.kernel.org/stable/c/de1d695975b03e5cfaa70c17fb9bb9df0a94b258 ↗
- https://git.kernel.org/stable/c/9863f60feffbcc450e6d239ce590deb7ef8c9c15 ↗
- https://git.kernel.org/stable/c/298618f28bd3d1da677828354b504c12e2f375e4 ↗