CVE-2022-50672
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 versions
Linux kernel versions
5.1
and later are affected. Fixed in
5.4.229,
5.10.163,
5.15.86,
6.0.16,
6.1.2,
6.2
and their respective stable series.
References
The following references provide additional information about CVE-2022-50672 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3fcf079958c00d83c51e4f250abf2c77fe9cc1b9
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4f05d8e2fb3ab702c2633a74571e1b31cb579985
-
PatchKernel patch commithttps://git.kernel.org/stable/c/a39b4de0804f9fe0ae911b359ffd4afe7d9d933b
Frequently asked questions
-
What is CVE-2022-50672?
CVE-2022-50672 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.1 onward and has been patched in 5.4.229, 5.10.163, 5.15.86 and others. CVE-2022-50672 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2022-50672?
Yes — CVE-2022-50672 has been patched. Fixed versions include 5.4.229, 5.10.163, 5.15.86 and others. If you are running Linux kernel 5.1 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50672 actively exploited?
No — CVE-2022-50672 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.