drm/amd/amdgpu: fix potential memleak (Linux Linux)

CVE-2021-47550
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/amdgpu: fix potential memleak In function amdgpu_get_xgmi_hive, when kobject_init_and_add failed There is a potential memleak if not call kobject_put.

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 d95e8e97e2d522b7ebb1d5a64c01d8de307621dc < c746945fb6bcbe3863c9ea6369c7ef376e38e5eb ; affected d95e8e97e2d522b7ebb1d5a64c01d8de307621dc < 75752ada77e0726327adf68018b9f50ae091baeb ; affected d95e8e97e2d522b7ebb1d5a64c01d8de307621dc < 27dfaedc0d321b4ea4e10c53e4679d6911ab17aa
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.10.84 ≤ 5.10.* ; unaffected 5.15.7 ≤ 5.15.* ; unaffected 5.16 ≤ *

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