# CVE-2022-49471: rtw89: cfo: check mac\_id to avoid out-of-bounds

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.36% (percentile 22, 2026-11-26)
- **CWE:** CWE-129
- **Published:** 2025-02-26T02:13:14.657Z
- **Modified:** 2026-08-05T08:55:19.284Z

## Who should check

- Anyone running Linux \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< 03ed236480aeec8c2fd327a1ea6d711364c495e3; \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< c32fafe68298bb599e825c298e1d0ba30186f0a5; \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< 97df85871a5b187609d30fca6d85b912d9e02f29
- Anyone running Linux 5.16

## Description

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

rtw89: cfo: check mac\_id to avoid out-of-bounds

Somehow, hardware reports incorrect mac\_id 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-rtw89\_pc Tainted: G           OE
  Call Trace:
   \<IRQ\>
   show\_stack+0x52/0x58
   dump\_stack\_lvl+0x4c/0x63
   dump\_stack+0x10/0x12
   ubsan\_epilogue+0x9/0x45
   \_\_ubsan\_handle\_out\_of\_bounds.cold+0x44/0x49
   ? \_\_alloc\_skb+0x92/0x1d0
   rtw89\_phy\_cfo\_parse+0x44/0x7f \[rtw89\_core\]
   rtw89\_core\_rx+0x261/0x871 \[rtw89\_core\]
   ? \_\_alloc\_skb+0xee/0x1d0
   rtw89\_pci\_napi\_poll+0x3fa/0x4ea \[rtw89\_pci\]
   \_\_napi\_poll+0x33/0x1a0
   net\_rx\_action+0x126/0x260
   ? \_\_queue\_work+0x217/0x4c0
   \_\_do\_softirq+0xd9/0x315
   ? disable\_irq\_nosync+0x10/0x10
   do\_softirq.part.0+0x6d/0x90
   \</IRQ\>
   \<TASK\>
   \_\_local\_bh\_enable\_ip+0x62/0x70
   rtw89\_pci\_interrupt\_threadfn+0x182/0x1a6 \[rtw89\_pci\]
   irq\_thread\_fn+0x28/0x60
   irq\_thread+0xc8/0x190
   ? irq\_thread\_fn+0x60/0x60
   kthread+0x16b/0x190
   ? irq\_thread\_check\_affinity+0xe0/0xe0
   ? set\_kthread\_struct+0x50/0x50
   ret\_from\_fork+0x22/0x30
   \</TASK\>

## Affected and fixed versions

- Linux: \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< 03ed236480aeec8c2fd327a1ea6d711364c495e3; \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< c32fafe68298bb599e825c298e1d0ba30186f0a5; \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< 97df85871a5b187609d30fca6d85b912d9e02f29 (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- Upgrade Linux to 97df85871a5b187609d30fca6d85b912d9e02f29 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49471. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49471.md
Affected: Linux >= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, < 03ed236480aeec8c2fd327a1ea6d711364c495e3; >= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, < c32fafe68298bb599e825c298e1d0ba30186f0a5; >= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, < 97df85871a5b187609d30fca6d85b912d9e02f29; Linux 5.16
Fixed in: Linux 03ed236480aeec8c2fd327a1ea6d711364c495e3, Linux 97df85871a5b187609d30fca6d85b912d9e02f29

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49471 being exploited?

There is no confirmed exploitation: CVE-2022-49471 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.36% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49471?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49471?

Linux \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< 03ed236480aeec8c2fd327a1ea6d711364c495e3; \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< c32fafe68298bb599e825c298e1d0ba30186f0a5; \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< 97df85871a5b187609d30fca6d85b912d9e02f29; Linux 5.16.

### Is there a fix for CVE-2022-49471?

Yes. Fixed in Linux 03ed236480aeec8c2fd327a1ea6d711364c495e3, Linux 97df85871a5b187609d30fca6d85b912d9e02f29. Upgrade Linux to 97df85871a5b187609d30fca6d85b912d9e02f29 or later.

### How do I check if I'm affected by CVE-2022-49471?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/03ed236480aeec8c2fd327a1ea6d711364c495e3>
- patch: <https://git.kernel.org/stable/c/c32fafe68298bb599e825c298e1d0ba30186f0a5>
- patch: <https://git.kernel.org/stable/c/97df85871a5b187609d30fca6d85b912d9e02f29>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49471>

HTML: <https://flawdb.com/CVE-2022-49471> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49471>
