CVE Catalog

CVE-2022-49416

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.33%

25th percentile - higher than 25% of all known CVEs

Summary

In the Linux kernel's mac80211 module, a use-after-free was found in channel context (chanctx) code. After freeing the old context in ieee80211_vif_use_reserved_reassign(), further referencing it leads to UAF.

Risk Assessment

The vulnerability could lead to a system crash or potentially privilege escalation in wireless environments, especially during channel switching.

Recommendation

It is recommended to update the Linux kernel to a version with the fix that sets old_ctx to NULL after freeing and returns early to avoid accessing freed memory.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS