# CVE-2021-47431: drm/amdgpu: fix gart.bo pin_count leak

- 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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-05-21T15:04:16.014Z
- Modified: 2026-08-11T03:17:20.830Z
- 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/amdgpu: fix gart.bo pin_count leak

gmc_v{9,10}_0_gart_disable() isn't called matched with
correspoding gart_enbale function in SRIOV case. This will
lead to gart.bo pin_count leak on driver unload.

(As written by CVE List.)

## Affected

- Linux Linux: from 5dd696ae5d648b412a29b314c50e5dcf65829b9d before 83d857d6b0967b6709cd38750c3ce2ed8ced1a95; from 5dd696ae5d648b412a29b314c50e5dcf65829b9d before 621ddffb70db824eabd63d18ac635180fe9500f9; from 5dd696ae5d648b412a29b314c50e5dcf65829b9d before 18d1c5ea3798ba42cfa0f8b2264d873463facb03; from 5dd696ae5d648b412a29b314c50e5dcf65829b9d before 66805763a97f8f7bdf742fc0851d85c02ed9411f; 4.13 (not affected: before 4.13; from 5.4.154 up to 5.4.*; from 5.10.74 up to 5.10.*; from 5.14.13 up to 5.14.*; from 5.15 up to *)
- linux linux_kernel: from 4.2 before 5.4.154; from 5.5 before 5.10.74; from 5.11 before 5.14.13; 5.15

## References

- <https://git.kernel.org/stable/c/83d857d6b0967b6709cd38750c3ce2ed8ced1a95> (patch)
- <https://git.kernel.org/stable/c/621ddffb70db824eabd63d18ac635180fe9500f9> (patch)
- <https://git.kernel.org/stable/c/18d1c5ea3798ba42cfa0f8b2264d873463facb03> (patch)
- <https://git.kernel.org/stable/c/66805763a97f8f7bdf742fc0851d85c02ed9411f> (patch)

## Sources

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

---

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