# CVE-2023-53452: wifi: rtw89: fix potential race condition between napi\_init and napi\_enable

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.15% (percentile 2, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2025-10-01T11:42:23.831Z
- **Modified:** 2026-11-05T21:17:20.397Z

## Who should check

- Anyone running Linux \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< 39712c8aeb79691bcec8bd6ff658cde1651e0803; \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< aa48073c2f993e1b0c0bc66b03ae105cac0130bc; \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< b1b90c7df08ef385f95827ee3aee87bddd1ef5c5; \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< 47515664ecfbde11425dff121f298ae4499425c9
- Anyone running Linux 5.16

## Description

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

wifi: rtw89: fix potential race condition between napi\_init and napi\_enable

A race condition can happen if netdev is registered, but NAPI isn't
initialized yet, and meanwhile user space starts the netdev that will
enable NAPI. Then, it hits BUG\_ON():

 kernel BUG at net/core/dev.c:6423!
 invalid opcode: 0000 \[\#1\] PREEMPT SMP NOPTI
 CPU: 0 PID: 417 Comm: iwd Not tainted 6.2.7-slab-dirty \#3 eb0f5a8a9d91
 Hardware name: LENOVO 21DL/LNVNB161216, BIOS JPCN20WW(V1.06) 09/20/2022
 RIP: 0010:napi\_enable+0x3f/0x50
 Code: 48 89 c2 48 83 e2 f6 f6 81 89 08 00 00 02 74 0d 48 83 ...
 RSP: 0018:ffffada1414f3548 EFLAGS: 00010246
 RAX: 0000000000000000 RBX: ffffa01425802080 RCX: 0000000000000000
 RDX: 00000000000002ff RSI: ffffada14e50c614 RDI: ffffa01425808dc0
 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
 R10: 0000000000000001 R11: 0000000000000100 R12: ffffa01425808f58
 R13: 0000000000000000 R14: ffffa01423498940 R15: 0000000000000001
 FS:  00007f5577c0a740(0000) GS:ffffa0169fc00000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 00007f5577a19972 CR3: 0000000125a7a000 CR4: 0000000000750ef0
 PKRU: 55555554
 Call Trace:
  \<TASK\>
  rtw89\_pci\_ops\_start+0x1c/0x70 \[rtw89\_pci 6cbc75429515c181cbc386478d5cfb32ffc5a0f8\]
  rtw89\_core\_start+0xbe/0x160 \[rtw89\_core fe07ecb874820b6d778370d4acb6ef8a37847f22\]
  rtw89\_ops\_start+0x26/0x40 \[rtw89\_core fe07ecb874820b6d778370d4acb6ef8a37847f22\]
  drv\_start+0x42/0x100 \[mac80211 c07fa22af8c3cf3f7d7ab3884ca990784d72e2d2\]
  ieee80211\_do\_open+0x311/0x7d0 \[mac80211 c07fa22af8c3cf3f7d7ab3884ca990784d72e2d2\]
  ieee80211\_open+0x6a/0x90 \[mac80211 c07fa22af8c3cf3f7d7ab3884ca990784d72e2d2\]
  \_\_dev\_open+0xe0/0x180
  \_\_dev\_change\_flags+0x1da/0x250
  dev\_change\_flags+0x26/0x70
  do\_setlink+0x37c/0x12c0
  ? ep\_poll\_callback+0x246/0x290
  ? \_\_nla\_validate\_parse+0x61/0xd00
  ? \_\_wake\_up\_common\_lock+0x8f/0xd0

To fix this, follow Jonas' suggestion to switch the order of these
functions and move register netdev to be the last step of PCI probe.
Also, correct the error handling of rtw89\_core\_register\_hw().

## Affected and fixed versions

- Linux: \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< 39712c8aeb79691bcec8bd6ff658cde1651e0803; \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< aa48073c2f993e1b0c0bc66b03ae105cac0130bc; \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< b1b90c7df08ef385f95827ee3aee87bddd1ef5c5; \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< 47515664ecfbde11425dff121f298ae4499425c9 (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- Upgrade Linux to 47515664ecfbde11425dff121f298ae4499425c9 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53452.md
Affected: Linux >= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, < 39712c8aeb79691bcec8bd6ff658cde1651e0803; >= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, < aa48073c2f993e1b0c0bc66b03ae105cac0130bc; >= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, < b1b90c7df08ef385f95827ee3aee87bddd1ef5c5; >= e3ec7017f6a20d12ddd9fe2…
Fixed in: Linux 39712c8aeb79691bcec8bd6ff658cde1651e0803, Linux 47515664ecfbde11425dff121f298ae4499425c9

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-2023-53452 being exploited?

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

### How serious is CVE-2023-53452?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-53452?

Linux \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< 39712c8aeb79691bcec8bd6ff658cde1651e0803; \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< aa48073c2f993e1b0c0bc66b03ae105cac0130bc; \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< b1b90c7df08ef385f95827ee3aee87bddd1ef5c5; \>= e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd, \< 47515664ecfbde11425dff121f298ae4499425c9; Linux 5.16.

### Is there a fix for CVE-2023-53452?

Yes. Fixed in Linux 39712c8aeb79691bcec8bd6ff658cde1651e0803, Linux 47515664ecfbde11425dff121f298ae4499425c9. Upgrade Linux to 47515664ecfbde11425dff121f298ae4499425c9 or later.

### How do I check if I'm affected by CVE-2023-53452?

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/39712c8aeb79691bcec8bd6ff658cde1651e0803>
- patch: <https://git.kernel.org/stable/c/aa48073c2f993e1b0c0bc66b03ae105cac0130bc>
- patch: <https://git.kernel.org/stable/c/b1b90c7df08ef385f95827ee3aee87bddd1ef5c5>
- patch: <https://git.kernel.org/stable/c/47515664ecfbde11425dff121f298ae4499425c9>

## 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-2023-53452>

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