CVE-2026-52945
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn 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---
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceWireGuard's switch to threaded NAPI by default causes a race condition where the decryption worker schedules out of order relative to packet arrival. When the first packet waits for scheduling, other CPUs complete decryption and trigger NAPI polling, which then finds the first packet still in PACKET_STATE_UNCRYPTED and exits early. This creates a deadlock where the peer->rx_queue fills to capacity (1024 skbs) and the NAPI poll never recovers for that peer, permanently stalling all decryption for that WireGuard peer.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 5.15.186, < 5.15.201>= 6.1.142, < 6.1.164>= 6.6.94, < 6.6.127>= 6.12.34, < 6.12.74>= 6.15.3, < 6.16CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check kernel versionRun `uname -r` to get the running kernel versionAffected if The version falls within any of these ranges: 5.15.186 to 5.15.201, 6.1.142 to 6.1.164, 6.6.94 to 6.6.127, 6.12.34 to 6.12.74, or 6.15.3 to 6.15 (excluding the fixed versions)
-
Verify WireGuard module is loadedRun `lsmod | grep wireguard` or check `/sys/module/wireguard/version` if availableAffected if The WireGuard kernel module is currently loaded in memory
-
Check if threaded NAPI is enabled for WireGuardCheck WireGuard module parameters: `modinfo wireguard` for available parameters, then inspect values in `/sys/module/wireguard/parameters/` if a threaded NAPI parameter exists (such as `napi_threded` or similar)Affected if Threaded NAPI mode is explicitly enabled for the WireGuard module
-
Check for stalled WireGuard peersMonitor peer receive queues using `wg show wg0 dump` (replace wg0 with interface name) and look for peers where `rx_bytes` has not increased despite traffic, or check `wg show` for peer count and queue depthsAffected if Peers show zero or stale receive bytes while network traffic is expected, indicating possible decryption stalls
-
Inspect NAPI polling stateCheck `/proc/net/stat/wireguard` or use `nstat -z` to monitor NAPI poll statistics for the WireGuard interface, looking for polls that exit early without processing the expected number of packetsAffected if NAPI polls exit without dequeuing packets, causing receive queues to accumulate toward the 1024-skb limit
You are affected if your kernel version is in the affected ranges, WireGuard is loaded, threaded NAPI is enabled, and you observe stalled peer decryption with growing receive queues.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped5.15.2016.1.1646.6.127
Revert the threaded NAPI change (commit db9ae3b6b43c79b1ba87eea849fd65efa05b4b2e) or disable threaded NAPI for WireGuard by setting the device-specific NAPI configuration to non-threaded mode.
Linux kernel 5.15.201+, 6.1.164+, 6.6.127+, or 6.12.74+ (depending on your stable branch)
- Identify the currently running Linux kernel version using `uname -r`
- Check if the version falls within any of the affected ranges: 5.15.186-5.15.200, 6.1.142-6.1.163, 6.6.94-6.6.126, or 6.12.34-6.12.73
- If affected, schedule a maintenance window for kernel upgrade
- Upgrade the Linux kernel to a fixed version: 5.15.201 or later for 5.15.x, 6.1.164 or later for 6.1.x, 6.6.127 or later for 6.6.x, or 6.12.74 or later for 6.12.x
- Reboot the system to load the new kernel
- Verify the fix by checking the kernel version with `uname -r` and confirming it is >= the fixed version for your branch
- If upgrade is not immediately possible, consider disabling WireGuard threaded NAPI as a temporary mitigation by setting the module parameter or sysctl (if available)
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation2.0 h
- Testing8.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,352.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-52945 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-52945 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data