# CVE-2026-52945: Revert "wireguard: device: enable threaded NAPI"

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-06-24T16:26:03.313Z
- **Modified:** 2026-10-19T20:18:49.010Z

## Who should check

- Anyone running Linux \>= 18e65229a328304a7ef59899a30fd34ad73ed56b, \< cfdb22762f903d95c36ab91e9fe6167f22fa9f6d; \>= fb978675ccfd4a93549e49624127d8332cc61cbf, \< 42bc3f45425b607a5ca7b7aaaab661b54407c8f8; \>= 8c9e9cd398777fd60ba202211da1110614cb5bc5, \< 168ee1549fa24fff2ab924a2ca7b1d85f30e062d; \>= 933466fc50a8e4eb167acbd0d8ec96a078462e9c, \< e94b369ff82f9bc84f090f271bd78f41c9f6ab2f; aba544ff9ec522e120b1b3d8b32efa4e6d16d4d7; \>= 6.15.3, \< 6.16
- Anyone running Linux \>= 5.15.186, \< 5.15.201; \>= 6.1.142, \< 6.1.164; \>= 6.6.94, \< 6.6.127; \>= 6.12.34, \< 6.12.74

## Description

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

Revert "wireguard: device: enable threaded NAPI"

This reverts commit 933466fc50a8e4eb167acbd0d8ec96a078462e9c which is
commit db9ae3b6b43c79b1ba87eea849fd65efa05b4b2e upstream.

We have had three independent production user reports in combination
with Cilium utilizing WireGuard as encryption underneath that k8s Pod
E/W traffic to certain peer nodes fully stalled. The situation appears
as follows:

  - Occurs very rarely but at random times under heavy networking load.
  - Once the issue triggers the decryption side stops working completely
    for that WireGuard peer, other peers keep working fine. The stall
    happens also for newly initiated connections towards that particular
    WireGuard peer.
  - Only the decryption side is affected, never the encryption side.
  - Once it triggers, it never recovers and remains in this state,
    the CPU/mem on that node looks normal, no leak, busy loop or crash.
  - bpftrace on the affected system shows that wg\_prev\_queue\_enqueue
    fails, thus the MAX\_QUEUED\_PACKETS (1024 skbs!) for the peer's
    rx\_queue is reached.
  - Also, bpftrace shows that wg\_packet\_rx\_poll for that peer is never
    called again after reaching this state for that peer. For other
    peers wg\_packet\_rx\_poll does get called normally.
  - Commit db9ae3b ("wireguard: device: enable threaded NAPI")
    switched WireGuard to threaded NAPI by default. The default has
    not been changed for triggering the issue, neither did CPU
    hotplugging occur (i.e. 5bd8de2 ("wireguard: queueing: always
    return valid online CPU in wg\_cpumask\_choose\_online()")).
  - The issue has been observed with stable kernels of v5.15 as well as
    v6.1. It was reported to us that v5.10 stable is working fine, and
    no report on v6.6 stable either (somewhat related discussion in \[0\]
    though).
  - In the WireGuard driver the only material difference between v5.10
    stable and v5.15 stable is the switch to threaded NAPI by default.

    \[0\] https://lore.kernel.org/netdev/CA+wXwBTT74RErDGAnj98PqS=wvdh8eM1pi4q6tTdExtjnokKqA@mail.gmail.com/

Breakdown of the problem:

  1) skbs arriving for decryption are enqueued to the peer-\>rx\_queue in
     wg\_packet\_consume\_data via wg\_queue\_enqueue\_per\_device\_and\_peer.
  2) The latter only moves the skb into the MPSC peer queue if it does
     not surpass MAX\_QUEUED\_PACKETS (1024) which is kept track in an
     atomic counter via wg\_prev\_queue\_enqueue.
  3) In case enqueueing was successful, the skb is also queued up
     in the device queue, round-robin picks a next online CPU, and
     schedules the decryption worker.
  4) The wg\_packet\_decrypt\_worker, once scheduled, picks these up
     from the queue, decrypts the packets and once done calls into
     wg\_queue\_enqueue\_per\_peer\_rx.
  5) The latter updates the state to PACKET\_STATE\_CRYPTED on success
     and calls napi\_schedule on the per peer-\>napi instance.
  6) NAPI then polls via wg\_packet\_rx\_poll. wg\_prev\_queue\_peek checks
     on the peer-\>rx\_queue. It will wg\_prev\_queue\_dequeue if the
     queue-\>peeked skb was not cached yet, or just return the latter
     otherwise. (wg\_prev\_queue\_drop\_peeked later clears the cache.)
  7) From an ordering perspective, the peer-\>rx\_queue has skbs in order
     while the device queue with the per-CPU worker threads from a
     global ordering PoV can finish the decryption and signal the skb
     PACKET\_STATE\_CRYPTED out of order.
  8) A situation can be observed that the first packet coming in will
     be stuck waiting for the decryption worker to be scheduled for
     a longer time when the system is under pressure.
  9) While this is the case, the other CPUs in the meantime finish
     decryption and call into napi\_schedule.
 10) Now in wg\_packet\_rx\_poll it picks up the first in-order skb
     from the peer-\>rx\_queue and sees that its state is still
     PACKET\_STATE\_UNCRYPTED. The NAPI poll routine then exits e
