# CVE-2022-50761: x86/xen: Fix memory leak in xen\_init\_lock\_cpu()

> 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.32% (percentile 18, 2026-11-26)
- **Published:** 2025-12-24T13:05:53.312Z
- **Modified:** 2026-11-10T12:10:00.177Z

## Who should check

- Anyone running Linux \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 9278bdbb566656b3704704f8dd6cbc24a6fcc569; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 07764d00c869a3390bd4f80412cc8b0e669e6c58; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 53ff99c76be611acea37d33133c9136969914865; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 29198f667f4486f9e227e11faf1411fcf4c82a66; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 70e7f308d7a8e915c7fbc0f1d959968eab8000cd; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 70966d6b0f59f795b08a70adf5e4478348ecbfbb; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 798fc3cf98ca07e448956f39295c5d686ab4b054; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< b44457b83a034efef58ffa5f3131d4615f1a9837; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< ca84ce153d887b1dc8b118029976cc9faf2a9b40
- Anyone running Linux 2.6.27

## Description

In the Linux kernel, the following vulnerability has been resolved:

x86/xen: Fix memory leak in xen\_init\_lock\_cpu()

In xen\_init\_lock\_cpu(), the @name has allocated new string by kasprintf(),
if bind\_ipi\_to\_irqhandler() fails, it should be freed, otherwise may lead
to a memory leak issue, fix it.

## Affected and fixed versions

- Linux: \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 9278bdbb566656b3704704f8dd6cbc24a6fcc569; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 07764d00c869a3390bd4f80412cc8b0e669e6c58; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 53ff99c76be611acea37d33133c9136969914865; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 29198f667f4486f9e227e11faf1411fcf4c82a66; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 70e7f308d7a8e915c7fbc0f1d959968eab8000cd; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 70966d6b0f59f795b08a70adf5e4478348ecbfbb; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 798fc3cf98ca07e448956f39295c5d686ab4b054; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< b44457b83a034efef58ffa5f3131d4615f1a9837; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< ca84ce153d887b1dc8b118029976cc9faf2a9b40 (cvelist)
- Linux: 2.6.27 (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-50761. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50761.md
Affected: Linux >= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, < 9278bdbb566656b3704704f8dd6cbc24a6fcc569; >= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, < 07764d00c869a3390bd4f80412cc8b0e669e6c58; >= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, < 53ff99c76be611acea37d33133c9136969914865; >= 2d9e1e2f58b5612aa4eab0a…
Fixed in: Linux 9278bdbb566656b3704704f8dd6cbc24a6fcc569, Linux 07764d00c869a3390bd4f80412cc8b0e669e6c58, Linux 53ff99c76be611acea37d33133c9136969914865, Linux 29198f667f4486f9e227e11faf1411fcf4c82a66, Linux 70e7f308d7a8e915c7fbc0f1d959968eab8000cd, Linux 70966d6b0f59f795b08a70adf5e4478348ecbfbb, Linux 798fc…

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-50761 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 9278bdbb566656b3704704f8dd6cbc24a6fcc569; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 07764d00c869a3390bd4f80412cc8b0e669e6c58; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 53ff99c76be611acea37d33133c9136969914865; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 29198f667f4486f9e227e11faf1411fcf4c82a66; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 70e7f308d7a8e915c7fbc0f1d959968eab8000cd; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 70966d6b0f59f795b08a70adf5e4478348ecbfbb; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< 798fc3cf98ca07e448956f39295c5d686ab4b054; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< b44457b83a034efef58ffa5f3131d4615f1a9837; \>= 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, \< ca84ce153d887b1dc8b118029976cc9faf2a9b40; Linux 2.6.27.

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

Yes. Fixed in Linux 9278bdbb566656b3704704f8dd6cbc24a6fcc569, Linux 07764d00c869a3390bd4f80412cc8b0e669e6c58, Linux 53ff99c76be611acea37d33133c9136969914865, Linux 29198f667f4486f9e227e11faf1411fcf4c82a66, Linux 70e7f308d7a8e915c7fbc0f1d959968eab8000cd, Linux 70966d6b0f59f795b08a70adf5e4478348ecbfbb, Linux 798fc3cf98ca07e448956f39295c5d686ab4b054. No fix listed yet: follow the vendor advisory.

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

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/9278bdbb566656b3704704f8dd6cbc24a6fcc569>
- other: <https://git.kernel.org/stable/c/07764d00c869a3390bd4f80412cc8b0e669e6c58>
- other: <https://git.kernel.org/stable/c/53ff99c76be611acea37d33133c9136969914865>
- other: <https://git.kernel.org/stable/c/29198f667f4486f9e227e11faf1411fcf4c82a66>
- other: <https://git.kernel.org/stable/c/70e7f308d7a8e915c7fbc0f1d959968eab8000cd>
- other: <https://git.kernel.org/stable/c/70966d6b0f59f795b08a70adf5e4478348ecbfbb>
- other: <https://git.kernel.org/stable/c/798fc3cf98ca07e448956f39295c5d686ab4b054>
- other: <https://git.kernel.org/stable/c/b44457b83a034efef58ffa5f3131d4615f1a9837>
- other: <https://git.kernel.org/stable/c/ca84ce153d887b1dc8b118029976cc9faf2a9b40>

## 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-50761>

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