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).
https://git.kernel.org/stable/c/de1d695975b03e5cfaa70c17fb9bb9df0a94b258
https://git.kernel.org/stable/c/9863f60feffbcc450e6d239ce590deb7ef8c9c15
https://git.kernel.org/stable/c/5812885153faab55aa30608c514c675aa2cf215e
https://git.kernel.org/stable/c/49504114816f49c0592380deb2ba5d3dcc5de1e7
https://git.kernel.org/stable/c/298618f28bd3d1da677828354b504c12e2f375e4
https://git.kernel.org/stable/c/13fe8b1e3d91c446a23d14c3a04c293fc5f85ecc