In the Linux kernel, the following vulnerability has been resolved:
wifi: mac8021: fix possible oob access in ieee80211getrate_duration
Fix possible out-of-bound access in ieee80211getrate_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 mt76utxstatusdata [mt76usb] Call Trace: <TASK> showstack+0x4e/0x61 dumpstacklvl+0x4a/0x6f dumpstack+0x10/0x18 ubsanepilogue+0x9/0x43 _ubsanhandleoutofbounds.cold+0x42/0x47 ieee80211getrateduration.constprop.0+0x22f/0x2a0 [mac80211] ? ieee80211txstatusext+0x32e/0x640 [mac80211] ieee80211calcrxairtime+0xda/0x120 [mac80211] ieee80211calctxairtime+0xb4/0x100 [mac80211] mt76x02sendtxstatus+0x266/0x480 [mt76x02lib] mt76x02txstatusdata+0x52/0x80 [mt76x02lib] mt76utxstatusdata+0x67/0xd0 [mt76usb] processonework+0x225/0x400 workerthread+0x50/0x3e0 ? processonework+0x400/0x400 kthread+0xe9/0x110 ? kthreadcompleteandexit+0x20/0x20 retfromfork+0x22/0x30
{ "vanir_signatures": [ { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3e8f7abcc3473bc9603323803aeaed4ffcc3a2ab", "target": { "file": "net/mac80211/airtime.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "278186697183796457323785440882275373731", "202194926723398970804372114372967560268", "60965599393985162535401610015341120412" ] }, "id": "CVE-2022-49022-3b8b8d05", "deprecated": false, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3e8f7abcc3473bc9603323803aeaed4ffcc3a2ab", "target": { "function": "ieee80211_get_rate_duration", "file": "net/mac80211/airtime.c" }, "digest": { "length": 1130.0, "function_hash": "126715559979622143857421559952164469440" }, "id": "CVE-2022-49022-84fedb08", "deprecated": false, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0184ede0ec61b9cd075babfaa45081b1bf322234", "target": { "function": "ieee80211_get_rate_duration", "file": "net/mac80211/airtime.c" }, "digest": { "length": 1130.0, "function_hash": "126715559979622143857421559952164469440" }, "id": "CVE-2022-49022-8d6faa6c", "deprecated": false, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f0fcad4c7201ecfaa17357f4ce0c50b4708df22d", "target": { "function": "ieee80211_get_rate_duration", "file": "net/mac80211/airtime.c" }, "digest": { "length": 1130.0, "function_hash": "126715559979622143857421559952164469440" }, "id": "CVE-2022-49022-a3382e2e", "deprecated": false, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f0fcad4c7201ecfaa17357f4ce0c50b4708df22d", "target": { "file": "net/mac80211/airtime.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "278186697183796457323785440882275373731", "202194926723398970804372114372967560268", "60965599393985162535401610015341120412" ] }, "id": "CVE-2022-49022-af1615c0", "deprecated": false, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@59b54f0563b6546c94bdb6823d3b382c75407019", "target": { "function": "ieee80211_get_rate_duration", "file": "net/mac80211/airtime.c" }, "digest": { "length": 1130.0, "function_hash": "126715559979622143857421559952164469440" }, "id": "CVE-2022-49022-e9708725", "deprecated": false, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@59b54f0563b6546c94bdb6823d3b382c75407019", "target": { "file": "net/mac80211/airtime.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "278186697183796457323785440882275373731", "202194926723398970804372114372967560268", "60965599393985162535401610015341120412" ] }, "id": "CVE-2022-49022-f3b2b8f8", "deprecated": false, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0184ede0ec61b9cd075babfaa45081b1bf322234", "target": { "file": "net/mac80211/airtime.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "278186697183796457323785440882275373731", "202194926723398970804372114372967560268", "60965599393985162535401610015341120412" ] }, "id": "CVE-2022-49022-f51b0d1a", "deprecated": false, "signature_type": "Line", "signature_version": "v1" } ] }