{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2024-40929", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-07-12T12:17:45.583Z", "datePublished": "2024-07-12T12:25:08.434Z", "dateUpdated": "2026-08-05T11:34:05.245Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T11:34:05.245Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: iwlwifi: mvm: check n_ssids before accessing the ssids\n\nIn some versions of cfg80211, the ssids poinet might be a valid one even\nthough n_ssids is 0. Accessing the pointer in this case will cuase an\nout-of-bound access. Fix this by checking n_ssids first." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H", "baseScore": 7.1, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:A - The vulnerable branch is only reached through cfg80211's split 6 GHz scan, whose request layout and channel count are built from co-located-AP (RNR) information carried in beacons/probe responses received over the air, so an attacker within WiFi radio range shapes the allocation that is read out of bounds. Per WiFi-frame guidance this is Adjacent rather than Local.\nAC:L - The attacker can beacon crafted RNR elements continuously and vary the advertised co-located-AP count to sweep allocation layouts, while 6 GHz-capable iwlwifi clients perform passive scans routinely, so the condition can be retried until it hits.\nPR:N - An adjacent attacker needs no account or credentials on the target; the passive 6 GHz scan that walks the buggy code is initiated automatically by the system's normal background scanning rather than by any attacker-held privilege.\nUI:N - Periodic passive scanning by NetworkManager/wpa_supplicant drives the vulnerable path with no action from the logged-in user.\nS:U - The out-of-bounds read stays inside the kernel's own memory and security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:L - The read is a single byte at a fixed offset 32 past the ssids pointer and is never copied to userspace or the air; it only selects between two hard-coded dwell budgets (100 vs 300 TU), which yields at most a timing-observable one-bit oracle on adjacent kernel heap memory.\nI:N - Nothing is written out of bounds — the only side effect is that one of two legitimate constant values is placed in the firmware scan command's adwell_max_budget field.\nA:H - The access reads up to 33 bytes past the end of a kzalloc'd scan request; on KASAN or hardened kernels this is a slab-out-of-bounds report that panics under panic_on_warn/kasan.fault=panic, and a page-order allocation ending on a page boundary can fault and oops." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/net/wireless/intel/iwlwifi/mvm/scan.c" ], "versions": [ { "version": "c1a7515393e403758a684fd0a2372af466675b15", "lessThan": "3c4771091ea8016c8601399078916f722dd8833b", "status": "affected", "versionType": "git" }, { "version": "c1a7515393e403758a684fd0a2372af466675b15", "lessThan": "f777792952d03bbaf8329fdfa99393a5a33e2640", "status": "affected", "versionType": "git" }, { "version": "c1a7515393e403758a684fd0a2372af466675b15", "lessThan": "9e719ae3abad60e245ce248ba3f08148f375a614", "status": "affected", "versionType": "git" }, { "version": "c1a7515393e403758a684fd0a2372af466675b15", "lessThan": "29a18d56bd64b95bd10bda4afda512558471382a", "status": "affected", "versionType": "git" }, { "version": "c1a7515393e403758a684fd0a2372af466675b15", "lessThan": "62e007bdeb91c6879a4652c3426aef1cd9d2937b", "status": "affected", "versionType": "git" }, { "version": "c1a7515393e403758a684fd0a2372af466675b15", "lessThan": "60d62757df30b74bf397a2847a6db7385c6ee281", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/net/wireless/intel/iwlwifi/mvm/scan.c" ], "versions": [ { "version": "4.17", "status": "affected" }, { "version": "0", "lessThan": "4.17", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.221", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.162", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.95", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.35", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.9.6", "lessThanOrEqual": "6.9.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.10", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "5.10.221" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "5.15.162" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "6.1.95" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "6.6.35" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "6.9.6" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "6.10" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/3c4771091ea8016c8601399078916f722dd8833b" }, { "url": "https://git.kernel.org/stable/c/f777792952d03bbaf8329fdfa99393a5a33e2640" }, { "url": "https://git.kernel.org/stable/c/9e719ae3abad60e245ce248ba3f08148f375a614" }, { "url": "https://git.kernel.org/stable/c/29a18d56bd64b95bd10bda4afda512558471382a" }, { "url": "https://git.kernel.org/stable/c/62e007bdeb91c6879a4652c3426aef1cd9d2937b" }, { "url": "https://git.kernel.org/stable/c/60d62757df30b74bf397a2847a6db7385c6ee281" } ], "title": "wifi: iwlwifi: mvm: check n_ssids before accessing the ssids", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "title": "CVE Program Container", "references": [ { "url": "https://git.kernel.org/stable/c/3c4771091ea8016c8601399078916f722dd8833b", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/f777792952d03bbaf8329fdfa99393a5a33e2640", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/9e719ae3abad60e245ce248ba3f08148f375a614", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/29a18d56bd64b95bd10bda4afda512558471382a", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/62e007bdeb91c6879a4652c3426aef1cd9d2937b", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/60d62757df30b74bf397a2847a6db7385c6ee281", "tags": [ "x_transferred" ] }, { "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html" } ], "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2025-11-03T21:57:56.614Z" } }, { "metrics": [ { "other": { "type": "ssvc", "content": { "id": "CVE-2024-40929", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "version": "2.0.3", "timestamp": "2024-09-10T17:05:05.324309Z" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-09-11T17:33:02.938Z" } } ] } }