Priority Inversion Vulnerability in Linux Kernel's AMDGPU Package

linux Updated 02 Oct 2025

Summary

18/04/2025
N/A
No i
Unrated
Not published

CVE-2025-38104: In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Replace Mutex with Spinlock for RLCG register access to avoid Priority Inversion in SRIOV RLCG Register Access is a way for virtual function... Affects linux versions 6.1.106-1 – 6.9.9-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is a core component of the operating system that manages hardware and system resources. The AMDGPU package is a driver for AMD graphics cards, enabling the use of GPU features in a virtualized environment. This package is crucial for performance in graphics rendering and computation tasks. However, it is susceptible to a priority inversion vulnerability that can lead to race conditions during register access.

Vulnerability Detail

In the Linux kernel, specifically within the AMDGPU driver, a vulnerability has been identified that arises from the use of mutexes for accessing RLCG registers. When multiple threads or virtual functions (VFs) attempt to access the same registers simultaneously, it can lead to race conditions. The issue is exacerbated when a low-priority task holds a mutex that a high-priority task needs, resulting in priority inversion. This can cause system instability and degraded performance, particularly in high-demand environments.

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

As a temporary workaround, users can avoid using the RLCG register access in scenarios where multiple threads may contend for access. This may involve modifying application logic to serialize access to these registers manually.

Conclusion

The CVE-2025-38104 vulnerability in the Linux kernel's AMDGPU driver poses a significant risk due to potential priority inversion and race conditions. Users are encouraged to update their systems to mitigate this risk and ensure stable performance. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-38104 is a vulnerability in the Linux kernel's AMDGPU driver that can lead to priority inversion and race conditions during register access.

The vulnerability can cause system instability and degraded performance, especially in environments where multiple threads are accessing GPU registers simultaneously.

The vulnerability affects systems running the Linux kernel with the AMDGPU driver, particularly Debian versions 12 and 13.

Yes, users are advised to update their Linux packages to the latest version that includes the fix for this vulnerability.

You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in real-time. Simply upload your manifest file like package-lock.json to check for vulnerabilities without requiring installation.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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