CVE-2022-49471: rtw89: cfo: check mac_id to avoid out-of-bounds

Published Feb 26, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

rtw89: cfo: check macid to avoid out-of-bounds

Somehow, hardware reports incorrect macid and pollute memory. Check index before we access the array.

UBSAN: array-index-out-of-bounds in rtw89/phy.c:2517:23 index 188 is out of range for type 's32 [64]' CPU: 1 PID: 51550 Comm: irq/35-rtw89pc Tainted: G OE Call Trace: <IRQ> showstack+0x52/0x58 dumpstacklvl+0x4c/0x63 dumpstack+0x10/0x12 ubsanepilogue+0x9/0x45 ubsanhandleoutofbounds.cold+0x44/0x49 ? allocskb+0x92/0x1d0 rtw89phycfoparse+0x44/0x7f [rtw89core] rtw89corerx+0x261/0x871 [rtw89core] ? allocskb+0xee/0x1d0 rtw89pcinapipoll+0x3fa/0x4ea [rtw89pci] napipoll+0x33/0x1a0 netrxaction+0x126/0x260 ? queuework+0x217/0x4c0 dosoftirq+0xd9/0x315 ? disableirqnosync+0x10/0x10 dosoftirq.part.0+0x6d/0x90 </IRQ> <TASK> localbhenableip+0x62/0x70 rtw89pciinterruptthreadfn+0x182/0x1a6 [rtw89pci] irqthreadfn+0x28/0x60 irqthread+0xc8/0x190 ? irqthreadfn+0x60/0x60 kthread+0x16b/0x190 ? irqthreadcheckaffinity+0xe0/0xe0 ? setkthreadstruct+0x50/0x50 retfromfork+0x22/0x30 </TASK>

Affected Software

3 affected components
Linux Linux kernel<5.17.14
Linux Linux kernel>=5.18<5.18.3
Linux Kernel

Event History

Feb 26, 2025
CVE Published
via MITRE·02:13 AM
Data Sourced
via MITRE·02:13 AM
DescriptionSeverity
Data Sourced
via NVD·07:01 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-49471?

CVE-2022-49471 has a severity rating that affects the functionality and security of the Linux kernel's handling of certain hardware reporting.

2

How do I fix CVE-2022-49471?

To fix CVE-2022-49471, update the Linux kernel to a version that includes the patch for this vulnerability, specifically versions later than 5.18.3.

3

What platforms are affected by CVE-2022-49471?

CVE-2022-49471 affects the Linux kernel versions up to and including 5.17.14 and between 5.18 and 5.18.3.

4

What are the potential consequences of CVE-2022-49471?

If exploited, CVE-2022-49471 could lead to out-of-bounds memory access, resulting in potential system crashes or data corruption.

5

What components of the Linux kernel are impacted by CVE-2022-49471?

CVE-2022-49471 impacts the rtw89 driver component of the Linux kernel, particularly its handling of MAC IDs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203