# CVE-2021-47177: iommu/vt-d: Fix sysfs leak in alloc_iommu()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-03-25T09:16:27.371Z
- Modified: 2026-06-17T04:16:50.470Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 39ab9555c24110671f8dc671311a26e5c985b592 before 22da9f4978381a99f1abaeaf6c9b83be6ab5ddd8; from 39ab9555c24110671f8dc671311a26e5c985b592 before 2ec5e9bb6b0560c90d315559c28a99723c80b996; from 39ab9555c24110671f8dc671311a26e5c985b592 before 044bbe8b92ab4e542de7f6c93c88ea65cccd8e29; from 39ab9555c24110671f8dc671311a26e5c985b592 before f01134321d04f47c718bb41b799bcdeda27873d2; from 39ab9555c24110671f8dc671311a26e5c985b592 before ca466561eef36d1ec657673e3944eb6340bddb5b; from 39ab9555c24110671f8dc671311a26e5c985b592 before 0ee74d5a48635c848c20f152d0d488bf84641304; 4.11 (not affected: before 4.11; from 4.14.235 up to 4.14.*; from 4.19.193 up to 4.19.*; from 5.4.124 up to 5.4.*; from 5.10.42 up to 5.10.*; from 5.12.9 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 4.11 before 4.14.235; from 4.15 before 4.19.193; from 4.20 before 5.4.124; from 5.5 before 5.10.42; from 5.11 before 5.12.9; 5.13

## References

- <https://git.kernel.org/stable/c/22da9f4978381a99f1abaeaf6c9b83be6ab5ddd8> (patch)
- <https://git.kernel.org/stable/c/2ec5e9bb6b0560c90d315559c28a99723c80b996> (patch)
- <https://git.kernel.org/stable/c/044bbe8b92ab4e542de7f6c93c88ea65cccd8e29> (patch)
- <https://git.kernel.org/stable/c/f01134321d04f47c718bb41b799bcdeda27873d2> (patch)
- <https://git.kernel.org/stable/c/ca466561eef36d1ec657673e3944eb6340bddb5b> (patch)
- <https://git.kernel.org/stable/c/0ee74d5a48635c848c20f152d0d488bf84641304> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2021-47177 · Whole record: https://cve.day/CVE-2021-47177.json · Rebuilt by cve.day 2026-11-25T22:58:08.701Z
