# CVE-2025-71297: wifi: rtw88: 8822b: Avoid WARNING in rtw8822b\_config\_trx\_mode()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.16% (percentile 3, 2026-11-26)
- **Published:** 2026-05-08T13:11:09.120Z
- **Modified:** 2026-11-05T22:17:40.857Z

## Who should check

- Anyone running Linux \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< 7852ca1cc65ad43fb8b620e6a65d5cb15e4e4487; \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< a96d161cfdb11cd2c35d5e498b93431164823338; \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< 0d0c2fb80ca4c284c397dd7546743a3b5fdf4020; \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< 509becaee5680a39bde00c2c7d448dfeb39a8e05; \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< 44510ff07b5198e4a835a3074b716cec8357695b; \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< 44d1f624bbdd2d60319374ba85f7195a28d00c90
- Anyone running Linux 5.8

## Description

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

wifi: rtw88: 8822b: Avoid WARNING in rtw8822b\_config\_trx\_mode()

rtw8822b\_set\_antenna() can be called from userspace when the chip is
powered off. In that case a WARNING is triggered in
rtw8822b\_config\_trx\_mode() because trying to read the RF registers
when the chip is powered off returns an unexpected value.

Call rtw8822b\_config\_trx\_mode() in rtw8822b\_set\_antenna() only when
the chip is powered on.

------------\[ cut here \]------------
write RF mode table fail
WARNING: CPU: 0 PID: 7183 at rtw8822b.c:824 rtw8822b\_config\_trx\_mode.constprop.0+0x835/0x840 \[rtw88\_8822b\]
CPU: 0 UID: 0 PID: 7183 Comm: iw Tainted: G        W  OE       6.17.5-arch1-1 \#1 PREEMPT(full)  01c39fc421df2af799dd5e9180b572af860b40c1
Tainted: \[W\]=WARN, \[O\]=OOT\_MODULE, \[E\]=UNSIGNED\_MODULE
Hardware name: LENOVO 82KR/LNVNB161216, BIOS HBCN18WW 08/27/2021
RIP: 0010:rtw8822b\_config\_trx\_mode.constprop.0+0x835/0x840 \[rtw88\_8822b\]
Call Trace:
 \<TASK\>
 rtw8822b\_set\_antenna+0x57/0x70 \[rtw88\_8822b 370206f42e5890d8d5f48eb358b759efa37c422b\]
 rtw\_ops\_set\_antenna+0x50/0x80 \[rtw88\_core 711c8fb4f686162be4625b1d0b8e8c6a5ac850fb\]
 ieee80211\_set\_antenna+0x60/0x100 \[mac80211 f1845d85d2ecacf3b71867635a050ece90486cf3\]
 nl80211\_set\_wiphy+0x384/0xe00 \[cfg80211 296485ee85696d2150309a6d21a7fbca83d3dbda\]
 ? netdev\_run\_todo+0x63/0x550
 genl\_family\_rcv\_msg\_doit+0xfc/0x160
 genl\_rcv\_msg+0x1aa/0x2b0
 ? \_\_pfx\_nl80211\_pre\_doit+0x10/0x10 \[cfg80211 296485ee85696d2150309a6d21a7fbca83d3dbda\]
 ? \_\_pfx\_nl80211\_set\_wiphy+0x10/0x10 \[cfg80211 296485ee85696d2150309a6d21a7fbca83d3dbda\]
 ? \_\_pfx\_nl80211\_post\_doit+0x10/0x10 \[cfg80211 296485ee85696d2150309a6d21a7fbca83d3dbda\]
 ? \_\_pfx\_genl\_rcv\_msg+0x10/0x10
 netlink\_rcv\_skb+0x59/0x110
 genl\_rcv+0x28/0x40
 netlink\_unicast+0x285/0x3c0
 ? \_\_alloc\_skb+0xdb/0x1a0
 netlink\_sendmsg+0x20d/0x430
 \_\_\_\_sys\_sendmsg+0x39f/0x3d0
 ? import\_iovec+0x2f/0x40
 \_\_\_sys\_sendmsg+0x99/0xe0
 ? refill\_obj\_stock+0x12e/0x240
 \_\_sys\_sendmsg+0x8a/0xf0
 do\_syscall\_64+0x81/0x970
 ? do\_syscall\_64+0x81/0x970
 ? ksys\_read+0x73/0xf0
 ? do\_syscall\_64+0x81/0x970
 ? count\_memcg\_events+0xc2/0x190
 ? handle\_mm\_fault+0x1d7/0x2d0
 ? do\_user\_addr\_fault+0x21a/0x690
 ? exc\_page\_fault+0x7e/0x1a0
 entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e
 \</TASK\>
