iommu/vt-d: Fix sysfs leak in alloc_iommu() (Linux Linux)

CVE-2021-47177
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 39ab9555c24110671f8dc671311a26e5c985b592 < 22da9f4978381a99f1abaeaf6c9b83be6ab5ddd8 ; affected 39ab9555c24110671f8dc671311a26e5c985b592 < 2ec5e9bb6b0560c90d315559c28a99723c80b996 ; affected 39ab9555c24110671f8dc671311a26e5c985b592 < 044bbe8b92ab4e542de7f6c93c88ea65cccd8e29 ; affected 39ab9555c24110671f8dc671311a26e5c985b592 < f01134321d04f47c718bb41b799bcdeda27873d2 ; affected 39ab9555c24110671f8dc671311a26e5c985b592 < ca466561eef36d1ec657673e3944eb6340bddb5b ; affected 39ab9555c24110671f8dc671311a26e5c985b592 < 0ee74d5a48635c848c20f152d0d488bf84641304
Linux · Linuxaffected 4.11 ; unaffected 0 < 4.11 ; unaffected 4.14.235 ≤ 4.14.* ; unaffected 4.19.193 ≤ 4.19.* ; unaffected 5.4.124 ≤ 5.4.* ; unaffected 5.10.42 ≤ 5.10.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD