CVE-2022-49416

wifi: mac80211: fix use-after-free in chanctx code

HIGH
8.8
CVSS Score
Published: February 26, 2025 at 02:12 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.17 ≤ v < 4.14.2833.17 ≤ v < 4.19.2473.17 ≤ v < 4.9.3183.17 ≤ v < 5.10.1213.17 ≤ v < 5.15.463.17 ≤ v < 5.17.143.17 ≤ v < 5.18.33.17 ≤ v < 5.193.17 ≤ v < 5.4.1984.10 ≤ v < 4.14.2834.15 ≤ v < 4.19.2474.20 ≤ v < 5.4.1985.11 ≤ v < 5.15.465.16 ≤ v < 5.17.145.18 ≤ v < 5.18.35.5 ≤ v < 5.10.1213.175bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f
Vendor states this is fixed in 265bec4779a38b65e86a25120370f200822dfa76 (fixed)
Vendor states this is fixed in 2965c4cdf7ad9ce0796fac5e57debb9519ea721e (fixed)
Vendor states this is fixed in 4ba81e794f0fad6234f644c2da1ae14d5b95e1c4 (fixed)
Vendor states this is fixed in 4f05a9e15edcdf5b97e0d86ab6ecd5f187289f6c (fixed)
Vendor states this is fixed in 6118bbdf69f4718b02d26bbcf2e497eb66004331 (fixed)
Vendor states this is fixed in 82c8e7bbdd06c7ed58e22450cc5b37f33a25bb2c (fixed)
Vendor states this is fixed in 88cc8f963febe192d6ded9df7217f92f380b449a (fixed)
Vendor states this is fixed in 9f1e5cc85ad77e52f54049a94db0407445ae2a34 (fixed)
Vendor states this is fixed in b79110f2bf6022e60e590d2e094728a8eec3e79e (fixed)
Vendor states this is fixed in 3.17 (unaffected)
Vendor states this is fixed in 4.14.283 (unaffected)
Vendor states this is fixed in 4.19.247 (unaffected)
Vendor states this is fixed in 4.9.318 (unaffected)
Vendor states this is fixed in 5.10.121 (unaffected)
Vendor states this is fixed in 5.15.46 (unaffected)
Vendor states this is fixed in 5.17.14 (unaffected)
Vendor states this is fixed in 5.18.3 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.198 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/265bec4779a38b65e86a25120370f200822dfa76
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2965c4cdf7ad9ce0796fac5e57debb9519ea721e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4ba81e794f0fad6234f644c2da1ae14d5b95e1c4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4f05a9e15edcdf5b97e0d86ab6ecd5f187289f6c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6118bbdf69f4718b02d26bbcf2e497eb66004331
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/82c8e7bbdd06c7ed58e22450cc5b37f33a25bb2c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/88cc8f963febe192d6ded9df7217f92f380b449a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9f1e5cc85ad77e52f54049a94db0407445ae2a34

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card