Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 42bbb70980f3720b0ae6da6af862af0e95a04351 before dd74a790818ebb9a2be3a94ac935a374755cd278; affected 42bbb70980f3720b0ae6da6af862af0e95a04351 before 8b49b6aadd0c622ca7d68b4a53ae10362e221cf3; affected 42bbb70980f3720b0ae6da6af862af0e95a04351 before 336d9ad7560b3baba17af06727a888040ee93390; affected 42bbb70980f3720b0ae6da6af862af0e95a04351 before 5c77f11b9b5f1ad5a704dad875260c44016ede10; affected 42bbb70980f3720b0ae6da6af862af0e95a04351 before f62c060272b9d7423b1650b844e8e4e7b8f9f925 |
| Linux / Linux | affected 2.6.33; unaffected 0 before 2.6.33; unaffected 6.6.160 through 6.6.*; unaffected 6.12.90 through 6.12.*; unaffected 6.18.32 through 6.18.*; unaffected 7.0.9 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
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