CVE-2022-49416CWE-416

CVE-2022-49416

High · published February 26, 2025

CVSS v3.1
8.8
EPSS
0%
Percentile
25.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00335 · 25.7th percentile
Weakness
CWE-416 · Use After Free
Published
2025-02-26T12:01Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 3.17, < 4.9.3184.9.318
linux/linux_kernel≥ 4.10, < 4.14.2834.14.283
linux/linux_kernel≥ 4.15, < 4.19.2474.19.247
linux/linux_kernel≥ 4.20, < 5.4.1985.4.198
linux/linux_kernel≥ 5.5, < 5.10.1215.10.121
linux/linux_kernel≥ 5.11, < 5.15.465.15.46
linux/linux_kernel≥ 5.16, < 5.17.145.17.14
linux/linux_kernel≥ 5.18, < 5.18.35.18.3
References (9)
EPSS history
Timeline
  • 26 FEB 02:12Z
    wifi: mac80211: fix use-after-free in chanctx code
    cvelistv5