In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: mvm: check n_ssids before accessing the ssids In some versions of cfg80211, the ssids poinet might be a valid one even though n_ssids is 0. Accessing the pointer in this case will cuase an out-of-bound access. Fix this by checking n_ssids first.
git.kernel.org/linus/60d62757df30b74bf397a2847a6db7385c6ee281
git.kernel.org/stable/c/29a18d56bd64b95bd10bda4afda512558471382a
git.kernel.org/stable/c/3c4771091ea8016c8601399078916f722dd8833b
git.kernel.org/stable/c/60d62757df30b74bf397a2847a6db7385c6ee281
git.kernel.org/stable/c/62e007bdeb91c6879a4652c3426aef1cd9d2937b
git.kernel.org/stable/c/9e719ae3abad60e245ce248ba3f08148f375a614
git.kernel.org/stable/c/f777792952d03bbaf8329fdfa99393a5a33e2640
ubuntu.com/security/CVE-2024-40929
www.cve.org/CVERecord?id=CVE-2024-40929