{"id":"CVE-2022-49471","published":"2025-02-26T02:13:14Z","modified":"2026-08-05T08:55:19Z","title":"rtw89: cfo: check mac_id to avoid out-of-bounds","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrtw89: cfo: check mac_id to avoid out-of-bounds\n\nSomehow, hardware reports incorrect mac_id and pollute memory. Check index\nbefore we access the array.\n\n  UBSAN: array-index-out-of-bounds in rtw89/phy.c:2517:23\n  index 188 is out of range for type 's32 [64]'\n  CPU: 1 PID: 51550 Comm: irq/35-rtw89_pc Tainted: G           OE\n  Call Trace:\n   <IRQ>\n   show_stack+0x52/0x58\n   dump_stack_lvl+0x4c/0x63\n   dump_stack+0x10/0x12\n   ubsan_epilogue+0x9/0x45\n   __ubsan_handle_out_of_bounds.cold+0x44/0x49\n   ? __alloc_skb+0x92/0x1d0\n   rtw89_phy_cfo_parse+0x44/0x7f [rtw89_core]\n   rtw89_core_rx+0x261/0x871 [rtw89_core]\n   ? __alloc_skb+0xee/0x1d0\n   rtw89_pci_napi_poll+0x3fa/0x4ea [rtw89_pci]\n   __napi_poll+0x33/0x1a0\n   net_rx_action+0x126/0x260\n   ? __queue_work+0x217/0x4c0\n   __do_softirq+0xd9/0x315\n   ? disable_irq_nosync+0x10/0x10\n   do_softirq.part.0+0x6d/0x90\n   </IRQ>\n   <TASK>\n   __local_bh_enable_ip+0x62/0x70\n   rtw89_pci_interrupt_threadfn+0x182/0x1a6 [rtw89_pci]\n   irq_thread_fn+0x28/0x60\n   irq_thread+0xc8/0x190\n   ? irq_thread_fn+0x60/0x60\n   kthread+0x16b/0x190\n   ? irq_thread_check_affinity+0xe0/0xe0\n   ? set_kthread_struct+0x50/0x50\n   ret_from_fork+0x22/0x30\n   </TASK>","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00321,"percentile":0.25751,"provenance":"source"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"references":[{"url":"https://git.kernel.org/stable/c/03ed236480aeec8c2fd327a1ea6d711364c495e3","tags":[]},{"url":"https://git.kernel.org/stable/c/c32fafe68298bb599e825c298e1d0ba30186f0a5","tags":[]},{"url":"https://git.kernel.org/stable/c/97df85871a5b187609d30fca6d85b912d9e02f29","tags":[]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":5.15},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, < 03ed236480aeec8c2fd327a1ea6d711364c495e3",">= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, < c32fafe68298bb599e825c298e1d0ba30186f0a5",">= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, < 97df85871a5b187609d30fca6d85b912d9e02f29"]},{"vendor":"Linux","product":"Linux","versions":["5.16"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-10-01T19:39:49.476327Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-54758","exploited":false,"provenance":"source"}}