# CVE-2022-49416: linux: In the Linux kernel, the following vulnerability has been resolved:  wifi: mac80211: fix use-after-free in chanctx co...

CVE-2022-49416 is fixed in 47 products on 1 platform, first by RHSA-2023:2458, released May 9, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-49416
- Priority: High
- CVSS: 8.8 (high)
- EPSS: 0.0034
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 9, 2023

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | bpftool RHEL 9 | 0:7.0.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-devel-matched RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-modules RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-modules-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-debug-modules-extra RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-devel-matched RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-modules RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-modules-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-64k-modules-extra RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-abi-stablelists RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-abi-stablelists RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-core RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-debug RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-core RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-debug-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-devel RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-debug-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-devel-matched RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-modules RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-debug-modules RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-modules-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-modules-extra RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-debug-modules-extra RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-debug-uki-virt RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-devel RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-devel-matched RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-doc RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-doc RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-modules RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-modules RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-modules-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-modules-extra RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-modules-extra RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-tools RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-tools RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-tools-libs RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-tools-libs RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-tools-libs-devel RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-tools-libs-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-uki-virt RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-zfcpdump RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-core RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-zfcpdump-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-devel RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-zfcpdump-devel RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-devel-matched RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-modules RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-zfcpdump-modules RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-modules-core RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | kernel-zfcpdump-modules-extra RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | kernel-zfcpdump-modules-extra RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | linux Debian 12.15 (bookworm) | 5.18.5-1 | [DEBIAN-CVE-2022-49416](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49416.md) | Feb 26, 2025 |
| Linux | linux Debian 13.5 (trixie) | 5.18.5-1 | [DEBIAN-CVE-2022-49416](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49416.md) | Feb 26, 2025 |
| Linux | linux Debian 14 | 5.18.5-1 | [DEBIAN-CVE-2022-49416](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49416.md) | Feb 26, 2025 |
| Linux | perf RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | perf RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | python3-perf RHEL 8 | 0:4.18.0-477.10.1.el8_8 | [RHSA-2023:2951](https://patchblox.com/security/data/fix/linux/rhsa-2023-2951.md) | May 16, 2023 |
| Linux | python3-perf RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |
| Linux | rtla RHEL 9 | 0:5.14.0-284.11.1.el9_2 | [RHSA-2023:2458](https://patchblox.com/security/data/fix/linux/rhsa-2023-2458.md) | May 9, 2023 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
