{"id":25819,"date":"2026-09-18T04:31:56","date_gmt":"2026-09-17T20:31:56","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90410"},"modified":"2026-09-18T04:31:56","modified_gmt":"2026-09-17T20:31:56","slug":"cve-2026-90410","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90410","title":{"rendered":"CVE-2026-90410 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nspi: davinci: switch"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>spi: davinci: switch to managed controller allocation<\/p>\n<p>The controller is allocated with the non-managed spi_alloc_host() while<br \/>\nthe interrupt is registered with devm_request_threaded_irq().  During<br \/>\nremoval, spi_bitbang_stop() only unregisters the controller; the<br \/>\nsubsequent spi_controller_put() then frees the controller together with<br \/>\nits embedded davinci_spi devdata, which is the IRQ handler&#8217;s dev_id.<br \/>\nThe devm_request_threaded_irq() release action (free_irq()), which<br \/>\ndrains the handler, does not run until after .remove() returns.  A late<br \/>\nor latched interrupt can therefore reach davinci_spi_irq() and<br \/>\ndereference already-freed memory.<\/p>\n<p>Switch to devm_spi_alloc_host() so that the devres LIFO order releases<br \/>\nthe controller only after free_irq() has drained the handler, and drop<br \/>\nthe now-redundant spi_controller_put() from .remove().  The probe error<br \/>\npath is simplified to direct returns.<\/p>\n<p>The clock is acquired with devm_clk_get_enabled(), which is registered<br \/>\nafter the IRQ and thus released before it by the devres LIFO order.<br \/>\nDrain the interrupt explicitly with devm_free_irq() before disabling the<br \/>\ncontroller so that a late interrupt cannot access the registers of a<br \/>\nclock-gated controller.<\/p>\n<p>This issue was found by an in-house static analysis tool.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>spi: davinci: switch to managed controller allocation<\/p>\n<p>The controller is allocated with the non-managed spi_alloc_host() while<br \/>\nthe <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-25819","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/25819","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25819"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25819"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}