CVE-2022-50672

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

N/A
Published: December 9, 2025 at 01:29 AM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.1 ≤ v < 5.10.1635.1 ≤ v < 5.15.865.1 ≤ v < 5.4.2295.1 ≤ v < 6.0.165.1 ≤ v < 6.1.25.1 ≤ v < 6.24981b82ba2ff87df6a711fcd7a233c615df5fc795.1
Vendor states this is fixed in 3fcf079958c00d83c51e4f250abf2c77fe9cc1b9 (fixed)
Vendor states this is fixed in 4f05d8e2fb3ab702c2633a74571e1b31cb579985 (fixed)
Vendor states this is fixed in a39b4de0804f9fe0ae911b359ffd4afe7d9d933b (fixed)
Vendor states this is fixed in a6792a0cdef0b1c2d77920246283a72537e60e94 (fixed)
Vendor states this is fixed in b3a5c76f61e2b380e29dfc6705854ca1ee85501d (fixed)
Vendor states this is fixed in f2d63cefc012cafe1b7651bbf3302f8bcd8bea4a (fixed)
Vendor states this is fixed in 5.1 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card