CVE-2022-50761
x86/xen: Fix memory leak in xen_init_lock_cpu()
Check your servers for CVE-2022-50761
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50761 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.32%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 27.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, before 9278bdbb566656b3704704f8dd6cbc24a6fcc569 affected from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, before 07764d00c869a3390bd4f80412cc8b0e669e6c58 affected from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, before 53ff99c76be611acea37d33133c9136969914865 affected from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, before 29198f667f4486f9e227e11faf1411fcf4c82a66 affected from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, before 70e7f308d7a8e915c7fbc0f1d959968eab8000cd affected from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, before 70966d6b0f59f795b08a70adf5e4478348ecbfbb affected from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, before 798fc3cf98ca07e448956f39295c5d686ab4b054 affected from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, before b44457b83a034efef58ffa5f3131d4615f1a9837 affected from 2d9e1e2f58b5612aa4eab0ab54c84308a29dbd79, before ca84ce153d887b1dc8b118029976cc9faf2a9b40
Other versions: unaffected
|
| Linux |
affected 2.6.27 unaffected before 2.6.27 unaffected from 4.9.337 up to and including 4.9.* unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.163 up to and including 5.10.* unaffected from 5.15.86 up to and including 5.15.* unaffected from 6.0.16 up to and including 6.0.* unaffected from 6.1.2 up to and including 6.1.* unaffected 6.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50761 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50761
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50761
trivy image --scanners vuln IMAGE | grep CVE-2022-50761
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/9278bdbb566656b3704704f8dd6cbc24a6fcc569 git.kernel.org
- https://git.kernel.org/stable/c/07764d00c869a3390bd4f80412cc8b0e669e6c58 git.kernel.org
- https://git.kernel.org/stable/c/53ff99c76be611acea37d33133c9136969914865 git.kernel.org
- https://git.kernel.org/stable/c/29198f667f4486f9e227e11faf1411fcf4c82a66 git.kernel.org
- https://git.kernel.org/stable/c/70e7f308d7a8e915c7fbc0f1d959968eab8000cd git.kernel.org
- https://git.kernel.org/stable/c/70966d6b0f59f795b08a70adf5e4478348ecbfbb git.kernel.org
- https://git.kernel.org/stable/c/798fc3cf98ca07e448956f39295c5d686ab4b054 git.kernel.org
- https://git.kernel.org/stable/c/b44457b83a034efef58ffa5f3131d4615f1a9837 git.kernel.org
- https://git.kernel.org/stable/c/ca84ce153d887b1dc8b118029976cc9faf2a9b40 git.kernel.org
Source: the record CVE-2022-50761 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse