CVE-2026-23464
Beschrijving NL
In de Linux kernel is de volgende kwetsbaarheid verholpen:
soc: microchip: mpfs: Repareer geheugenlek in mpfs_sys_controller_probe()
In mpfs_sys_controller_probe(), als of_get_mtd_device_by_node() mislukt,
de functie keert onmiddellijk terug zonder het toegewezen geheugen vrij te maken
voor sys_controller, wat leidt tot een geheugenlek. Los dit op door naar het out_free label te springen om er zeker van te zijn dat het geheugen
op de juiste manier bevrijd. Consolideer ook de foutafhandeling voor het mbox_REQUEST_Channel()
foutgeval om hetzelfde label te gebruiken.
Origineel (Engels) tonen
In the Linux kernel, the following vulnerability has been resolved:
soc: microchip: mpfs: Fix memory leak in mpfs_sys_controller_probe()
In mpfs_sys_controller_probe(), if of_get_mtd_device_by_node() fails,
the function returns immediately without freeing the allocated memory
for sys_controller, leading to a memory leak.
Fix this by jumping to the out_free label to ensure the memory is
properly freed.
Also, consolidate the error handling for the mbox_request_channel()
failure case to use the same label.