CVE-2022-50672

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
09/12/2025
Last modified:
15/04/2026

Description

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.

Impact