CVE-2022-49416
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-49416
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-49416.html
Vendor advisory: redhat — https://access.redhat.com/errata/RHSA-2023:2458
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rhel | 9 | fixed | |
| sles | affected | | |
| debian | bookworm | fixed | 5.18.5-1 |
| debian | bullseye | fixed | 5.10.127-1 |
| debian | forky | fixed | 5.18.5-1 |
| debian | sid | fixed | 5.18.5-1 |
| debian | trixie | fixed | 5.18.5-1 |
References
Verify integrity in audit chain (admin only). AS-IS.