CVE-2024-40929: wifi: iwlwifi: mvm: check n_ssids before accessing the ssids
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.
Security readout for executives and security teams
Plain-English summary
A Linux Wi-Fi driver flaw can read outside an intended SSID data boundary during wireless processing. A nearby attacker may be able to cause a kernel crash and limited information exposure. Systems without the affected iwlwifi MVM driver are unlikely to be exposed.
Executive priority
Prioritize remediation for Linux laptops and other wireless systems confirmed to use the affected driver. The potential kernel crash supports expedited patching, but the absence of documented active exploitation does not justify treating every Linux system as an emergency incident.
Technical view
In affected Linux kernels, iwlwifi MVM may access the SSID array without first confirming n_ssids is nonzero. Certain cfg80211 versions can provide a non-null pointer when the count is zero, causing an out-of-bounds access. CVSS 3.1 rates this 7.1, with adjacent-network reachability, low confidentiality impact, and high availability impact.
Likely exposure
Exposure is most likely on affected Linux systems actively using the iwlwifi MVM wireless driver. The supplied version data is ambiguous and distributions may backport fixes, so kernel version alone is insufficient. Systems without applicable Intel wireless hardware or without this driver loaded are unlikely to be affected.
Exploitation context
The supplied record does not list this CVE in KEV and provides no evidence of active exploitation or a public exploit. The adjacent-network vector indicates an attacker would need relevant nearby network access. Treat exploitation status as unconfirmed rather than assuming the vulnerability is being used in attacks.
Researcher notes
The corrective logic checks n_ssids before dereferencing the SSID data. The supplied affected-version entries appear incomplete or structurally ambiguous, while multiple stable-branch commits document backports. Researchers should establish exposure from driver use and source or package fix status, not from a simple upstream version comparison.
Mitigation direction
Apply supported distribution kernel updates incorporating the referenced stable fixes.
Prioritize affected systems operating in untrusted or densely populated wireless environments.
If updates are delayed, disable affected wireless functionality where operationally acceptable.
Consult distribution security guidance to confirm patched package versions and backport status.
Validation and detection
Inventory Linux endpoints using Intel wireless hardware and determine whether iwlwifi MVM is loaded.
Record exact kernel builds and distribution package releases, including backported fixes.
Compare vendor changelogs or kernel source against the referenced stable fix commits.
Confirm updated systems boot the patched kernel and retain normal wireless scanning.
Review kernel logs for iwlwifi faults; their absence does not prove the system is patched.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-40929 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.