# CVE-2022-50672: mailbox: zynq-ipi: fix error handling while device\_register() fails

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-09T01:29:24.072Z
- **Modified:** 2026-11-10T12:10:00.177Z

## Who should check

- Anyone running Linux \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< b3a5c76f61e2b380e29dfc6705854ca1ee85501d; \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< a39b4de0804f9fe0ae911b359ffd4afe7d9d933b; \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< 4f05d8e2fb3ab702c2633a74571e1b31cb579985; \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< f2d63cefc012cafe1b7651bbf3302f8bcd8bea4a; \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< 3fcf079958c00d83c51e4f250abf2c77fe9cc1b9; \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< a6792a0cdef0b1c2d77920246283a72537e60e94
- Anyone running Linux 5.1

## 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 and fixed versions

- Linux: \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< b3a5c76f61e2b380e29dfc6705854ca1ee85501d; \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< a39b4de0804f9fe0ae911b359ffd4afe7d9d933b; \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< 4f05d8e2fb3ab702c2633a74571e1b31cb579985; \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< f2d63cefc012cafe1b7651bbf3302f8bcd8bea4a; \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< 3fcf079958c00d83c51e4f250abf2c77fe9cc1b9; \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< a6792a0cdef0b1c2d77920246283a72537e60e94 (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50672. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50672.md
Affected: Linux >= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, < b3a5c76f61e2b380e29dfc6705854ca1ee85501d; >= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, < a39b4de0804f9fe0ae911b359ffd4afe7d9d933b; >= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, < 4f05d8e2fb3ab702c2633a74571e1b31cb579985; >= 4981b82ba2ff87df6a711fc…
Fixed in: Linux 4f05d8e2fb3ab702c2633a74571e1b31cb579985, Linux 3fcf079958c00d83c51e4f250abf2c77fe9cc1b9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50672 being exploited?

There is no confirmed exploitation: CVE-2022-50672 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50672?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2022-50672?

Linux \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< b3a5c76f61e2b380e29dfc6705854ca1ee85501d; \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< a39b4de0804f9fe0ae911b359ffd4afe7d9d933b; \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< 4f05d8e2fb3ab702c2633a74571e1b31cb579985; \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< f2d63cefc012cafe1b7651bbf3302f8bcd8bea4a; \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< 3fcf079958c00d83c51e4f250abf2c77fe9cc1b9; \>= 4981b82ba2ff87df6a711fcd7a233c615df5fc79, \< a6792a0cdef0b1c2d77920246283a72537e60e94; Linux 5.1.

### Is there a fix for CVE-2022-50672?

Yes. Fixed in Linux 4f05d8e2fb3ab702c2633a74571e1b31cb579985, Linux 3fcf079958c00d83c51e4f250abf2c77fe9cc1b9. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-50672?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/b3a5c76f61e2b380e29dfc6705854ca1ee85501d>
- other: <https://git.kernel.org/stable/c/a39b4de0804f9fe0ae911b359ffd4afe7d9d933b>
- other: <https://git.kernel.org/stable/c/4f05d8e2fb3ab702c2633a74571e1b31cb579985>
- other: <https://git.kernel.org/stable/c/f2d63cefc012cafe1b7651bbf3302f8bcd8bea4a>
- other: <https://git.kernel.org/stable/c/3fcf079958c00d83c51e4f250abf2c77fe9cc1b9>
- other: <https://git.kernel.org/stable/c/a6792a0cdef0b1c2d77920246283a72537e60e94>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50672>

HTML: <https://flawdb.com/CVE-2022-50672> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50672>