---\[ end trace 0000000000000000 \]---

## Affected and fixed versions

- Linux: \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< 7852ca1cc65ad43fb8b620e6a65d5cb15e4e4487; \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< a96d161cfdb11cd2c35d5e498b93431164823338; \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< 0d0c2fb80ca4c284c397dd7546743a3b5fdf4020; \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< 509becaee5680a39bde00c2c7d448dfeb39a8e05; \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< 44510ff07b5198e4a835a3074b716cec8357695b; \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< 44d1f624bbdd2d60319374ba85f7195a28d00c90 (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 44d1f624bbdd2d60319374ba85f7195a28d00c90 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-71297.md
Affected: Linux >= 297bcf8222f222fd7defead862de4b8e3ea0b08a, < 7852ca1cc65ad43fb8b620e6a65d5cb15e4e4487; >= 297bcf8222f222fd7defead862de4b8e3ea0b08a, < a96d161cfdb11cd2c35d5e498b93431164823338; >= 297bcf8222f222fd7defead862de4b8e3ea0b08a, < 0d0c2fb80ca4c284c397dd7546743a3b5fdf4020; >= 297bcf8222f222fd7defead…
Fixed in: Linux 7852ca1cc65ad43fb8b620e6a65d5cb15e4e4487, Linux 0d0c2fb80ca4c284c397dd7546743a3b5fdf4020, Linux 509becaee5680a39bde00c2c7d448dfeb39a8e05, Linux 44510ff07b5198e4a835a3074b716cec8357695b, Linux 44d1f624bbdd2d60319374ba85f7195a28d00c90

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-2025-71297 being exploited?

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

### How serious is CVE-2025-71297?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-71297?

Linux \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< 7852ca1cc65ad43fb8b620e6a65d5cb15e4e4487; \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< a96d161cfdb11cd2c35d5e498b93431164823338; \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< 0d0c2fb80ca4c284c397dd7546743a3b5fdf4020; \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< 509becaee5680a39bde00c2c7d448dfeb39a8e05; \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< 44510ff07b5198e4a835a3074b716cec8357695b; \>= 297bcf8222f222fd7defead862de4b8e3ea0b08a, \< 44d1f624bbdd2d60319374ba85f7195a28d00c90; Linux 5.8.

### Is there a fix for CVE-2025-71297?

Yes. Fixed in Linux 7852ca1cc65ad43fb8b620e6a65d5cb15e4e4487, Linux 0d0c2fb80ca4c284c397dd7546743a3b5fdf4020, Linux 509becaee5680a39bde00c2c7d448dfeb39a8e05, Linux 44510ff07b5198e4a835a3074b716cec8357695b, Linux 44d1f624bbdd2d60319374ba85f7195a28d00c90. Upgrade Linux to 44d1f624bbdd2d60319374ba85f7195a28d00c90 or later.

### How do I check if I'm affected by CVE-2025-71297?

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/7852ca1cc65ad43fb8b620e6a65d5cb15e4e4487>
- patch: <https://git.kernel.org/stable/c/a96d161cfdb11cd2c35d5e498b93431164823338>
- patch: <https://git.kernel.org/stable/c/0d0c2fb80ca4c284c397dd7546743a3b5fdf4020>
- patch: <https://git.kernel.org/stable/c/509becaee5680a39bde00c2c7d448dfeb39a8e05>
- patch: <https://git.kernel.org/stable/c/44510ff07b5198e4a835a3074b716cec8357695b>
- patch: <https://git.kernel.org/stable/c/44d1f624bbdd2d60319374ba85f7195a28d00c90>

## 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-2025-71297>

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