{"id":66541,"date":"2026-06-28T03:26:13","date_gmt":"2026-06-28T03:26:13","guid":{"rendered":"https:\/\/zero.redgem.net\/?p=66541"},"modified":"2026-06-28T03:26:13","modified_gmt":"2026-06-28T03:26:13","slug":"revert-wireguard-device-enable-threaded-napi","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=66541","title":{"rendered":"Revert &#8220;wireguard: device: enable threaded NAPI&#8221;_CVE-2026-52945"},"content":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;&#8221;,&#8221;description&#8221;:&#8221;In the Linux kernel, the following vulnerability has been resolved:\\n\\nRevert \\&#8221;wireguard: device: enable threaded NAPI\\&#8221;\\n\\nThis reverts commit 933466fc50a8e4eb167acbd0d8ec96a078462e9c which is\\ncommit db9ae3b6b43c79b1ba87eea849fd65efa05b4b2e upstream.\\n\\nWe have had three independent production user reports in combination\\nwith Cilium utilizing WireGuard as encryption underneath that k8s Pod\\nE\/W traffic to certain peer nodes fully stalled. The situation appears\\nas follows:\\n\\n  &#8211; Occurs very rarely but at random times under heavy networking load.\\n  &#8211; Once the issue triggers the decryption side stops working completely\\n    for that WireGuard peer, other peers keep working fine. The stall\\n    happens also for newly initiated connections towards that particular\\n    WireGuard peer.\\n  &#8211; Only the decryption side is affected, never the encryption side.\\n  &#8211; Once it triggers, it never recovers and remains in this state,\\n    the CPU\/mem on that node looks normal, no leak, busy loop or crash.\\n  &#8211; bpftrace on the affected system shows that wg_prev_queue_enqueue\\n    fails, thus the MAX_QUEUED_PACKETS (1024 skbs!) for the peer&#8217;s\\n    rx_queue is reached.\\n  &#8211; Also, bpftrace shows that wg_packet_rx_poll for that peer is never\\n    called again after reaching this state for that peer. For other\\n    peers wg_packet_rx_poll does get called normally.\\n  &#8211; Commit db9ae3b (\\&#8221;wireguard: device: enable threaded NAPI\\&#8221;)\\n    switched WireGuard to threaded NAPI by default. The default has\\n    not been changed for triggering the issue, neither did CPU\\n    hotplugging occur (i.e. 5bd8de2 (\\&#8221;wireguard: queueing: always\\n    return valid online CPU in wg_cpumask_choose_online()\\&#8221;)).\\n  &#8211; The issue has been observed with stable kernels of v5.15 as well as\\n    v6.1. It was reported to us that v5.10 stable is working fine, and\\n    no report on v6.6 stable either (somewhat related discussion in [0]\\n    though).\\n  &#8211; In the WireGuard driver the only material difference between v5.10\\n    stable and v5.15 stable is the switch to threaded NAPI by default.\\n\\n    [0] https:\/\/lore.kernel.org\/netdev\/CA+wXwBTT74RErDGAnj98PqS=wvdh8eM1pi4q6tTdExtjnokKqA@mail.gmail.com\/\\n\\nBreakdown of the problem:\\n\\n  1) skbs arriving for decryption are enqueued to the peer-\\u003erx_queue in\\n     wg_packet_consume_data via wg_queue_enqueue_per_device_and_peer.\\n  2) The latter only moves the skb into the MPSC peer queue if it does\\n     not surpass MAX_QUEUED_PACKETS (1024) which is kept track in an\\n     atomic counter via wg_prev_queue_enqueue.\\n  3) In case enqueueing was successful, the skb is also queued up\\n     in the device queue, round-robin picks a next online CPU, and\\n     schedules the decryption worker.\\n  4) The wg_packet_decrypt_worker, once scheduled, picks these up\\n     from the queue, decrypts the packets and once done calls into\\n     wg_queue_enqueue_per_peer_rx.\\n  5) The latter updates the state to PACKET_STATE_CRYPTED on success\\n     and calls napi_schedule on the per peer-\\u003enapi instance.\\n  6) NAPI then polls via wg_packet_rx_poll. wg_prev_queue_peek checks\\n     on the peer-\\u003erx_queue. It will wg_prev_queue_dequeue if the\\n     queue-\\u003epeeked skb was not cached yet, or just return the latter\\n     otherwise. (wg_prev_queue_drop_peeked later clears the cache.)\\n  7) From an ordering perspective, the peer-\\u003erx_queue has skbs in order\\n     while the device queue with the per-CPU worker threads from a\\n     global ordering PoV can finish the decryption and signal the skb\\n     PACKET_STATE_CRYPTED out of order.\\n  8) A situation can be observed that the first packet coming in will\\n     be stuck waiting for the decryption worker to be scheduled for\\n     a longer time when the system is under pressure.\\n  9) While this is the case, the other CPUs in the meantime finish\\n     decryption and call into napi_schedule.\\n 10) Now in wg_packet_rx_poll it picks up the first in-order skb\\n     from the peer-\\u003erx_queue and sees that its state is still\\n     PACKET_STATE_UNCRYPTED. The NAPI poll routine then exits e\\n&#8212;truncated&#8212;&#8220;,&#8221;published&#8221;:&#8221;2026-06-24T16:26:03.313Z&#8221;,&#8221;modified&#8221;:&#8221;2026-06-28T06:37:02.797Z&#8221;,&#8221;type&#8221;:&#8221;cve&#8221;,&#8221;title&#8221;:&#8221;Revert \\&#8221;wireguard: device: enable threaded NAPI\\&#8221;&#8221;,&#8221;source&#8221;:&#8221;Linux&#8221;,&#8221;references&#8221;:&#8221;https:\/\/git.kernel.org\/stable\/c\/e94b369ff82f9bc84f090f271bd78f41c9f6ab2f&#8221;,&#8221;id&#8221;:&#8221;CVE-2026-52945&#8243;,&#8221;bulletinFamily&#8221;:&#8221;&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:null,&#8221;sourceData&#8221;:&#8221;Linux Linux 933466fc50a8e4eb167acbd0d8ec96a078462e9c\\nLinux Linux 6.12.34&#8243;,&#8221;sourceHref&#8221;:&#8221;&#8221;,&#8221;cvss&#8221;:{&#8220;score&#8221;:7.5,&#8221;severity&#8221;:&#8221;HIGH&#8221;,&#8221;vector&#8221;:&#8221;CVSS:3.1\/AV:N\/AC:L\/PR:N\/UI:N\/S:U\/C:N\/I:N\/A:H&#8221;,&#8221;version&#8221;:&#8221;3.1&#8243;},&#8221;cvss2&#8243;:{},&#8221;cvss3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;,&#8221;cvssV3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;}},&#8221;href&#8221;:&#8221;&#8221;,&#8221;category_name&#8221;:&#8221;CVE&#8221;,&#8221;post_link&#8221;:&#8221;&#8221;,&#8221;product&#8221;:&#8221;Linux&#8221;,&#8221;version&#8221;:&#8221;933466fc50a8e4eb167acbd0d8ec96a078462e9c&#8221;,&#8221;vendor&#8221;:&#8221;Linux&#8221;,&#8221;ai_description&#8221;:&#8221;&#8221;,&#8221;ai_severity&#8221;:&#8221;&#8221;,&#8221;ai_vendor&#8221;:&#8221;&#8221;,&#8221;ai_product&#8221;:&#8221;&#8221;,&#8221;ai_version&#8221;:&#8221;&#8221;,&#8221;ai_score&#8221;:0}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;&#8221;,&#8221;description&#8221;:&#8221;In the Linux kernel, the following vulnerability has been resolved:\\n\\nRevert \\&#8221;wireguard: device: enable threaded NAPI\\&#8221;\\n\\nThis reverts commit 933466fc50a8e4eb167acbd0d8ec96a078462e9c which is\\ncommit db9ae3b6b43c79b1ba87eea849fd65efa05b4b2e upstream.\\n\\nWe have had three&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[6,8,16,12,15,13,7,11,5],"class_list":["post-66541","post","type-post","status-publish","format-standard","hentry","category-category_cve","tag-cve","tag-cvss","tag-cvss-75","tag-exploit","tag-high","tag-news","tag-security","tag-tapic","tag-vulnerability"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Revert &quot;wireguard: device: enable threaded NAPI&quot;_CVE-2026-52945 - zero redgem<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zero.redgem.net\/?p=66541\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Revert &quot;wireguard: device: enable threaded NAPI&quot;_CVE-2026-52945 - zero redgem\" \/>\n<meta property=\"og:description\" content=\"{&#8220;lastseen&#8221;:&#8221;&#8221;,&#8221;description&#8221;:&#8221;In the Linux kernel, the following vulnerability has been resolved:nnRevert &#8221;wireguard: device: enable threaded NAPI&#8221;nnThis reverts commit 933466fc50a8e4eb167acbd0d8ec96a078462e9c which isncommit db9ae3b6b43c79b1ba87eea849fd65efa05b4b2e upstream.nnWe have had three...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=66541\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-28T03:26:13+00:00\" \/>\n<meta name=\"author\" content=\"invoker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"invoker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=66541#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=66541\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"Revert &#8220;wireguard: device: enable threaded NAPI&#8221;_CVE-2026-52945\",\"datePublished\":\"2026-06-28T03:26:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=66541\"},\"wordCount\":884,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CVE\",\"CVSS\",\"CVSS-7.5\",\"exploit\",\"HIGH\",\"news\",\"Security\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_cve\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=66541#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=66541\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=66541\",\"name\":\"Revert \\\"wireguard: device: enable threaded NAPI\\\"_CVE-2026-52945 - zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2026-06-28T03:26:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=66541#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=66541\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=66541#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Revert &#8220;wireguard: device: enable threaded NAPI&#8221;_CVE-2026-52945\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"name\":\"zero redgem\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zero.redgem.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\",\"name\":\"zero redgem\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":191,\"height\":188,\"caption\":\"zero redgem\"},\"image\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\",\"name\":\"invoker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"caption\":\"invoker\"},\"sameAs\":[\"https:\\\/\\\/zero.redgem.net\"],\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Revert \"wireguard: device: enable threaded NAPI\"_CVE-2026-52945 - zero redgem","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zero.redgem.net\/?p=66541","og_locale":"en_US","og_type":"article","og_title":"Revert \"wireguard: device: enable threaded NAPI\"_CVE-2026-52945 - zero redgem","og_description":"{&#8220;lastseen&#8221;:&#8221;&#8221;,&#8221;description&#8221;:&#8221;In the Linux kernel, the following vulnerability has been resolved:nnRevert &#8221;wireguard: device: enable threaded NAPI&#8221;nnThis reverts commit 933466fc50a8e4eb167acbd0d8ec96a078462e9c which isncommit db9ae3b6b43c79b1ba87eea849fd65efa05b4b2e upstream.nnWe have had three...","og_url":"https:\/\/zero.redgem.net\/?p=66541","og_site_name":"zero redgem","article_published_time":"2026-06-28T03:26:13+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=66541#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=66541"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"Revert &#8220;wireguard: device: enable threaded NAPI&#8221;_CVE-2026-52945","datePublished":"2026-06-28T03:26:13+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=66541"},"wordCount":884,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CVE","CVSS","CVSS-7.5","exploit","HIGH","news","Security","tapic","Vulnerability"],"articleSection":["category_cve"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=66541#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=66541","url":"https:\/\/zero.redgem.net\/?p=66541","name":"Revert \"wireguard: device: enable threaded NAPI\"_CVE-2026-52945 - zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2026-06-28T03:26:13+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=66541#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=66541"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=66541#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"Revert &#8220;wireguard: device: enable threaded NAPI&#8221;_CVE-2026-52945"}]},{"@type":"WebSite","@id":"https:\/\/zero.redgem.net\/#website","url":"https:\/\/zero.redgem.net\/","name":"zero redgem","description":"","publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zero.redgem.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/zero.redgem.net\/#organization","name":"zero redgem","url":"https:\/\/zero.redgem.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":191,"height":188,"caption":"zero redgem"},"image":{"@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca","name":"invoker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","caption":"invoker"},"sameAs":["https:\/\/zero.redgem.net"],"url":"https:\/\/zero.redgem.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/66541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=66541"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/66541\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=66541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=66541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=66541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}