CVE-2022-49416

Updated on 26 Feb 2025

Severity

7.1 High severity

Details

CVSS score
7.1
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Overview

About vulnerability

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.

Details

Fixes

KernelCare state

Live-patch status from KernelCare for each operating system.

Operating system Status Covered kernels
RHEL 8 Planned —
RHEL 9 Will Not Fix —
Ubuntu 16.04 AWS HWE ESM Will Not Fix —
Ubuntu 16.04 Azure ESM Will Not Fix —
Ubuntu 16.04 GCP ESM Will Not Fix —
Ubuntu 16.04 HWE ESM Will Not Fix —
Ubuntu 18.04 Planned —
Ubuntu 18.04 AWS Focal Planned —
Ubuntu 20.04 Planned —
Ubuntu 22.04 Planned —
Ubuntu 22.04 AWS Planned —