# CVE-2022-50761: x86/xen: Fix memory leak in xen_init_lock_cpu()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2025-12-24T13:05:53.312Z
- Modified: 2026-11-10T12:10:00.177Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 before 9278bdbb566656b3704704f8dd6cbc24a6fcc569; from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 before 07764d00c869a3390bd4f80412cc8b0e669e6c58; from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 before 53ff99c76be611acea37d33133c9136969914865; from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 before 29198f667f4486f9e227e11faf1411fcf4c82a66; from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 before 70e7f308d7a8e915c7fbc0f1d959968eab8000cd; from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 before 70966d6b0f59f795b08a70adf5e4478348ecbfbb; from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 before 798fc3cf98ca07e448956f39295c5d686ab4b054; from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 before b44457b83a034efef58ffa5f3131d4615f1a9837; from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 before ca84ce153d887b1dc8b118029976cc9faf2a9b40; 2.6.27 (not affected: before 2.6.27; from 4.9.337 up to 4.9.*; from 4.14.303 up to 4.14.*; from 4.19.270 up to 4.19.*; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)

## References

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

## Sources

- CVE List: [CVE-2022-50761](https://www.cve.org/CVERecord?id=CVE-2022-50761), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50761](https://nvd.nist.gov/vuln/detail/CVE-2022-50761), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2022-50761 · Whole record: https://cve.day/CVE-2022-50761.json · Rebuilt by cve.day 2026-11-25T22:58:21.350Z
