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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.221, 5.15.162, 6.1.95, 6.6.35, 6.9.6
- CVEs
- CVE-2024-40929
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 02:09 UTC · Revision 1
Source evidence
wifi: iwlwifi: mvm: check n_ssids before accessing the ssids
core-osv · Original sourcePublished 12 Jul 2024, 12:25 UTC
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.
osv:CVE-2024-40929
Kernel
Fixed versions: 5.10.221, 5.15.162, 6.1.95, 6.6.35, 6.9.6
Complete source record
{
"id": "fb698d4c7ed87710fcec22bfc554e1c96db294bd7e2b48276f5db7d19eaa55eb",
"url": "https://osv.dev/vulnerability/CVE-2024-40929",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "wifi: iwlwifi: mvm: check n_ssids before accessing the ssids",
"summary": "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.",
"evidence": "osv:CVE-2024-40929",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.221",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.162",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.95",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.35",
"evidence": "/affected/1/ranges"
},
{
"value": "6.9.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-40929",
"aliases": [
"CVE-2024-40929"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "c1a7515393e403758a684fd0a2372af466675b15"
},
{
"fixed": "3c4771091ea8016c8601399078916f722dd8833b"
},
{
"fixed": "f777792952d03bbaf8329fdfa99393a5a33e2640"
},
{
"fixed": "9e719ae3abad60e245ce248ba3f08148f375a614"
},
{
"fixed": "29a18d56bd64b95bd10bda4afda512558471382a"
},
{
"fixed": "62e007bdeb91c6879a4652c3426aef1cd9d2937b"
},
{
"fixed": "60d62757df30b74bf397a2847a6db7385c6ee281"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40929.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.17.0"
},
{
"fixed": "5.10.221"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.162"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.95"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.35"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.9.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40929.json"
}
}
],
"modified": "2026-10-28T02:30:48.972604088Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/29a18d56bd64b95bd10bda4afda512558471382a",
"https://git.kernel.org/stable/c/3c4771091ea8016c8601399078916f722dd8833b",
"https://git.kernel.org/stable/c/60d62757df30b74bf397a2847a6db7385c6ee281",
"https://git.kernel.org/stable/c/62e007bdeb91c6879a4652c3426aef1cd9d2937b",
"https://git.kernel.org/stable/c/9e719ae3abad60e245ce248ba3f08148f375a614",
"https://git.kernel.org/stable/c/f777792952d03bbaf8329fdfa99393a5a33e2640",
"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40929.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-40929",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40929.json"
}
},
"related_cves": [
{
"value": "CVE-2024-40929",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517250,
"published_at": "2024-07-12T12:25:08.434+00:00"
}