CVE-2022-49416 Details
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.
A use-after-free vulnerability has been identified in the Linux kernel's mac80211 wireless networking component, specifically within the channel context management code. The issue arises in the function 'ieee80211_vif_use_reserved_context()', where an old channel context can be freed while still being referenced. This occurs when the new context's replace state is set to 'IEEE80211_CHANCTX_REPLACE_NONE', allowing the old context to be released but not properly nullified, leading to potential access of freed memory.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/265bec4779a38b65e86a25120370f200822dfa76 | kernel.org | Patch |
| https://git.kernel.org/stable/c/2965c4cdf7ad9ce0796fac5e57debb9519ea721e | kernel.org | Patch |
| https://git.kernel.org/stable/c/4ba81e794f0fad6234f644c2da1ae14d5b95e1c4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4f05a9e15edcdf5b97e0d86ab6ecd5f187289f6c | kernel.org | Patch |
| https://git.kernel.org/stable/c/6118bbdf69f4718b02d26bbcf2e497eb66004331 | kernel.org | Patch |
| https://git.kernel.org/stable/c/82c8e7bbdd06c7ed58e22450cc5b37f33a25bb2c | kernel.org | Patch |
| https://git.kernel.org/stable/c/88cc8f963febe192d6ded9df7217f92f380b449a | kernel.org | Patch |
| https://git.kernel.org/stable/c/9f1e5cc85ad77e52f54049a94db0407445ae2a34 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b79110f2bf6022e60e590d2e094728a8eec3e79e | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.17, < 4.9.318 >= 4.10, < 4.14.283 >= 4.15, < 4.19.247 >= 4.20, < 5.4.198 >= 5.5, < 5.10.121 >= 5.11, < 5.15.46 >= 5.16, < 5.17.14 >= 5.18, < 5.18.3 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 24, 2025 | Initial Analysis | [email protected] |
| Feb 27, 2025 | CVE Modified | CISA-ADP |
| Feb 26, 2025 | New CVE Received | kernel.org |