{"id":58572,"date":"2026-05-30T08:03:59","date_gmt":"2026-05-30T08:03:59","guid":{"rendered":"https:\/\/zero.redgem.net\/?p=58572"},"modified":"2026-05-30T08:03:59","modified_gmt":"2026-05-30T08:03:59","slug":"net-ks8851-reinstate-disabling-of-bhs-around-irq-handler","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=58572","title":{"rendered":"net: ks8851: Reinstate disabling of BHs around IRQ handler_CVE-2026-46031"},"content":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;&#8221;,&#8221;description&#8221;:&#8221;In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: ks8851: Reinstate disabling of BHs around IRQ handler\\n\\nIf the driver executes ks8851_irq() AND a TX packet has been sent, then\\nthe driver enables TX queue via netif_wake_queue() which schedules TX\\nsoftirq to queue packets for this device.\\n\\nIf CONFIG_PREEMPT_RT=y is set AND a packet has also been received by\\nthe MAC, then ks8851_rx_pkts() calls netdev_alloc_skb_ip_align() to\\nallocate SKBs for the received packets. If netdev_alloc_skb_ip_align()\\nis called with BH enabled, then local_bh_enable() at the end of\\nnetdev_alloc_skb_ip_align() will trigger the pending softirq processing,\\nwhich may ultimately call the .xmit callback ks8851_start_xmit_par().\\nThe ks8851_start_xmit_par() will try to lock struct ks8851_net_par\\n.lock spinlock, which is already locked by ks8851_irq() from which\\nks8851_start_xmit_par() was called. This leads to a deadlock, which\\nis reported by the kernel, including a trace listed below.\\n\\nIf CONFIG_PREEMPT_RT is not set, then since commit 0913ec336a6c0\\n(\\&#8221;net: ks8851: Fix deadlock with the SPI chip variant\\&#8221;) the deadlock\\ncan also be triggered without received packet in the RX FIFO. The\\npending softirqs will be processed on return from\\nspin_unlock_bh(\\u0026ks-\\u003estatelock) in ks8851_irq(), which triggers the\\ndeadlock as well.\\n\\nFix the problem by disabling BH around critical sections, including the\\nIRQ handler, thus preventing the net_tx_action() softirq from triggering\\nduring these critical sections. The net_tx_action() softirq is triggered\\nonce BH are re-enabled and at the end of the IRQ handler, once all the\\nother IRQ handler actions have been completed.\\n\\n __schedule from schedule_rtlock+0x1c\/0x34\\n schedule_rtlock from rtlock_slowlock_locked+0x548\/0x904\\n rtlock_slowlock_locked from rt_spin_lock+0x60\/0x9c\\n rt_spin_lock from ks8851_start_xmit_par+0x74\/0x1a8\\n ks8851_start_xmit_par from netdev_start_xmit+0x20\/0x44\\n netdev_start_xmit from dev_hard_start_xmit+0xd0\/0x188\\n dev_hard_start_xmit from sch_direct_xmit+0xb8\/0x25c\\n sch_direct_xmit from __qdisc_run+0x1f8\/0x4ec\\n __qdisc_run from qdisc_run+0x1c\/0x28\\n qdisc_run from net_tx_action+0x1f0\/0x268\\n net_tx_action from handle_softirqs+0x1a4\/0x270\\n handle_softirqs from __local_bh_enable_ip+0xcc\/0xe0\\n __local_bh_enable_ip from __alloc_skb+0xd8\/0x128\\n __alloc_skb from __netdev_alloc_skb+0x3c\/0x19c\\n __netdev_alloc_skb from ks8851_irq+0x388\/0x4d4\\n ks8851_irq from irq_thread_fn+0x24\/0x64\\n irq_thread_fn from irq_thread+0x178\/0x28c\\n irq_thread from kthread+0x12c\/0x138\\n kthread from ret_from_fork+0x14\/0x28&#8243;,&#8221;published&#8221;:&#8221;2026-05-27T12:56:40.357Z&#8221;,&#8221;modified&#8221;:&#8221;2026-05-30T10:46:48.314Z&#8221;,&#8221;type&#8221;:&#8221;cve&#8221;,&#8221;title&#8221;:&#8221;net: ks8851: Reinstate disabling of BHs around IRQ handler&#8221;,&#8221;source&#8221;:&#8221;Linux&#8221;,&#8221;references&#8221;:&#8221;https:\/\/git.kernel.org\/stable\/c\/640a7631d31db87d5fa1b34cea44a99b6e78854b\\nhttps:\/\/git.kernel.org\/stable\/c\/518040324067d8efaa2da1992297b7e7bf5640f4\\nhttps:\/\/git.kernel.org\/stable\/c\/be8aad558b4675f45b43080f81a9ffdeddea73a5\\nhttps:\/\/git.kernel.org\/stable\/c\/21f1707a8e978558dcb11b053855521e32ac0eec\\nhttps:\/\/git.kernel.org\/stable\/c\/5c9fcac3c872224316714d0d8914d9af16c76a6d&#8221;,&#8221;id&#8221;:&#8221;CVE-2026-46031&#8243;,&#8221;bulletinFamily&#8221;:&#8221;&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:null,&#8221;sourceData&#8221;:&#8221;Linux Linux ae87f661f3c1a3134a7ed86ab69bf9f12af88993\\nLinux Linux e0863634bf9f7cf36291ebb5bfa2d16632f79c49\\nLinux Linux e0863634bf9f7cf36291ebb5bfa2d16632f79c49\\nLinux Linux e0863634bf9f7cf36291ebb5bfa2d16632f79c49\\nLinux Linux e0863634bf9f7cf36291ebb5bfa2d16632f79c49\\nLinux Linux 8a3ff43dcbab7c96f9e8cf2bd1049ab8d6e59545\\nLinux Linux 7e2901a2a9195da76111f351584bf77552a038f0\\nLinux Linux 6.6.31\\nLinux Linux 6.1.91\\nLinux Linux 6.8.10\\nLinux Linux 6.9&#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;ae87f661f3c1a3134a7ed86ab69bf9f12af88993&#8243;,&#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\\nnet: ks8851: Reinstate disabling of BHs around IRQ handler\\n\\nIf the driver executes ks8851_irq() AND a TX&#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-58572","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>net: ks8851: Reinstate disabling of BHs around IRQ handler_CVE-2026-46031 - 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=58572\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"net: ks8851: Reinstate disabling of BHs around IRQ handler_CVE-2026-46031 - 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:nnnet: ks8851: Reinstate disabling of BHs around IRQ handlernnIf the driver executes ks8851_irq() AND a TX...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=58572\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2026-05-30T08:03:59+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=58572#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=58572\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"net: ks8851: Reinstate disabling of BHs around IRQ handler_CVE-2026-46031\",\"datePublished\":\"2026-05-30T08:03:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=58572\"},\"wordCount\":781,\"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=58572#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=58572\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=58572\",\"name\":\"net: ks8851: Reinstate disabling of BHs around IRQ handler_CVE-2026-46031 - zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2026-05-30T08:03:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=58572#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=58572\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=58572#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"net: ks8851: Reinstate disabling of BHs around IRQ handler_CVE-2026-46031\"}]},{\"@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":"net: ks8851: Reinstate disabling of BHs around IRQ handler_CVE-2026-46031 - 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=58572","og_locale":"en_US","og_type":"article","og_title":"net: ks8851: Reinstate disabling of BHs around IRQ handler_CVE-2026-46031 - zero redgem","og_description":"{&#8220;lastseen&#8221;:&#8221;&#8221;,&#8221;description&#8221;:&#8221;In the Linux kernel, the following vulnerability has been resolved:nnnet: ks8851: Reinstate disabling of BHs around IRQ handlernnIf the driver executes ks8851_irq() AND a TX...","og_url":"https:\/\/zero.redgem.net\/?p=58572","og_site_name":"zero redgem","article_published_time":"2026-05-30T08:03:59+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=58572#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=58572"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"net: ks8851: Reinstate disabling of BHs around IRQ handler_CVE-2026-46031","datePublished":"2026-05-30T08:03:59+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=58572"},"wordCount":781,"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=58572#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=58572","url":"https:\/\/zero.redgem.net\/?p=58572","name":"net: ks8851: Reinstate disabling of BHs around IRQ handler_CVE-2026-46031 - zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2026-05-30T08:03:59+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=58572#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=58572"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=58572#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"net: ks8851: Reinstate disabling of BHs around IRQ handler_CVE-2026-46031"}]},{"@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\/58572","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=58572"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/58572\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=58572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=58572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=58572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}