Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 307c897db762d1e0feee9477276b08f6deca4a5b before c7c40c3e7b9fb900504aa746de3e53c5275b24bd; affected 307c897db762d1e0feee9477276b08f6deca4a5b before f99165ef067723221472ce1aff632bc74f562643; affected 307c897db762d1e0feee9477276b08f6deca4a5b before 385a330083f8dd47c15b02e9a83aef9234a37003; affected 307c897db762d1e0feee9477276b08f6deca4a5b before 132e47030b0b5e398e0da6c59df5a5dae9b52cff; affected 307c897db762d1e0feee9477276b08f6deca4a5b before aa9025a498036b6012769f7af36d421385386c17; affected 307c897db762d1e0feee9477276b08f6deca4a5b before 1c78c2002380a1fe31bfb01a3d5f29809e55a096 |
| Linux / Linux | affected 5.19; unaffected 0 before 5.19; unaffected 6.1.176 through 6.1.*; unaffected 6.6.140 through 6.6.*; unaffected 6.12.86 through 6.12.*; unaffected 6.18.27 through 6.18.*; unaffected 7.0.4 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/c7c40c3e7b9fb900504aa746de3e53c5275b24bd
- https://git.kernel.org/stable/c/f99165ef067723221472ce1aff632bc74f562643
- https://git.kernel.org/stable/c/385a330083f8dd47c15b02e9a83aef9234a37003
- https://git.kernel.org/stable/c/132e47030b0b5e398e0da6c59df5a5dae9b52cff
- https://git.kernel.org/stable/c/aa9025a498036b6012769f7af36d421385386c17
- https://git.kernel.org/stable/c/1c78c2002380a1fe31bfb01a3d5f29809e55a096