Instituto Nacional de ciberseguridad. Sección Incibe
Instituto Nacional de Ciberseguridad. Sección INCIBE-CERT

CVE-2022-50672

Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
09/12/2025
Última modificación:
09/12/2025

Descripción

*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> mailbox: zynq-ipi: fix error handling while device_register() fails<br /> <br /> If device_register() fails, it has two issues:<br /> 1. The name allocated by dev_set_name() is leaked.<br /> 2. The parent of device is not NULL, device_unregister() is called<br /> in zynqmp_ipi_free_mboxes(), it will lead a kernel crash because<br /> of removing not added device.<br /> <br /> Call put_device() to give up the reference, so the name is freed in<br /> kobject_cleanup(). Add device registered check in zynqmp_ipi_free_mboxes()<br /> to avoid null-ptr-deref.

Impacto