---truncated---

## Affected and fixed versions

- Linux: \>= 18e65229a328304a7ef59899a30fd34ad73ed56b, \< cfdb22762f903d95c36ab91e9fe6167f22fa9f6d; \>= fb978675ccfd4a93549e49624127d8332cc61cbf, \< 42bc3f45425b607a5ca7b7aaaab661b54407c8f8; \>= 8c9e9cd398777fd60ba202211da1110614cb5bc5, \< 168ee1549fa24fff2ab924a2ca7b1d85f30e062d; \>= 933466fc50a8e4eb167acbd0d8ec96a078462e9c, \< e94b369ff82f9bc84f090f271bd78f41c9f6ab2f; aba544ff9ec522e120b1b3d8b32efa4e6d16d4d7; \>= 6.15.3, \< 6.16 (cvelist)
- Linux: \>= 5.15.186, \< 5.15.201; \>= 6.1.142, \< 6.1.164; \>= 6.6.94, \< 6.6.127; \>= 6.12.34, \< 6.12.74 (cvelist)

## Mitigation

- Upgrade Linux to 6.16 or later.
- Upgrade Linux to 6.12.74 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-52945.md
Affected: Linux >= 18e65229a328304a7ef59899a30fd34ad73ed56b, < cfdb22762f903d95c36ab91e9fe6167f22fa9f6d; >= fb978675ccfd4a93549e49624127d8332cc61cbf, < 42bc3f45425b607a5ca7b7aaaab661b54407c8f8; >= 8c9e9cd398777fd60ba202211da1110614cb5bc5, < 168ee1549fa24fff2ab924a2ca7b1d85f30e062d; >= 933466fc50a8e4eb167acbd…
Fixed in: Linux 42bc3f45425b607a5ca7b7aaaab661b54407c8f8, Linux 168ee1549fa24fff2ab924a2ca7b1d85f30e062d, Linux 6.16, Linux 5.15.201, Linux 6.1.164, Linux 6.6.127, Linux 6.12.74

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-2026-52945 being exploited?

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

### How serious is CVE-2026-52945?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-52945?

Linux \>= 18e65229a328304a7ef59899a30fd34ad73ed56b, \< cfdb22762f903d95c36ab91e9fe6167f22fa9f6d; \>= fb978675ccfd4a93549e49624127d8332cc61cbf, \< 42bc3f45425b607a5ca7b7aaaab661b54407c8f8; \>= 8c9e9cd398777fd60ba202211da1110614cb5bc5, \< 168ee1549fa24fff2ab924a2ca7b1d85f30e062d; \>= 933466fc50a8e4eb167acbd0d8ec96a078462e9c, \< e94b369ff82f9bc84f090f271bd78f41c9f6ab2f; aba544ff9ec522e120b1b3d8b32efa4e6d16d4d7; \>= 6.15.3, \< 6.16; Linux \>= 5.15.186, \< 5.15.201; \>= 6.1.142, \< 6.1.164; \>= 6.6.94, \< 6.6.127; \>= 6.12.34, \< 6.12.74.

### Is there a fix for CVE-2026-52945?

Yes. Fixed in Linux 42bc3f45425b607a5ca7b7aaaab661b54407c8f8, Linux 168ee1549fa24fff2ab924a2ca7b1d85f30e062d, Linux 6.16, Linux 5.15.201, Linux 6.1.164, Linux 6.6.127, Linux 6.12.74. Upgrade Linux to 6.16 or later. Upgrade Linux to 6.12.74 or later.

### How do I check if I'm affected by CVE-2026-52945?

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/cfdb22762f903d95c36ab91e9fe6167f22fa9f6d>
- patch: <https://git.kernel.org/stable/c/42bc3f45425b607a5ca7b7aaaab661b54407c8f8>
- patch: <https://git.kernel.org/stable/c/168ee1549fa24fff2ab924a2ca7b1d85f30e062d>
- patch: <https://git.kernel.org/stable/c/e94b369ff82f9bc84f090f271bd78f41c9f6ab2f>

## 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-2026-52945>

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