CVE-2021-47431

drm/amdgpu: fix gart.bo pin_count leak

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 03:04 PM UTC
Updated: August 11, 2026 at 03:37 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.13 ≤ v < 5.10.744.13 ≤ v < 5.14.134.13 ≤ v < 5.154.13 ≤ v < 5.4.1544.2 ≤ v < 5.4.1545.11 ≤ v < 5.14.135.5 ≤ v < 5.10.745.15 rc15.15 rc25.15 rc35dd696ae5d648b412a29b314c50e5dcf65829b9d
Vendor states this is fixed in 18d1c5ea3798ba42cfa0f8b2264d873463facb03 (fixed)
Vendor states this is fixed in 621ddffb70db824eabd63d18ac635180fe9500f9 (fixed)
Vendor states this is fixed in 66805763a97f8f7bdf742fc0851d85c02ed9411f (fixed)
Vendor states this is fixed in 83d857d6b0967b6709cd38750c3ce2ed8ced1a95 (fixed)
Vendor states this is fixed in 4.13 (unaffected)
Vendor states this is fixed in 5.10.74 (unaffected)
Vendor states this is fixed in 5.14.13 (unaffected)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.4.154 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/18d1c5ea3798ba42cfa0f8b2264d873463facb03
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/621ddffb70db824eabd63d18ac635180fe9500f9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/66805763a97f8f7bdf742fc0851d85c02ed9411f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/83d857d6b0967b6709cd38750c3ce2ed8ced1a95

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card