# CVE-2021-47550: drm/amd/amdgpu: fix potential memleak

- 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.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-05-24T15:09:53.949Z
- Modified: 2026-06-17T04:17:44.757Z
- 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:

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.

(As written by CVE List.)

## Affected

- Linux Linux: from d95e8e97e2d522b7ebb1d5a64c01d8de307621dc before c746945fb6bcbe3863c9ea6369c7ef376e38e5eb; from d95e8e97e2d522b7ebb1d5a64c01d8de307621dc before 75752ada77e0726327adf68018b9f50ae091baeb; from d95e8e97e2d522b7ebb1d5a64c01d8de307621dc before 27dfaedc0d321b4ea4e10c53e4679d6911ab17aa; 5.10 (not affected: before 5.10; from 5.10.84 up to 5.10.*; from 5.15.7 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: before 5.10.84; from 5.11 before 5.15.7

## References

- <https://git.kernel.org/stable/c/c746945fb6bcbe3863c9ea6369c7ef376e38e5eb> (patch)
- <https://git.kernel.org/stable/c/75752ada77e0726327adf68018b9f50ae091baeb> (patch)
- <https://git.kernel.org/stable/c/27dfaedc0d321b4ea4e10c53e4679d6911ab17aa> (patch)

## Sources

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

---

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