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:
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->rxqueue in wgpacketconsumedata via wgqueueenqueueperdeviceandpeer. 2) The latter only moves the skb into the MPSC peer queue if it does not surpass MAXQUEUEDPACKETS (1024) which is kept track in an atomic counter via wgprevqueueenqueue. 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 wgpacketdecryptworker, once scheduled, picks these up from the queue, decrypts the packets and once done calls into wgqueueenqueueperpeerrx. 5) The latter updates the state to PACKETSTATECRYPTED on success and calls napischedule on the per peer->napi instance. 6) NAPI then polls via wgpacketrxpoll. wgprevqueuepeek checks on the peer->rxqueue. It will wgprevqueuedequeue if the queue->peeked skb was not cached yet, or just return the latter otherwise. (wgprevqueuedroppeeked later clears the cache.) 7) From an ordering perspective, the peer->rxqueue 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 PACKETSTATECRYPTED 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 napischedule. 10) Now in wgpacketrxpoll it picks up the first in-order skb from the peer->rxqueue and sees that its state is still PACKETSTATEUNCRYPTED. The NAPI poll routine then exits e ---truncated---
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52945.json",
"cna_assigner": "Linux"
}