Vulnerability in drm/amdgpu package: off by one in amdgpu_gfx_kiq_acquire()

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002313: drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire(). Affects Kernel versions >= 71c37505e7eaa01fa259debad1a71a7ae061039d, < a17d93c9088c1b7d7ec42ce25573b93544e19616. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The drm/amdgpu package is a component of the Linux Kernel ecosystem. It provides support for AMD GPUs and enables graphics acceleration on Linux systems. The amdgpu_gfx_kiq_acquire() function is responsible for acquiring the Kernel Interface Queue (KIQ) for the AMD GPU graphics engine. This vulnerability arises from an off-by-one error in the implementation of this function.

Vulnerability Detail

The off-by-one error in amdgpu_gfx_kiq_acquire() can lead to a buffer overflow, potentially allowing an attacker to overwrite adjacent memory locations. Exploiting this vulnerability could result in arbitrary code execution or privilege escalation. The vulnerability was introduced in version v4.13 of the Linux Kernel and was fixed in version v4.19.238 by commit a17d93c9088c1b7d7ec42ce25573b93544e19616.

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 →

Workaround

No specific workaround has been provided for this vulnerability.

Conclusion

The off-by-one vulnerability in the amdgpu_gfx_kiq_acquire() function of the drm/amdgpu package in the Linux Kernel has the potential to allow arbitrary code execution or privilege escalation. It is crucial to update the Linux Kernel to version v4.19.238 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially allow an attacker to execute arbitrary code or escalate privileges on a Linux system with an affected version of the Linux Kernel.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.

At the time of this report, no known exploits for this vulnerability have been disclosed.

This vulnerability requires local access to the affected system, as it is a flaw in the Linux Kernel.

For more details about this vulnerability, you can refer to the source link provided in the vulnerability details section of this report.

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