CVE-2022-50672
mailbox: zynq-ipi: fix error handling while device_register() fails
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Timeline
ID reserved
By Linux
Published
- 5 months later
· 5 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
No CVSS score yet: neither the CNA, CISA nor NVD has scored this CVE. NVD status: Deferred.
- EPSS (exploitation in 30 days)
- 0.24% · top 84% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Not scored.
Affected products
- affected 4981b82ba2ff87df6a711fcd7a233c615df5fc79 – < b3a5c76f61e2b380e29dfc6705854ca1ee85501d
- affected 4981b82ba2ff87df6a711fcd7a233c615df5fc79 – < a39b4de0804f9fe0ae911b359ffd4afe7d9d933b
- affected 4981b82ba2ff87df6a711fcd7a233c615df5fc79 – < 4f05d8e2fb3ab702c2633a74571e1b31cb579985
- affected 4981b82ba2ff87df6a711fcd7a233c615df5fc79 – < f2d63cefc012cafe1b7651bbf3302f8bcd8bea4a
- affected 4981b82ba2ff87df6a711fcd7a233c615df5fc79 – < 3fcf079958c00d83c51e4f250abf2c77fe9cc1b9
- affected 4981b82ba2ff87df6a711fcd7a233c615df5fc79 – < a6792a0cdef0b1c2d77920246283a72537e60e94
- affected 5.1
- unaffected < 5.1
- unaffected 5.4.229 – ≤ 5.4.*
- unaffected 5.10.163 – ≤ 5.10.*
- unaffected 5.15.86 – ≤ 5.15.*
- unaffected 6.0.16 – ≤ 6.0.*
- unaffected 6.1.2 – ≤ 6.1.*
- unaffected 6.2 – ≤ *
References (6)
- https://git.kernel.org/stable/c/b3a5c76f61e2b380e29dfc6705854ca1ee85501d (opens in a new tab)
- https://git.kernel.org/stable/c/a39b4de0804f9fe0ae911b359ffd4afe7d9d933b (opens in a new tab)
- https://git.kernel.org/stable/c/4f05d8e2fb3ab702c2633a74571e1b31cb579985 (opens in a new tab)
- https://git.kernel.org/stable/c/f2d63cefc012cafe1b7651bbf3302f8bcd8bea4a (opens in a new tab)
- https://git.kernel.org/stable/c/3fcf079958c00d83c51e4f250abf2c77fe9cc1b9 (opens in a new tab)
- https://git.kernel.org/stable/c/a6792a0cdef0b1c2d77920246283a72537e60e94 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-50672)Record last updated .