7.8

CVE-2026-46241

spi: mpc52xx: fix use-after-free on registration failure

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version >= 2.6.33 < 6.12.90
LinuxLinux Kernel Version >= 6.13 < 6.18.32
LinuxLinux Kernel Version >= 6.19 < 7.0.9
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.13% 0.025
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 7.8 1.8 5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-416 Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

https://git.kernel.org/stable/c/8b49b6aadd0c622ca7d68b4a53ae10362e221cf3
Patch
https://git.kernel.org/stable/c/336d9ad7560b3baba17af06727a888040ee93390
Patch
https://git.kernel.org/stable/c/5c77f11b9b5f1ad5a704dad875260c44016ede10
Patch
https://git.kernel.org/stable/c/f62c060272b9d7423b1650b844e8e4e7b8f9f925
Patch