CVE-2022-49416
wifi: mac80211: fix use-after-free in chanctx code
Mitigation
- Upgrade Linux to 2965c4cdf7ad9ce0796fac5e57debb9519ea721e or later.
Who should check
- Anyone running Linux >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 88cc8f963febe192d6ded9df7217f92f380b449a; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 4ba81e794f0fad6234f644c2da1ae14d5b95e1c4; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 9f1e5cc85ad77e52f54049a94db0407445ae2a34; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 265bec4779a38b65e86a25120370f200822dfa76; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 6118bbdf69f4718b02d26bbcf2e497eb66004331; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < b79110f2bf6022e60e590d2e094728a8eec3e79e; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 82c8e7bbdd06c7ed58e22450cc5b37f33a25bb2c; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 4f05a9e15edcdf5b97e0d86ab6ecd5f187289f6c; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 2965c4cdf7ad9ce0796fac5e57debb9519ea721e
- Anyone running Linux 3.17
Vulnerability facts
- Affected
- Linux >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 88cc8f963febe192d6ded9df7217f92f380b449a; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 4ba81e794f0fad6234f644c2da1ae14d5b95e1c4; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 9f1e5cc85ad77e52f54049a94db0407445ae2a34; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 265bec4779a38b65e86a25120370f200822dfa76; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 6118bbdf69f4718b02d26bbcf2e497eb66004331; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < b79110f2bf6022e60e590d2e094728a8eec3e79e; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 82c8e7bbdd06c7ed58e22450cc5b37f33a25bb2c; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 4f05a9e15edcdf5b97e0d86ab6ecd5f187289f6c; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 2965c4cdf7ad9ce0796fac5e57debb9519ea721e; Linux 3.17
- Fixed in
- Linux 88cc8f963febe192d6ded9df7217f92f380b449a, Linux 4ba81e794f0fad6234f644c2da1ae14d5b95e1c4, Linux 9f1e5cc85ad77e52f54049a94db0407445ae2a34, Linux 265bec4779a38b65e86a25120370f200822dfa76, Linux 6118bbdf69f4718b02d26bbcf2e497eb66004331, Linux 82c8e7bbdd06c7ed58e22450cc5b37f33a25bb2c, Linux 4f05a9e15edcdf5b97e0d86ab6ecd5f187289f6c, Linux 2965c4cdf7ad9ce0796fac5e57debb9519ea721e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 8.8 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.38% chance of exploitation in 30 days (percentile 24, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: fix use-after-free in chanctx code In ieee80211_vif_use_reserved_context(), when we have an old context and the new context's replace_state is set to IEEE80211_CHANCTX_REPLACE_NONE, we free the old context in ieee80211_vif_use_reserved_reassign(). Therefore, we cannot check the old_ctx anymore, so we should set it to NULL after this point. However, since the new_ctx replace state is clearly not IEEE80211_CHANCTX_REPLACES_OTHER, we're not going to do anything else in this function and can just return to avoid accessing the freed old_ctx.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 88cc8f963febe192d6ded9df7217f92f380b449a; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 4ba81e794f0fad6234f644c2da1ae14d5b95e1c4; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 9f1e5cc85ad77e52f54049a94db0407445ae2a34; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 265bec4779a38b65e86a25120370f200822dfa76; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 6118bbdf69f4718b02d26bbcf2e497eb66004331; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < b79110f2bf6022e60e590d2e094728a8eec3e79e; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 82c8e7bbdd06c7ed58e22450cc5b37f33a25bb2c; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 4f05a9e15edcdf5b97e0d86ab6ecd5f187289f6c; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 2965c4cdf7ad9ce0796fac5e57debb9519ea721e | — | cvelist |
| Linux | 3.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49416. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49416.md Affected: Linux >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 88cc8f963febe192d6ded9df7217f92f380b449a; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 4ba81e794f0fad6234f644c2da1ae14d5b95e1c4; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 9f1e5cc85ad77e52f54049a94db0407445ae2a34; >= 5bcae31d9cb1ebfad3ad5a3… Fixed in: Linux 88cc8f963febe192d6ded9df7217f92f380b449a, Linux 4ba81e794f0fad6234f644c2da1ae14d5b95e1c4, Linux 9f1e5cc85ad77e52f54049a94db0407445ae2a34, Linux 265bec4779a38b65e86a25120370f200822dfa76, Linux 6118bbdf69f4718b02d26bbcf2e497eb66004331, Linux 82c8e7bbdd06c7ed58e22450cc5b37f33a25bb2c, Linux 4f05a… Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/88cc8f963febe192d6ded9df7217f92f380b449a
- https://git.kernel.org/stable/c/4ba81e794f0fad6234f644c2da1ae14d5b95e1c4
- https://git.kernel.org/stable/c/9f1e5cc85ad77e52f54049a94db0407445ae2a34
- https://git.kernel.org/stable/c/265bec4779a38b65e86a25120370f200822dfa76
- https://git.kernel.org/stable/c/6118bbdf69f4718b02d26bbcf2e497eb66004331
- https://git.kernel.org/stable/c/b79110f2bf6022e60e590d2e094728a8eec3e79e
- https://git.kernel.org/stable/c/82c8e7bbdd06c7ed58e22450cc5b37f33a25bb2c
- https://git.kernel.org/stable/c/4f05a9e15edcdf5b97e0d86ab6ecd5f187289f6c
- https://git.kernel.org/stable/c/2965c4cdf7ad9ce0796fac5e57debb9519ea721e
FAQ
Is CVE-2022-49416 being exploited?
There is no confirmed exploitation: CVE-2022-49416 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49416?
High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49416?
Linux >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 88cc8f963febe192d6ded9df7217f92f380b449a; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 4ba81e794f0fad6234f644c2da1ae14d5b95e1c4; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 9f1e5cc85ad77e52f54049a94db0407445ae2a34; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 265bec4779a38b65e86a25120370f200822dfa76; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 6118bbdf69f4718b02d26bbcf2e497eb66004331; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < b79110f2bf6022e60e590d2e094728a8eec3e79e; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 82c8e7bbdd06c7ed58e22450cc5b37f33a25bb2c; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 4f05a9e15edcdf5b97e0d86ab6ecd5f187289f6c; >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f, < 2965c4cdf7ad9ce0796fac5e57debb9519ea721e; Linux 3.17.
Is there a fix for CVE-2022-49416?
Yes. Fixed in Linux 88cc8f963febe192d6ded9df7217f92f380b449a, Linux 4ba81e794f0fad6234f644c2da1ae14d5b95e1c4, Linux 9f1e5cc85ad77e52f54049a94db0407445ae2a34, Linux 265bec4779a38b65e86a25120370f200822dfa76, Linux 6118bbdf69f4718b02d26bbcf2e497eb66004331, Linux 82c8e7bbdd06c7ed58e22450cc5b37f33a25bb2c, Linux 4f05a9e15edcdf5b97e0d86ab6ecd5f187289f6c, Linux 2965c4cdf7ad9ce0796fac5e57debb9519ea721e. Upgrade Linux to 2965c4cdf7ad9ce0796fac5e57debb9519ea721e or later.
How do I check if I'm affected by CVE-2022-49416?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.