# CVE-2022-49022: wifi: mac8021: fix possible oob access in ieee80211_get_rate_duration

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2024-10-21T20:06:29.239Z
- Modified: 2026-08-05T08:53:29.205Z
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

(As written by CVE List.)

## Affected

- Linux Linux: from db3e1c40cf2f973fbdd52ae0b59a9472b1c04f4a before 0184ede0ec61b9cd075babfaa45081b1bf322234; from db3e1c40cf2f973fbdd52ae0b59a9472b1c04f4a before 59b54f0563b6546c94bdb6823d3b382c75407019; from db3e1c40cf2f973fbdd52ae0b59a9472b1c04f4a before f0fcad4c7201ecfaa17357f4ce0c50b4708df22d; from db3e1c40cf2f973fbdd52ae0b59a9472b1c04f4a before 3e8f7abcc3473bc9603323803aeaed4ffcc3a2ab; 5.5 (not affected: before 5.5; from 5.10.158 up to 5.10.*; from 5.15.82 up to 5.15.*; from 6.0.12 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.5 before 5.10.158; from 5.11 before 5.15.82; from 5.16 before 6.0.12; 6.1

## Every score

- Linux: CVSS:3.1 8.1 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/0184ede0ec61b9cd075babfaa45081b1bf322234> (patch)
- <https://git.kernel.org/stable/c/59b54f0563b6546c94bdb6823d3b382c75407019> (patch)
- <https://git.kernel.org/stable/c/f0fcad4c7201ecfaa17357f4ce0c50b4708df22d> (patch)
- <https://git.kernel.org/stable/c/3e8f7abcc3473bc9603323803aeaed4ffcc3a2ab> (patch)

## Sources

- CVE List: [CVE-2022-49022](https://www.cve.org/CVERecord?id=CVE-2022-49022), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49022](https://nvd.nist.gov/vuln/detail/CVE-2022-49022), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49022 · Whole record: https://cve.day/CVE-2022-49022.json · Rebuilt by cve.day 2026-11-25T22:58:20.037Z
