# CVE-2024-40929: wifi: iwlwifi: mvm: check n_ssids before accessing the ssids

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-02)
- Published: 2024-07-12T12:25:08.434Z
- Modified: 2026-08-05T11:34:05.245Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from c1a7515393e403758a684fd0a2372af466675b15 before 3c4771091ea8016c8601399078916f722dd8833b; from c1a7515393e403758a684fd0a2372af466675b15 before f777792952d03bbaf8329fdfa99393a5a33e2640; from c1a7515393e403758a684fd0a2372af466675b15 before 9e719ae3abad60e245ce248ba3f08148f375a614; from c1a7515393e403758a684fd0a2372af466675b15 before 29a18d56bd64b95bd10bda4afda512558471382a; from c1a7515393e403758a684fd0a2372af466675b15 before 62e007bdeb91c6879a4652c3426aef1cd9d2937b; from c1a7515393e403758a684fd0a2372af466675b15 before 60d62757df30b74bf397a2847a6db7385c6ee281; 4.17 (not affected: before 4.17; from 5.10.221 up to 5.10.*; from 5.15.162 up to 5.15.*; from 6.1.95 up to 6.1.*; from 6.6.35 up to 6.6.*; from 6.9.6 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 4.17 before 5.10.221; from 5.11 before 5.15.162; from 5.16 before 6.1.95; from 6.2 before 6.6.35; from 6.7 before 6.9.6; 6.10

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3c4771091ea8016c8601399078916f722dd8833b> (patch)
- <https://git.kernel.org/stable/c/f777792952d03bbaf8329fdfa99393a5a33e2640> (patch)
- <https://git.kernel.org/stable/c/9e719ae3abad60e245ce248ba3f08148f375a614> (patch)
- <https://git.kernel.org/stable/c/29a18d56bd64b95bd10bda4afda512558471382a> (patch)
- <https://git.kernel.org/stable/c/62e007bdeb91c6879a4652c3426aef1cd9d2937b> (patch)
- <https://git.kernel.org/stable/c/60d62757df30b74bf397a2847a6db7385c6ee281> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-40929](https://www.cve.org/CVERecord?id=CVE-2024-40929), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-40929](https://nvd.nist.gov/vuln/detail/CVE-2024-40929), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-40929 · Whole record: https://cve.day/CVE-2024-40929.json · Rebuilt by cve.day 2026-11-25T22:58:42.845Z
