{"id":"CVE-2026-90433","aliases":["CVE-2026-90433"],"related":[],"kind":"vulnerability","state":"published","title":"spi: oc-tiny: switch to managed controller allocation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-17T16:09:53.085Z","modified":"2026-10-30T13:20:52.980Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ce792580ea2ce6f7259b45124e9ccc4574c31606","fixed":"a2f1c58864fc3612c230a9d5cc1929e1ffe348ac","status":"affected"},{"type":"git","introduced":"ce792580ea2ce6f7259b45124e9ccc4574c31606","fixed":"9265fa8190312b87637def1382d36fc16de3b8e8","status":"affected"},{"type":"git","introduced":"ce792580ea2ce6f7259b45124e9ccc4574c31606","fixed":"0260c94453a08491640e61f8cf0c384edbe7bd11","status":"affected"},{"type":"git","introduced":"ce792580ea2ce6f7259b45124e9ccc4574c31606","fixed":"ef5cc4a8c088d05549f71950a72b5deff5000fd7","status":"affected"},{"type":"git","introduced":"ce792580ea2ce6f7259b45124e9ccc4574c31606","fixed":"1cd16c8d68f58e54abb8f331d05469237200631f","status":"affected"},{"type":"git","introduced":"ce792580ea2ce6f7259b45124e9ccc4574c31606","fixed":"d710f43ce30975d197f73c543bfe47b958d8ba17","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.39","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.39","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/a2f1c58864fc3612c230a9d5cc1929e1ffe348ac","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9265fa8190312b87637def1382d36fc16de3b8e8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0260c94453a08491640e61f8cf0c384edbe7bd11","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef5cc4a8c088d05549f71950a72b5deff5000fd7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1cd16c8d68f58e54abb8f331d05469237200631f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d710f43ce30975d197f73c543bfe47b958d8ba17","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90433","url":"https://www.cve.org/CVERecord?id=CVE-2026-90433","licence":"CVE Terms of Use","modified":"2026-10-30T12:35:35.625Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90433","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90433","licence":"Public domain","modified":"2026-10-30T13:20:52.980Z"}],"updatedAt":"2026-11-25T22:59:39.415Z","epss":{"score":0.00173,"percentile":0.07038,"date":"2026-12-01T12:00:22.000Z"}}