CVE-2022-50672
kernel: mailbox: zynq-ipi: fix error handling while device_register() fails
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 9, 2025
Updated · June 30, 2026
Description
A vulnerability was found in the Xilinx ZynqMP IPI mailbox driver in the Linux kernel. When device_register() fails, two issues occur: the name allocated by dev_set_name() is leaked, and a subsequent call to device_unregister() in zynqmp_ipi_free_mboxes() causes a kernel crash when attempting to remove a device that was never successfully added. This can lead to memory leaks and kernel crashes.
Statement
This vulnerability affects Xilinx ZynqMP systems using the IPI mailbox driver. The impact is limited to specific ARM-based embedded systems and requires device registration failures to trigger.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-253 · Incorrect Check of Function Return Value