Description
In the Linux kernel, the following vulnerability has been resolved: spi: mpc52xx: fix use-after-free on registration failure Make sure to disable and free the interrupts in case controller registration fails to avoid a potential use-after-free and resource leak. This issue was flagged by Sashiko when reviewing a controller deregistration fix.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
42bbb70980f3720b0ae6da6af862af0e95a04351 to < dd74a790818ebb9a2be3a94ac935a374755cd278affected42bbb70980f3720b0ae6da6af862af0e95a04351 to < 8b49b6aadd0c622ca7d68b4a53ae10362e221cf3affected42bbb70980f3720b0ae6da6af862af0e95a04351 to < 336d9ad7560b3baba17af06727a888040ee93390affected42bbb70980f3720b0ae6da6af862af0e95a04351 to < 5c77f11b9b5f1ad5a704dad875260c44016ede10affected42bbb70980f3720b0ae6da6af862af0e95a04351 to < f62c060272b9d7423b1650b844e8e4e7b8f9f925affected
Linux Linux
Default version status: affected
2.6.33affected0 to < 2.6.33unaffected6.6.160 to ≤ 6.6.*unaffected6.12.90 to ≤ 6.12.*unaffected6.18.32 to ≤ 6.18.*unaffected7.0.9 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/dd74a790818ebb9a2be3a94ac935a374755cd278 ↗
- https://git.kernel.org/stable/c/8b49b6aadd0c622ca7d68b4a53ae10362e221cf3 ↗
- https://git.kernel.org/stable/c/336d9ad7560b3baba17af06727a888040ee93390 ↗
- https://git.kernel.org/stable/c/5c77f11b9b5f1ad5a704dad875260c44016ede10 ↗
- https://git.kernel.org/stable/c/f62c060272b9d7423b1650b844e8e4e7b8f9f925 ↗