Priority Inversion Vulnerability in Linux Kernel: Impacting Debian Packages

linux Updated 02 Oct 2025

Summary

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

DEBIAN-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.12.41-1. Fixed in 6.12.41-1. 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 the core component of the Debian operating system, responsible for managing hardware resources and providing essential services to software applications. It is designed to be efficient, secure, and stable. However, recent vulnerabilities have been identified that could compromise its integrity, particularly in the context of virtualized environments. This specific vulnerability affects the amdgpu driver, which is responsible for managing AMD graphics cards in Linux systems, particularly in scenarios involving SR-IOV (Single Root I/O Virtualization).

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the amdgpu driver related to the RLCG register access. This issue arises from the use of a mutex instead of a spinlock, leading to potential priority inversion. When multiple threads or virtual functions (VFs) attempt to access the same GPU registers simultaneously, it can result in race conditions. The vulnerability is exacerbated when a low-priority task holds a mutex that a high-priority task needs, causing delays and potential system instability. The specific function affected is amdgpu_virt_rlcg_reg_rw, which is critical for register access in a fast code path.

How To Fix

Minimum fixed version

6.12.41-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it is available to mitigate risks.

Conclusion

The identified vulnerability in the Linux kernel's amdgpu driver poses significant risks related to priority inversion and race conditions. It is crucial for users to update their systems to the patched versions to ensure stability and security. Utilizing tools like Vulert can further enhance monitoring and alerting for vulnerabilities in open-source software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves priority inversion due to improper handling of mutexes in the amdgpu driver, which can lead to race conditions and system instability.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

Failure to address this vulnerability may result in system crashes, degraded performance, and potential security breaches due to race conditions in GPU register access.

Yes, the patched versions are 6.12.41-1 for Debian 13 and 6.16.3-1 for Debian 14. Updating to these versions will mitigate the vulnerability.

Vulert is a platform that monitors open-source vulnerabilities in your software using a manifest file like package-lock.json. It provides real-time alerts and insights into potential vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.41-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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