CVE-2021-47373
irqchip/gic-v3-its: Fix potential VPE leak on error
Check your servers for CVE-2021-47373
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-2021-47373 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:
irqchip/gic-v3-its: Fix potential VPE leak on error
In its_vpe_irq_domain_alloc, when its_vpe_init() returns an error, there is an off-by-one in the number of VPEs to be freed.
Fix it by simply passing the number of VPEs allocated, which is the index of the loop iterating over the VPEs.
[maz: fixed commit message]
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7d75bbb4bc1ad90386776459d37e4ddfe605671e, before 7d39992d45acd6f2d6b2f62389c55b61fb3d486b affected from 7d75bbb4bc1ad90386776459d37e4ddfe605671e, before 5701e8bff314c155e7afdc467b1e0389d86853d0 affected from 7d75bbb4bc1ad90386776459d37e4ddfe605671e, before 42d3711c23781045e7a5cd28536c774b9a66d20b affected from 7d75bbb4bc1ad90386776459d37e4ddfe605671e, before 568662e37f927e3dc3e475f3ff7cf4ab7719c5e7 affected from 7d75bbb4bc1ad90386776459d37e4ddfe605671e, before e0c1c2e5da19685a20557a50f10c6aa4fa26aa84 affected from 7d75bbb4bc1ad90386776459d37e4ddfe605671e, before 280bef512933b2dda01d681d8cbe499b98fc5bdd
Other versions: unaffected
|
| Linux |
affected 4.14 unaffected before 4.14 unaffected from 4.14.249 up to and including 4.14.* unaffected from 4.19.209 up to and including 4.19.* unaffected from 5.4.150 up to and including 5.4.* unaffected from 5.10.70 up to and including 5.10.* unaffected from 5.14.9 up to and including 5.14.* unaffected 5.15 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-2021-47373 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47373
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-2021-47373
trivy image --scanners vuln IMAGE | grep CVE-2021-47373
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/7d39992d45acd6f2d6b2f62389c55b61fb3d486b git.kernel.org
- https://git.kernel.org/stable/c/5701e8bff314c155e7afdc467b1e0389d86853d0 git.kernel.org
- https://git.kernel.org/stable/c/42d3711c23781045e7a5cd28536c774b9a66d20b git.kernel.org
- https://git.kernel.org/stable/c/568662e37f927e3dc3e475f3ff7cf4ab7719c5e7 git.kernel.org
- https://git.kernel.org/stable/c/e0c1c2e5da19685a20557a50f10c6aa4fa26aa84 git.kernel.org
- https://git.kernel.org/stable/c/280bef512933b2dda01d681d8cbe499b98fc5bdd git.kernel.org
Source: the record CVE-2021-47373 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse