CVE-2022-49022·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: wifi: mac8021: fix possible oob access in ieee80211_get_rate_duration Fix possible out-of-bound access in ieee80211_get_rate_duration routine as reported by the following UBSAN report: UBSAN: array-index-out-of-bounds in net/mac80211/airtime.c:455:47 index 15 is out of range for type 'u16 [12]' CPU: 2 PID: 217 Comm: kworker/u32:10 Not tainted 6.1.0-060100rc3-generic Hardware name: Acer Aspire TC-281/Aspire TC-281, BIOS R01-A2 07/18/2017 Workqueue: mt76 mt76u_tx_status_data [mt76_usb] Call Trace: <TASK> show_stack+0x4e/0x61 dump_stack_lvl+0x4a/0x6f dump_stack+0x10/0x18 ubsan_epilogue+0x9/0x43 __ubsan_handle_out_of_bounds.cold+0x42/0x47 ieee80211_get_rate_duration.constprop.0+0x22f/0x2a0 [mac80211] ? ieee80211_tx_status_ext+0x32e/0x640 [mac80211] ieee80211_calc_rx_airtime+0xda/0x120 [mac80211] ieee80211_calc_tx_airtime+0xb4/0x100 [mac80211] mt76x02_send_tx_status+0x266/0x480 [mt76x02_lib] mt76x02_tx_status_data+0x52/0x80 [mt76x02_lib] mt76u_tx_status_data+0x67/0xd0 [mt76_usb] process_one_work+0x225/0x400 worker_thread+0x50/0x3e0 ? process_one_work+0x400/0x400 kthread+0xe9/0x110 ? kthread_complete_and_exit+0x20/0x20 ret_from_fork+0x22/0x30
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.0.12
- Published
- 2024-10-21
Affected versions
From: 5.16
Until: 6.0.12
Fixed in: 6.0.12
How to fix this CVE
Update your Linux kernel to version 6.0.12 or later to patch an out-of-bounds memory access vulnerability in the 802.11 wireless rate duration calculation routine. This fix prevents a local attacker with kernel access from triggering a kernel panic or potential privilege escalation through malformed wireless rate information. Apply the patch immediately across all affected systems running kernel versions 5.16 through 6.0.11.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r and verify it is 6.0.12 or newer
- Identify wireless driver in use: lspci -k | grep -i 'network' and check if mac80211 drivers (mt76, iwlwifi, etc.) are loaded via lsmod | grep mac80211
- Search system logs for UBSAN warnings: grep -i 'ubsan\|out-of-bounds' /var/log/kern.log /var/log/syslog
- Verify patch was applied: grep -r 'ieee80211_get_rate_duration' /sys/kernel/debug (if CONFIG_DEBUG_INFO_DWARF4 enabled) or compare kernel config with patched version
FAQ
What is CVE-2022-49022?
This is an out-of-bounds array access vulnerability in the Linux kernel's mac80211 wireless subsystem. When processing certain 802.11 rate duration calculations, the code could read beyond allocated buffer boundaries, potentially causing kernel panics or memory corruption.
Is CVE-2022-49022 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are available. However, it requires only local access to trigger.
What versions of Kernel are affected by CVE-2022-49022?
Linux kernel versions 5.16 through 6.0.11 are affected. The vulnerability was fixed in kernel 6.0.12 and all subsequent releases.
How do I check if my server is vulnerable to CVE-2022-49022?
Run `uname -r` and compare against version 6.0.12. If your version is between 5.16 and 6.0.11 (inclusive), your system is vulnerable. Also verify mac80211 or related wireless drivers are in use with `lsmod | grep mac80211`.
Does Defensia detect CVE-2022-49022?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2022-49022 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-49022. Free for 1 server.
Get started free