CVE-2021-47177
iommu/vt-d: Fix sysfs leak in alloc_iommu()
Check your servers for CVE-2021-47177
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-47177 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:
iommu/vt-d: Fix sysfs leak in alloc_iommu()
iommu_device_sysfs_add() is called before, so is has to be cleaned on subsequent errors.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.9% 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 39ab9555c24110671f8dc671311a26e5c985b592, before 22da9f4978381a99f1abaeaf6c9b83be6ab5ddd8 affected from 39ab9555c24110671f8dc671311a26e5c985b592, before 2ec5e9bb6b0560c90d315559c28a99723c80b996 affected from 39ab9555c24110671f8dc671311a26e5c985b592, before 044bbe8b92ab4e542de7f6c93c88ea65cccd8e29 affected from 39ab9555c24110671f8dc671311a26e5c985b592, before f01134321d04f47c718bb41b799bcdeda27873d2 affected from 39ab9555c24110671f8dc671311a26e5c985b592, before ca466561eef36d1ec657673e3944eb6340bddb5b affected from 39ab9555c24110671f8dc671311a26e5c985b592, before 0ee74d5a48635c848c20f152d0d488bf84641304
Other versions: unaffected
|
| Linux |
affected 4.11 unaffected before 4.11 unaffected from 4.14.235 up to and including 4.14.* unaffected from 4.19.193 up to and including 4.19.* unaffected from 5.4.124 up to and including 5.4.* unaffected from 5.10.42 up to and including 5.10.* unaffected from 5.12.9 up to and including 5.12.* unaffected 5.13 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-47177 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47177
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-47177
trivy image --scanners vuln IMAGE | grep CVE-2021-47177
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/22da9f4978381a99f1abaeaf6c9b83be6ab5ddd8 git.kernel.org
- https://git.kernel.org/stable/c/2ec5e9bb6b0560c90d315559c28a99723c80b996 git.kernel.org
- https://git.kernel.org/stable/c/044bbe8b92ab4e542de7f6c93c88ea65cccd8e29 git.kernel.org
- https://git.kernel.org/stable/c/f01134321d04f47c718bb41b799bcdeda27873d2 git.kernel.org
- https://git.kernel.org/stable/c/ca466561eef36d1ec657673e3944eb6340bddb5b git.kernel.org
- https://git.kernel.org/stable/c/0ee74d5a48635c848c20f152d0d488bf84641304 git.kernel.org
Source: the record CVE-2021-47177 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