{"id":"CVE-2024-50237","state":"PUBLISHED","title":"wifi: mac80211: do not pass a stopped vif to the driver in .get_txpower","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: do not pass a stopped vif to the driver in .get_txpower\n\nAvoid potentially crashing in the driver because of uninitialized private data","publishedAt":"2024-11-09T10:14:47.184Z","updatedAt":"2026-08-05T11:42:41.148Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"b0b862aa3dbcd16b3c4715259a825f48ca540088","versionType":"git"},{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"78b698fbf37208ee921ee4cedea75b5d33d6ea9f","versionType":"git"},{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"c21efba8b5a86537ccdf43f77536bad02f82776c","versionType":"git"},{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"b2bcbe5450b20641f512d6b26c6b256a5a4f847f","versionType":"git"},{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"8f6cd4d5bb7406656835a90e4f1a2192607f0c21","versionType":"git"},{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"ee35c423042c9e04079fdee3db545135d609d6ea","versionType":"git"},{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"3ccf525a73d48e814634847f6d4a6150c6f0dffc","versionType":"git"},{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"393b6bc174b0dd21bb2a36c13b36e62fc3474a23","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/cfg.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.19","versionType":"semver"},{"version":"4.19.323","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.285","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.229","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.171","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.116","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.60","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.7","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/cfg.c"]}],"references":["https://git.kernel.org/stable/c/b0b862aa3dbcd16b3c4715259a825f48ca540088","https://git.kernel.org/stable/c/78b698fbf37208ee921ee4cedea75b5d33d6ea9f","https://git.kernel.org/stable/c/c21efba8b5a86537ccdf43f77536bad02f82776c","https://git.kernel.org/stable/c/b2bcbe5450b20641f512d6b26c6b256a5a4f847f","https://git.kernel.org/stable/c/8f6cd4d5bb7406656835a90e4f1a2192607f0c21","https://git.kernel.org/stable/c/ee35c423042c9e04079fdee3db545135d609d6ea","https://git.kernel.org/stable/c/3ccf525a73d48e814634847f6d4a6150c6f0dffc","https://git.kernel.org/stable/c/393b6bc174b0dd21bb2a36c13b36e62fc3474a23","https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"],"weaknesses":["CWE-908"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/50xxx/CVE-2024-50237.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-50237","state":"PUBLISHED","datePublished":"2024-11-09T10:14:47.184Z","dateUpdated":"2026-08-05T11:42:41.148Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-10-21T19:36:19.976Z"},"containers":{"cna":{"title":"wifi: mac80211: do not pass a stopped vif to the driver in .get_txpower","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: do not pass a stopped vif to the driver in .get_txpower\n\nAvoid potentially crashing in the driver because of uninitialized private data"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"b0b862aa3dbcd16b3c4715259a825f48ca540088","versionType":"git"},{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"78b698fbf37208ee921ee4cedea75b5d33d6ea9f","versionType":"git"},{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"c21efba8b5a86537ccdf43f77536bad02f82776c","versionType":"git"},{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"b2bcbe5450b20641f512d6b26c6b256a5a4f847f","versionType":"git"},{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"8f6cd4d5bb7406656835a90e4f1a2192607f0c21","versionType":"git"},{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"ee35c423042c9e04079fdee3db545135d609d6ea","versionType":"git"},{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"3ccf525a73d48e814634847f6d4a6150c6f0dffc","versionType":"git"},{"version":"5b3dc42b1b0db0264bbbe4ae44c15ab97bfd1e93","status":"affected","lessThan":"393b6bc174b0dd21bb2a36c13b36e62fc3474a23","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/cfg.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.19","versionType":"semver"},{"version":"4.19.323","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.285","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.229","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.171","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.116","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.60","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.7","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/cfg.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b0b862aa3dbcd16b3c4715259a825f48ca540088"},{"url":"https://git.kernel.org/stable/c/78b698fbf37208ee921ee4cedea75b5d33d6ea9f"},{"url":"https://git.kernel.org/stable/c/c21efba8b5a86537ccdf43f77536bad02f82776c"},{"url":"https://git.kernel.org/stable/c/b2bcbe5450b20641f512d6b26c6b256a5a4f847f"},{"url":"https://git.kernel.org/stable/c/8f6cd4d5bb7406656835a90e4f1a2192607f0c21"},{"url":"https://git.kernel.org/stable/c/ee35c423042c9e04079fdee3db545135d609d6ea"},{"url":"https://git.kernel.org/stable/c/3ccf525a73d48e814634847f6d4a6150c6f0dffc"},{"url":"https://git.kernel.org/stable/c/393b6bc174b0dd21bb2a36c13b36e62fc3474a23"}],"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 vulnerable path is reached only through local interfaces — an `NL80211_CMD_GET_INTERFACE` generic-netlink request or a `SIOCGIWTXPOW` wireless-extensions ioctl on a local netdev. No remote or adjacent peer can drive `.get_txpower`.\nAC:L - There is no race, no memory-grooming requirement, and no attacker-uncontrollable condition; the attacker simply issues the request and can poll indefinitely until a wireless vif is in the not-in-driver state, which is the persistent default on rfkill'd/Wi-Fi-off systems, on created-but-unstarted vifs, and on every vif after a hw-restart reconfig failure.\nPR:L - A plain unprivileged local account suffices — `NL80211_CMD_GET_INTERFACE` is explicitly marked in the nl80211 ops table as retrievable by unprivileged users (no `GENL_ADMIN_PERM`), and `wext_permission_check()` requires `CAP_NET_ADMIN` only for SET ioctls, leaving `SIOCGIWTXPOW` open to anyone.\nUI:N - The attacker triggers the bug entirely on their own by running `iw dev` or `iwconfig`; no action by any other user or administrator is needed at the time of exploitation.\nS:U - The uninitialized/stale dereference happens in kernel driver code and its consequences stay within the kernel's own security authority, with no crossing of a VM, IOMMU, or sandbox boundary.\nC:H - On all pre-6.11 affected branches `vif->drv_priv` is never cleared after `remove_interface()`, so the driver dereferences pointers to freed objects — a use-after-free read whose result is additionally returned to userspace as the tx-power value via `NL80211_ATTR_WIPHY_TX_POWER_LEVEL`/`iwconfig`, leaking kernel memory contents.\nI:H - Driver `.get_txpower` handlers operate on the stale private area (dereferencing freed pointers, taking locks and walking driver structures through them), and a use-after-free on attacker-reclaimable heap memory is leverageable for controlled writes and control-flow influence, so integrity impact is scored High.\nA:H - Dereferencing uninitialized or freed driver private data reliably oopses the kernel — the fix's own rationale is \"avoid potentially crashing in the driver because of uninitialized private data\" — and any unprivileged user can retrigger it at will."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:42:41.148Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"4.19.323"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"5.4.285"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"5.10.229"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"5.15.171"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.1.116"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.6.60"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.11.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.12"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-50237","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T20:16:19.268377Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-908","lang":"en","type":"CWE","description":"CWE-908 Use of Uninitialized Resource"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T20:17:26.719Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:27:19.974Z"}}]}}}