CVE-2026-45996 PUBLISHED

spi: imx: fix use-after-free on unbind

Assigner: Linux
Reserved: 13.05.2026 Published: 27.05.2026 Updated: 27.05.2026

In the Linux kernel, the following vulnerability has been resolved:

spi: imx: fix use-after-free on unbind

The SPI subsystem frees the controller and any subsystem allocated driver data as part of deregistration (unless the allocation is device managed).

Take another reference before deregistering the controller so that the driver data is not freed until the driver is done with it.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 307c897db762d1e0feee9477276b08f6deca4a5b to f99165ef067723221472ce1aff632bc74f562643 (excl.)
  • affected from 307c897db762d1e0feee9477276b08f6deca4a5b to 385a330083f8dd47c15b02e9a83aef9234a37003 (excl.)
  • affected from 307c897db762d1e0feee9477276b08f6deca4a5b to 132e47030b0b5e398e0da6c59df5a5dae9b52cff (excl.)
  • affected from 307c897db762d1e0feee9477276b08f6deca4a5b to aa9025a498036b6012769f7af36d421385386c17 (excl.)
  • affected from 307c897db762d1e0feee9477276b08f6deca4a5b to 1c78c2002380a1fe31bfb01a3d5f29809e55a096 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.19 is affected
  • unaffected from 0 to 5.19 (excl.)
  • unaffected from 6.6.140 to 6.6.* (incl.)
  • unaffected from 6.12.86 to 6.12.* (incl.)
  • unaffected from 6.18.27 to 6.18.* (incl.)
  • unaffected from 7.0.4 to 7.0.* (incl.)
  • unaffected from 7.1-rc1 to * (incl.)

References