{"id":"CVE-2026-90433","published":"2026-09-17T16:09:53Z","modified":"2026-10-30T12:35:35Z","title":"spi: oc-tiny: switch to managed controller allocation","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: oc-tiny: switch to managed controller allocation\n\nThe controller is allocated with the non-managed spi_alloc_host() while\nthe interrupt is registered with devm_request_irq().  During removal,\nspi_bitbang_stop() only unregisters the controller; the subsequent\nspi_controller_put() then frees the controller together with its\nembedded driver-private devdata, which is the IRQ handler's dev_id.  The\ndevm_request_irq() release action (free_irq()), which drains the\nhandler, does not run until after .remove() returns.  A late or latched\ninterrupt can therefore reach tiny_spi_irq() and dereference\nalready-freed memory (e.g. hw->base).\n\nSwitch to devm_spi_alloc_host() so that the devres LIFO order releases\nthe controller only after free_irq() has drained the handler, and drop\nthe now-redundant spi_controller_put() from .remove().  The probe error\npath is simplified to direct returns.\n\nThis issue was found by an in-house static analysis tool.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00215,"percentile":0.11866,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a2f1c58864fc3612c230a9d5cc1929e1ffe348ac","tags":[]},{"url":"https://git.kernel.org/stable/c/9265fa8190312b87637def1382d36fc16de3b8e8","tags":[]},{"url":"https://git.kernel.org/stable/c/0260c94453a08491640e61f8cf0c384edbe7bd11","tags":[]},{"url":"https://git.kernel.org/stable/c/ef5cc4a8c088d05549f71950a72b5deff5000fd7","tags":[]},{"url":"https://git.kernel.org/stable/c/1cd16c8d68f58e54abb8f331d05469237200631f","tags":[]},{"url":"https://git.kernel.org/stable/c/d710f43ce30975d197f73c543bfe47b958d8ba17","tags":[]}],"priority":{"score":2.4,"factors":[{"name":"EPSS percentile","points":2.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ce792580ea2ce6f7259b45124e9ccc4574c31606, < a2f1c58864fc3612c230a9d5cc1929e1ffe348ac",">= ce792580ea2ce6f7259b45124e9ccc4574c31606, < 9265fa8190312b87637def1382d36fc16de3b8e8",">= ce792580ea2ce6f7259b45124e9ccc4574c31606, < 0260c94453a08491640e61f8cf0c384edbe7bd11",">= ce792580ea2ce6f7259b45124e9ccc4574c31606, < ef5cc4a8c088d05549f71950a72b5deff5000fd7",">= ce792580ea2ce6f7259b45124e9ccc4574c31606, < 1cd16c8d68f58e54abb8f331d05469237200631f",">= ce792580ea2ce6f7259b45124e9ccc4574c31606, < d710f43ce30975d197f73c543bfe47b958d8ba17"]},{"vendor":"Linux","product":"Linux","versions":["2.6.39"]}],"euvd":{"id":"EUVD-2026-82094","exploited":false,"provenance":"source"}}