{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-50235","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-10-21T19:36:19.975Z","datePublished":"2024-11-09T10:14:45.222Z","dateUpdated":"2026-08-05T11:42:40.071Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:42:40.071Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: clear wdev->cqm_config pointer on free\n\nWhen we free wdev->cqm_config when unregistering, we also\nneed to clear out the pointer since the same wdev/netdev\nmay get re-registered in another network namespace, then\ndestroyed later, running this code again, which results in\na double-free."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerability is reached through nl80211/MAC80211_HWSIM generic netlink commands (`NL80211_CMD_SET_CQM`, `NL80211_CMD_SET_WIPHY_NETNS`) issued by a local process. No remote or adjacent network input is needed to create or trigger the double free.\nAC:L - The sequence is deterministic straight-line netlink configuration — set CQM thresholds, move the wiphy to another netns, then unregister again — with no race to win. The attacker also chooses `n_thresholds`, controlling the kmalloc bucket of the freed object and making heap reclaim reliable.\nPR:L - Every required command uses `GENL_UNS_ADMIN_PERM`, i.e. CAP_NET_ADMIN in the socket's user namespace, which an unprivileged user obtains via `unshare -Urn`; `get_net_ns_by_fd()` performs no additional capability check and hwsim radios are created in the caller's own netns.\nUI:N - The attacker performs all steps itself through netlink sockets; no victim action, mount, or file open is required.\nS:U - The corruption is confined to the kernel's own slab allocator and results in kernel-level compromise within the same security authority, with no VM, IOMMU, or sandbox boundary crossed.\nC:H - The double free lets the attacker overlap the freed chunk with a live victim object of a size they control, and the stale pointer is additionally read by `cfg80211_cqm_rssi_notify_work()`/`cfg80211_cqm_rssi_update()`, yielding a use-after-free read that can be escalated to arbitrary kernel memory disclosure.\nI:H - `kfree_rcu()` on the dangling pointer clobbers the first 16 bytes of a reclaimed object with an rcu_head and frees it a second time, and `cfg80211_cqm_rssi_notify()` writes attacker-influenced RSSI values into freed memory — a classic double-free/UAF write primitive leading to arbitrary write and control-flow hijack.\nA:H - A double free corrupts the SLUB freelist, causing immediate slab corruption BUG/KASAN reports and kernel panics, and can be triggered repeatedly by an unprivileged local user."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/core.c"],"versions":[{"version":"c797498e860e9a435a651bbf0789433684ce6dd8","lessThan":"ba392e1355ba74b1d4fa11b85f71ab6ed7ecc058","status":"affected","versionType":"git"},{"version":"37c20b2effe987b806c8de6d12978e4ffeff026f","lessThan":"6c44abb2d4c3262737d5d67832daebc8cf48b8c9","status":"affected","versionType":"git"},{"version":"37c20b2effe987b806c8de6d12978e4ffeff026f","lessThan":"64e4c45d23cd7f6167f69cc2d2877bc7f54292e5","status":"affected","versionType":"git"},{"version":"37c20b2effe987b806c8de6d12978e4ffeff026f","lessThan":"d5fee261dfd9e17b08b1df8471ac5d5736070917","status":"affected","versionType":"git"},{"version":"32fb9b7d98c3e586bddfb978d383aa8d2b1211bc","status":"affected","versionType":"git"},{"version":"6.1.57","lessThan":"6.1.116","status":"affected","versionType":"semver"},{"version":"6.5.7","lessThan":"6.6","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/core.c"],"versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","status":"unaffected","versionType":"semver"},{"version":"6.1.116","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.60","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.11.7","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12","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":"6.1.57","versionEndExcluding":"6.1.116"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.60"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.11.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5.7"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/ba392e1355ba74b1d4fa11b85f71ab6ed7ecc058"},{"url":"https://git.kernel.org/stable/c/6c44abb2d4c3262737d5d67832daebc8cf48b8c9"},{"url":"https://git.kernel.org/stable/c/64e4c45d23cd7f6167f69cc2d2877bc7f54292e5"},{"url":"https://git.kernel.org/stable/c/d5fee261dfd9e17b08b1df8471ac5d5736070917"}],"title":"wifi: cfg80211: clear wdev->cqm_config pointer on free","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.8,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-50235","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-10-01T20:16:25.988560Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-415","description":"CWE-415 Double Free"}]}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-10-01T20:17:26.957Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T22:27:16.962Z"}}]}}