Refcount Leak of a dma_fence obj in drm/amd/amdgpu/amdgpu_cs

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002200: drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj. Affects Kernel versions < 4009f104b02b223d1a11d74b36b1cc083bc37028. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The drm/amd/amdgpu/amdgpu_cs package is a component of the Linux Kernel that provides support for AMD GPUs. It includes functionality for managing command submission and synchronization for the AMD GPU driver. The package is responsible for handling command submission to the GPU and ensuring synchronization between different command streams. This vulnerability affects the package by causing a refcount leak of a dma_fence object.

Vulnerability Detail

The vulnerability in drm/amd/amdgpu/amdgpu_cs is caused by a refcount leak of a dma_fence object. A dma_fence object is used to synchronize different command streams and ensure that commands are executed in the correct order. However, due to a programming error, the refcount of a dma_fence object is not properly decremented in certain error paths. This can lead to a refcount leak, where the object is not properly released and can result in resource exhaustion and potential denial of service attacks. The vulnerability has been fixed in Linux Kernel version v5.4.189 by commit 4009f104b02b223d1a11d74b36b1cc083bc37028.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Conclusion

The vulnerability in drm/amd/amdgpu/amdgpu_cs that caused a refcount leak of a dma_fence object has been fixed in Linux Kernel version v5.4.189. It is recommended to update the Linux Kernel to the fixed version to mitigate the vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to resource exhaustion and potential denial of service attacks.

There is no known exploit for this vulnerability at the moment.

No, the vulnerability is fixed in Linux Kernel version v5.4.189 and later.

There is no known workaround for this vulnerability. It is recommended to update to the fixed version of the Linux Kernel.

More information about the fix can be found in the commit 4009f104b02b223d1a11d74b36b1cc083bc37028 in the Linux Kernel repository.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback