CVE-2024-40929

wifi: iwlwifi: mvm: check n_ssids before accessing the ssids

HIGH
7.1
CVSS Score
Published: July 12, 2024 at 12:25 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.17 ≤ v < 5.10.2214.17 ≤ v < 5.15.1624.17 ≤ v < 6.1.954.17 ≤ v < 6.104.17 ≤ v < 6.6.354.17 ≤ v < 6.9.65.11 ≤ v < 5.15.1625.16 ≤ v < 6.1.956.2 ≤ v < 6.6.356.7 ≤ v < 6.9.66.10 rc16.10 rc2c1a7515393e403758a684fd0a2372af466675b15
Vendor states this is fixed in 29a18d56bd64b95bd10bda4afda512558471382a (fixed)
Vendor states this is fixed in 3c4771091ea8016c8601399078916f722dd8833b (fixed)
Vendor states this is fixed in 60d62757df30b74bf397a2847a6db7385c6ee281 (fixed)
Vendor states this is fixed in 62e007bdeb91c6879a4652c3426aef1cd9d2937b (fixed)
Vendor states this is fixed in 9e719ae3abad60e245ce248ba3f08148f375a614 (fixed)
Vendor states this is fixed in f777792952d03bbaf8329fdfa99393a5a33e2640 (fixed)
Vendor states this is fixed in 4.17 (unaffected)
Vendor states this is fixed in 5.10.221 (unaffected)
Vendor states this is fixed in 5.15.162 (unaffected)
Vendor states this is fixed in 6.1.95 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.35 (unaffected)
Vendor states this is fixed in 6.9.6 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/29a18d56bd64b95bd10bda4afda512558471382a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3c4771091ea8016c8601399078916f722dd8833b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/60d62757df30b74bf397a2847a6db7385c6ee281
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/62e007bdeb91c6879a4652c3426aef1cd9d2937b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9e719ae3abad60e245ce248ba3f08148f375a614
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f777792952d03bbaf8329fdfa99393a5a33e2640
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.1HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card