CVE-2022-50672

published 9 Dec 2025 · updated 12 Nov 2026

mailbox: zynq-ipi: fix error handling while device_register() fails

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f2d63cefc012cafe1b7651bbf3302f8bcd8bea4a, Kernel 3fcf079958c00d83c51e4f250abf2c77fe9cc1b9, Kernel 4f05d8e2fb3ab702c2633a74571e1b31cb579985 and 8 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=4981b82ba2ff87df6a711fcd7a233c615df5fc79 <f2d63cefc012cafe1b7651bbf3302f8bcd8bea4a, >=4981b82ba2ff87df6a711fcd7a233c615df5fc79 <3fcf079958c00d83c51e4f250abf2c77fe9cc1b9, >=4981b82ba2ff87df6a711fcd7a233c615df5fc79 <4f05d8e2fb3ab702c2633a74571e1b31cb579985, >=4981b82ba2ff87df6a711fcd7a233c615df5fc79 <a39b4de0804f9fe0ae911b359ffd4afe7d9d933b, >=4981b82ba2ff87df6a711fcd7a233c615df5fc79 <a6792a0cdef0b1c2d77920246283a72537e60e94, >=4981b82ba2ff87df6a711fcd7a233c615df5fc79 <b3a5c76f61e2b380e29dfc6705854ca1ee85501d, =5.1f2d63cefc012cafe1b7651bbf3302f8bcd8bea4a, 3fcf079958c00d83c51e4f250abf2c77fe9cc1b9, 4f05d8e2fb3ab702c2633a74571e1b31cb579985, a39b4de0804f9fe0ae911b359ffd4afe7d9d933b, a6792a0cdef0b1c2d77920246283a72537e60e94, b3a5c76f61e2b380e29dfc6705854ca1ee85501d
linux-kernel: Kernel>=5.11.0 <5.15.86, >=5.16.0 <6.0.16, >=5.5.0 <5.10.163, >=6.1.0 <6.1.2, >=5.1.0 <5.4.2295.15.86, 6.0.16, 5.10.163, 6.1.2, 5.4.229

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50672 severity on Zeptric[![CVE-2022-50672](https://zeptric.io/badge/cve/CVE-2022-50672.svg)](https://zeptric.io/cve/CVE-2022-50672)