CVE-2022-50672 Details
Description
In the Linux kernel, the following vulnerability has been resolved: mailbox: zynq-ipi: fix error handling while device_register() fails If device_register() fails, it has two issues: 1. The name allocated by dev_set_name() is leaked. 2. The parent of device is not NULL, device_unregister() is called in zynqmp_ipi_free_mboxes(), it will lead a kernel crash because of removing not added device. Call put_device() to give up the reference, so the name is freed in kobject_cleanup(). Add device registered check in zynqmp_ipi_free_mboxes() to avoid null-ptr-deref.
A vulnerability in the Linux kernel's Zynq IPI mailbox controller has been addressed. The issue arose when the device_register() function failed, leading to two problems: first, a name leak from the dev_set_name() function, and second, a potential kernel crash. The crash occurred because the device's parent was not NULL, causing the device_unregister() function to remove a device that had not been properly added. To resolve this, the put_device() function was called to release the reference, allowing the name to be freed during the kobject_cleanup() process. Additionally, a check was introduced in the zynqmp_ipi_free_mboxes() function to prevent null pointer dereferences.
The vulnerability has been fixed in the Linux kernel. Users should upgrade to the latest version where this issue has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3fcf079958c00d83c51e4f250abf2c77fe9cc1b9 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/4f05d8e2fb3ab702c2633a74571e1b31cb579985 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a39b4de0804f9fe0ae911b359ffd4afe7d9d933b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a6792a0cdef0b1c2d77920246283a72537e60e94 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/b3a5c76f61e2b380e29dfc6705854ca1ee85501d | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f2d63cefc012cafe1b7651bbf3302f8bcd8bea4a | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 10, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 9, 2025 | New CVE Received | kernel.org |
Volerion