{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49416","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-02-26T02:08:31.568Z","datePublished":"2025-02-26T02:12:37.173Z","dateUpdated":"2026-08-05T08:55:08.558Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T08:55:08.558Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: fix use-after-free in chanctx code\n\nIn ieee80211_vif_use_reserved_context(), when we have an\nold context and the new context's replace_state is set to\nIEEE80211_CHANCTX_REPLACE_NONE, we free the old context\nin ieee80211_vif_use_reserved_reassign(). Therefore, we\ncannot check the old_ctx anymore, so we should set it to\nNULL after this point.\n\nHowever, since the new_ctx replace state is clearly not\nIEEE80211_CHANCTX_REPLACES_OTHER, we're not going to do\nanything else in this function and can just return to\navoid accessing the freed old_ctx."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:A - The UAF is reached when mac80211 finalizes a channel-context reservation during CSA, which an adjacent attacker triggers by sending CSA beacons/action frames to an associated STA (or via IBSS/mesh CSA). WiFi frame processing is Adjacent, not Network.\nAC:L - The free-then-use is deterministic on the REPLACE_NONE reassign path when the vif was the sole user of old_ctx; the attacker controls CSA initiation and does not depend on an uncontrolled race or rare config.\nPR:N - The STA/mlme path processes CSA from the AP (or spoofed management frames) with no privileges on the victim host. No CAP_NET_ADMIN or local account is required for the over-the-air trigger.\nUI:N - Once the device is associated, CSA handling and chswitch_work run automatically with no further user action required to hit the vulnerable finalize path.\nS:U - This is a mac80211 kernel UAF affecting the local kernel authority only; it does not cross a VM, IOMMU, or other security boundary.\nC:H - Use-after-free of the ieee80211_chanctx object enables heap reuse/control of the freed object and therefore arbitrary read primitives under standard UAF exploitation.\nI:H - The same UAF enables heap spraying and corruption of the reused chanctx object, yielding write/control-flow hijack primitives consistent with kernel memory-corruption impact.\nA:H - Use-after-free of a channel context can cause kernel oops/panic (and is treated as High availability impact even when not fully exploited for code execution)."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/chan.c"],"versions":[{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","lessThan":"88cc8f963febe192d6ded9df7217f92f380b449a","status":"affected","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","lessThan":"4ba81e794f0fad6234f644c2da1ae14d5b95e1c4","status":"affected","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","lessThan":"9f1e5cc85ad77e52f54049a94db0407445ae2a34","status":"affected","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","lessThan":"265bec4779a38b65e86a25120370f200822dfa76","status":"affected","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","lessThan":"6118bbdf69f4718b02d26bbcf2e497eb66004331","status":"affected","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","lessThan":"b79110f2bf6022e60e590d2e094728a8eec3e79e","status":"affected","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","lessThan":"82c8e7bbdd06c7ed58e22450cc5b37f33a25bb2c","status":"affected","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","lessThan":"4f05a9e15edcdf5b97e0d86ab6ecd5f187289f6c","status":"affected","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","lessThan":"2965c4cdf7ad9ce0796fac5e57debb9519ea721e","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/chan.c"],"versions":[{"version":"3.17","status":"affected"},{"version":"0","lessThan":"3.17","status":"unaffected","versionType":"semver"},{"version":"4.9.318","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.283","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.247","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.198","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.121","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.46","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.17.14","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18.3","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19","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":"3.17","versionEndExcluding":"4.9.318"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"4.14.283"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"4.19.247"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"5.4.198"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"5.10.121"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"5.15.46"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"5.17.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"5.18.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"5.19"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/88cc8f963febe192d6ded9df7217f92f380b449a"},{"url":"https://git.kernel.org/stable/c/4ba81e794f0fad6234f644c2da1ae14d5b95e1c4"},{"url":"https://git.kernel.org/stable/c/9f1e5cc85ad77e52f54049a94db0407445ae2a34"},{"url":"https://git.kernel.org/stable/c/265bec4779a38b65e86a25120370f200822dfa76"},{"url":"https://git.kernel.org/stable/c/6118bbdf69f4718b02d26bbcf2e497eb66004331"},{"url":"https://git.kernel.org/stable/c/b79110f2bf6022e60e590d2e094728a8eec3e79e"},{"url":"https://git.kernel.org/stable/c/82c8e7bbdd06c7ed58e22450cc5b37f33a25bb2c"},{"url":"https://git.kernel.org/stable/c/4f05a9e15edcdf5b97e0d86ab6ecd5f187289f6c"},{"url":"https://git.kernel.org/stable/c/2965c4cdf7ad9ce0796fac5e57debb9519ea721e"}],"title":"wifi: mac80211: fix use-after-free in chanctx code","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-2022-49416","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-02-27T18:16:18.774528Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-416","description":"CWE-416 Use After Free"}]}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-02-27T18:22:33.196Z"}}]}}