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
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/3fcf079958c00d83c51e4f250abf2c77fe9cc1b9
- https://git.kernel.org/stable/c/4f05d8e2fb3ab702c2633a74571e1b31cb579985
- https://git.kernel.org/stable/c/a39b4de0804f9fe0ae911b359ffd4afe7d9d933b
- https://git.kernel.org/stable/c/a6792a0cdef0b1c2d77920246283a72537e60e94
- https://git.kernel.org/stable/c/b3a5c76f61e2b380e29dfc6705854ca1ee85501d
- https://git.kernel.org/stable/c/f2d63cefc012cafe1b7651bbf3302f8bcd8bea4a



