CVE-2025-71272
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
06/05/2026
Última modificación:
06/05/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
most: core: fix resource leak in most_register_interface error paths<br />
<br />
The function most_register_interface() did not correctly release resources<br />
if it failed early (before registering the device). In these cases, it<br />
returned an error code immediately, leaking the memory allocated for the<br />
interface.<br />
<br />
Fix this by initializing the device early via device_initialize() and<br />
calling put_device() on all error paths.<br />
<br />
The most_register_interface() is expected to call put_device() on<br />
error which frees the resources allocated in the caller. The<br />
put_device() either calls release_mdev() or dim2_release(),<br />
depending on the caller.<br />
<br />
Switch to using device_add() instead of device_register() to handle<br />
the split initialization.



