{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50672","id":"CVE-2022-50672","title":"mailbox: zynq-ipi: fix error handling while device_register() fails","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmailbox: zynq-ipi: fix error handling while device_register() fails\n\nIf device_register() fails, it has two issues:\n1. The name allocated by dev_set_name() is leaked.\n2. The parent of device is not NULL, device_unregister() is called\n   in zynqmp_ipi_free_mboxes(), it will lead a kernel crash because\n   of removing not added devi","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmailbox: zynq-ipi: fix error handling while device_register() fails\n\nIf device_register() fails, it has two issues:\n1. The name allocated by dev_set_name() is leaked.\n2. The parent of device is not NULL, device_unregister() is called\n   in zynqmp_ipi_free_mboxes(), it will lead a kernel crash because\n   of removing not added device.\n\nCall put_device() to give up the reference, so the name is freed in\nkobject_cleanup(). Add device registered check in zynqmp_ipi_free_mboxes()\nto avoid null-ptr-deref.","published":"2025-12-09T01:29:24.072Z","updated":"2026-11-12T02:30:31.706315921Z","reserved":"2025-12-09T01:26:45.991Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4981b82ba2ff87df6a711fcd7a233c615df5fc79","lessThan":"b3a5c76f61e2b380e29dfc6705854ca1ee85501d","status":"affected","versionType":"git"},{"version":"4981b82ba2ff87df6a711fcd7a233c615df5fc79","lessThan":"a39b4de0804f9fe0ae911b359ffd4afe7d9d933b","status":"affected","versionType":"git"},{"version":"4981b82ba2ff87df6a711fcd7a233c615df5fc79","lessThan":"4f05d8e2fb3ab702c2633a74571e1b31cb579985","status":"affected","versionType":"git"},{"version":"4981b82ba2ff87df6a711fcd7a233c615df5fc79","lessThan":"f2d63cefc012cafe1b7651bbf3302f8bcd8bea4a","status":"affected","versionType":"git"},{"version":"4981b82ba2ff87df6a711fcd7a233c615df5fc79","lessThan":"3fcf079958c00d83c51e4f250abf2c77fe9cc1b9","status":"affected","versionType":"git"},{"version":"4981b82ba2ff87df6a711fcd7a233c615df5fc79","lessThan":"a6792a0cdef0b1c2d77920246283a72537e60e94","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.1","status":"affected"},{"version":"0","lessThan":"5.1","status":"unaffected","versionType":"semver"},{"version":"5.4.229","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.163","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.86","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.16","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.2","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b3a5c76f61e2b380e29dfc6705854ca1ee85501d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a39b4de0804f9fe0ae911b359ffd4afe7d9d933b","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4f05d8e2fb3ab702c2633a74571e1b31cb579985","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f2d63cefc012cafe1b7651bbf3302f8bcd8bea4a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/3fcf079958c00d83c51e4f250abf2c77fe9cc1b9","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a6792a0cdef0b1c2d77920246283a72537e60e94","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50672.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50672","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00262,"epssPercentile":0.18231,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50672","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50672","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50672","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50672","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}