CVE-2026-23137
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
14/02/2026
Última modificación:
14/02/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
of: unittest: Fix memory leak in unittest_data_add()<br />
<br />
In unittest_data_add(), if of_resolve_phandles() fails, the allocated<br />
unittest_data is not freed, leading to a memory leak.<br />
<br />
Fix this by using scope-based cleanup helper __free(kfree) for automatic<br />
resource cleanup. This ensures unittest_data is automatically freed when<br />
it goes out of scope in error paths.<br />
<br />
For the success path, use retain_and_null_ptr() to transfer ownership<br />
of the memory to the device tree and prevent double freeing.



