{"id":"CVE-2026-90433","summary":"spi: oc-tiny: switch to managed controller allocation","details":"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-\u003ebase).\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.","modified":"2026-09-19T03:47:26.427580414Z","published":"2026-09-17T16:09:53.085Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90433.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0260c94453a08491640e61f8cf0c384edbe7bd11"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1cd16c8d68f58e54abb8f331d05469237200631f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d710f43ce30975d197f73c543bfe47b958d8ba17"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ef5cc4a8c088d05549f71950a72b5deff5000fd7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90433.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90433"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ce792580ea2ce6f7259b45124e9ccc4574c31606"},{"fixed":"0260c94453a08491640e61f8cf0c384edbe7bd11"},{"fixed":"ef5cc4a8c088d05549f71950a72b5deff5000fd7"},{"fixed":"1cd16c8d68f58e54abb8f331d05469237200631f"},{"fixed":"d710f43ce30975d197f73c543bfe47b958d8ba17"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90433.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.39"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90433.json"}}],"schema_version":"1.9.0"}