# CVE-2025-38646: wifi: rtw89: avoid NULL dereference when RX problematic packet on unsupported 6 GHz band

> 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.26% (percentile 11, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-08-22T16:00:51.397Z
- **Modified:** 2026-11-05T22:17:22.477Z

## Who should check

- Anyone running Linux \>= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, \< 892b29eab44b1803d2cad8e50f1bc2144ef478cb; \>= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, \< 77a7a48f87d673a68664bebf044214821decbfda; \>= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, \< f3527ac15a00916e68ecb495b74dbe6a6c62a06f; \>= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, \< 4b525630729082f026e7030eafccf89e3add7eae; \>= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, \< 7e04f01bb94fe61c73cc59f0495c3b6c16a83231
- Anyone running Linux 6.4

## Description

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

wifi: rtw89: avoid NULL dereference when RX problematic packet on unsupported 6 GHz band

With a quite rare chance, RX report might be problematic to make SW think
a packet is received on 6 GHz band even if the chip does not support 6 GHz
band actually. Since SW won't initialize stuffs for unsupported bands, NULL
dereference will happen then in the sequence, rtw89\_vif\_rx\_stats\_iter() -\>
rtw89\_core\_cancel\_6ghz\_probe\_tx(). So, add a check to avoid it.

The following is a crash log for this case.

 BUG: kernel NULL pointer dereference, address: 0000000000000032
 \#PF: supervisor read access in kernel mode
 \#PF: error\_code(0x0000) - not-present page
 PGD 0 P4D 0
 Oops: 0000 \[\#1\] PREEMPT SMP NOPTI
 CPU: 1 PID: 1907 Comm: irq/131-rtw89\_p Tainted: G     U             6.6.56-05896-g89f5fb0eb30b \#1 (HASH:1400 4)
 Hardware name: Google Telith/Telith, BIOS Google\_Telith.15217.747.0 11/12/2024
 RIP: 0010:rtw89\_vif\_rx\_stats\_iter+0xd2/0x310 \[rtw89\_core\]
 Code: 4c 89 7d c8 48 89 55 c0 49 8d 44 24 02 48 89 45 b8 45 31 ff eb 11
 41 c6 45 3a 01 41 b7 01 4d 8b 6d 00 4d 39 f5 74 42 8b 43 10 \<41\> 33 45
 32 0f b7 4b 14 66 41 33 4d 36 0f b7 c9 09 c1 74 d8 4d 85
 RSP: 0018:ffff9f3080138ca0 EFLAGS: 00010246
 RAX: 00000000b8bf5770 RBX: ffff91b5e8c639c0 RCX: 0000000000000011
 RDX: ffff91b582de1be8 RSI: 0000000000000000 RDI: ffff91b5e8c639e6
 RBP: ffff9f3080138d00 R08: 0000000000000000 R09: 0000000000000000
 R10: ffff91b59de70000 R11: ffffffffc069be50 R12: ffff91b5e8c639e4
 R13: 0000000000000000 R14: ffff91b5828020b8 R15: 0000000000000000
 FS:  0000000000000000(0000) GS:ffff91b8efa40000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 0000000000000032 CR3: 00000002bf838000 CR4: 0000000000750ee0
 PKRU: 55555554
 Call Trace:
  \<IRQ\>
  ? \_\_die\_body+0x68/0xb0
  ? page\_fault\_oops+0x379/0x3e0
  ? exc\_page\_fault+0x4f/0xa0
  ? asm\_exc\_page\_fault+0x22/0x30
  ? \_\_pfx\_rtw89\_vif\_rx\_stats\_iter+0x10/0x10 \[rtw89\_core (HASH:1400 5)\]
  ? rtw89\_vif\_rx\_stats\_iter+0xd2/0x310 \[rtw89\_core (HASH:1400 5)\]
  \_\_iterate\_interfaces+0x59/0x110 \[mac80211 (HASH:1400 6)\]
  ? \_\_pfx\_rtw89\_vif\_rx\_stats\_iter+0x10/0x10 \[rtw89\_core (HASH:1400 5)\]
  ? \_\_pfx\_rtw89\_vif\_rx\_stats\_iter+0x10/0x10 \[rtw89\_core (HASH:1400 5)\]
  ieee80211\_iterate\_active\_interfaces\_atomic+0x36/0x50 \[mac80211 (HASH:1400 6)\]
  rtw89\_core\_rx\_to\_mac80211+0xfd/0x1b0 \[rtw89\_core (HASH:1400 5)\]
  rtw89\_core\_rx+0x43a/0x980 \[rtw89\_core (HASH:1400 5)\]

## Affected and fixed versions

- Linux: \>= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, \< 892b29eab44b1803d2cad8e50f1bc2144ef478cb; \>= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, \< 77a7a48f87d673a68664bebf044214821decbfda; \>= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, \< f3527ac15a00916e68ecb495b74dbe6a6c62a06f; \>= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, \< 4b525630729082f026e7030eafccf89e3add7eae; \>= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, \< 7e04f01bb94fe61c73cc59f0495c3b6c16a83231 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 7e04f01bb94fe61c73cc59f0495c3b6c16a83231 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-38646. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38646.md
Affected: Linux >= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, < 892b29eab44b1803d2cad8e50f1bc2144ef478cb; >= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, < 77a7a48f87d673a68664bebf044214821decbfda; >= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, < f3527ac15a00916e68ecb495b74dbe6a6c62a06f; >= c6aa9a9c47252ac7b07ed6d…
Fixed in: Linux 892b29eab44b1803d2cad8e50f1bc2144ef478cb, Linux 77a7a48f87d673a68664bebf044214821decbfda, Linux 4b525630729082f026e7030eafccf89e3add7eae, Linux 7e04f01bb94fe61c73cc59f0495c3b6c16a83231

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-38646 being exploited?

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

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

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

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

Linux \>= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, \< 892b29eab44b1803d2cad8e50f1bc2144ef478cb; \>= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, \< 77a7a48f87d673a68664bebf044214821decbfda; \>= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, \< f3527ac15a00916e68ecb495b74dbe6a6c62a06f; \>= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, \< 4b525630729082f026e7030eafccf89e3add7eae; \>= c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0, \< 7e04f01bb94fe61c73cc59f0495c3b6c16a83231; Linux 6.4.

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

Yes. Fixed in Linux 892b29eab44b1803d2cad8e50f1bc2144ef478cb, Linux 77a7a48f87d673a68664bebf044214821decbfda, Linux 4b525630729082f026e7030eafccf89e3add7eae, Linux 7e04f01bb94fe61c73cc59f0495c3b6c16a83231. Upgrade Linux to 7e04f01bb94fe61c73cc59f0495c3b6c16a83231 or later.

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

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/892b29eab44b1803d2cad8e50f1bc2144ef478cb>
- patch: <https://git.kernel.org/stable/c/77a7a48f87d673a68664bebf044214821decbfda>
- patch: <https://git.kernel.org/stable/c/f3527ac15a00916e68ecb495b74dbe6a6c62a06f>
- patch: <https://git.kernel.org/stable/c/4b525630729082f026e7030eafccf89e3add7eae>
- patch: <https://git.kernel.org/stable/c/7e04f01bb94fe61c73cc59f0495c3b6c16a83231>

## 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-38646>

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