{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49416","id":"CVE-2022-49416","title":"wifi: mac80211: fix use-after-free in chanctx code","description":"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 i","descriptionLong":"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.","published":"2025-02-26T02:12:37.173Z","updated":"2026-10-28T02:30:37.786278356Z","reserved":"2025-02-26T02:08:31.568Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","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"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","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"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/88cc8f963febe192d6ded9df7217f92f380b449a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4ba81e794f0fad6234f644c2da1ae14d5b95e1c4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9f1e5cc85ad77e52f54049a94db0407445ae2a34","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/265bec4779a38b65e86a25120370f200822dfa76","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6118bbdf69f4718b02d26bbcf2e497eb66004331","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b79110f2bf6022e60e590d2e094728a8eec3e79e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/82c8e7bbdd06c7ed58e22450cc5b37f33a25bb2c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4f05a9e15edcdf5b97e0d86ab6ecd5f187289f6c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2965c4cdf7ad9ce0796fac5e57debb9519ea721e","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49416.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49416","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00335,"epssPercentile":0.27436,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49416","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49416","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49416","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49416","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}