CVE-2022-50761

x86/xen: Fix memory leak in xen_init_lock_cpu()

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 to before 9278bdbb566656b3704704f8dd6cbc24a6fcc569Affected
  • 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 to before 07764d00c869a3390bd4f80412cc8b0e669e6c58Affected
  • 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 to before 53ff99c76be611acea37d33133c9136969914865Affected
  • 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 to before 29198f667f4486f9e227e11faf1411fcf4c82a66Affected
  • 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 to before 70e7f308d7a8e915c7fbc0f1d959968eab8000cdAffected
  • 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 to before 70966d6b0f59f795b08a70adf5e4478348ecbfbbAffected
  • 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 to before 798fc3cf98ca07e448956f39295c5d686ab4b054Affected
  • 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 to before b44457b83a034efef58ffa5f3131d4615f1a9837Affected
  • 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79 to before ca84ce153d887b1dc8b118029976cc9faf2a9b40Affected
LinuxLinux
  • 2.6.27Affected
  • before 2.6.27Not affected
  • 4.9.337 through 4.9.*Not affected
  • 4.14.303 through 4.14.*Not affected
  • 4.19.270 through 4.19.*Not affected
  • 5.4.229 through 5.4.*Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.