2084AI Security Observatory

CVE

CVE-2022-49416

CVE-2022-49416HIGH 8.8EPSS 27%

CNA 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 versions

All Linux kernel vulnerabilities →

  • ≥ 5.18, < 5.18.3Fixed in 5.18.3
  • ≥ 5.16, < 5.17.14Fixed in 5.17.14
  • ≥ 5.11, < 5.15.46Fixed in 5.15.46
  • ≥ 5.5, < 5.10.121Fixed in 5.10.121
  • ≥ 4.20, < 5.4.198Fixed in 5.4.198
  • ≥ 4.15, < 4.19.247Fixed in 4.19.247
  • ≥ 4.10, < 4.14.283Fixed in 4.14.283
  • ≥ 3.17, < 4.9.318Fixed in 4.9.318

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.