Critical NULL Pointer Dereference in Linux Kernel's AMDGPU Driver - linux Package

linux Updated 02 Oct 2025

Summary

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

DEBIAN-CVE-2025-21989: In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: fix missing .is_two_pixels_per_container Starting from 6.11, AMDGPU driver, while being loaded with amdgpu.dc=1, due to lack of .is_two... Affects linux versions < 6.12.20-1. Fixed in 6.12.20-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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The linux package is a core component of the Debian operating system, providing the Linux kernel which serves as the foundation for system operations. It manages hardware resources, facilitates communication between software and hardware, and ensures system stability. The kernel is crucial for system performance and security, making it essential to address any vulnerabilities that may arise.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the AMDGPU driver related to the handling of the .is_two_pixels_per_container function. This issue, introduced in version 6.11, can lead to a NULL pointer dereference when the driver is loaded with the amdgpu.dc=1 option on older GPUs, such as the R9 280X. This can result in system crashes or instability, impacting users relying on these older graphics cards.

How To Fix

Minimum fixed version

6.12.20-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

As a temporary workaround, users can disable the amdgpu.dc=1 option when loading the AMDGPU driver. This can be done by modifying the boot parameters in the GRUB configuration file. Edit the file '/etc/default/grub' and change the line: 'GRUB_CMDLINE_LINUX_DEFAULT' to remove 'amdgpu.dc=1'. After making changes, run 'sudo update-grub' and reboot the system.

Conclusion

The identified vulnerability in the Linux kernel's AMDGPU driver poses a significant risk to users with older GPUs. It is crucial to update the linux package to the patched version to ensure system stability and security. Users should also consider using the provided workaround if immediate updates are not feasible.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can lead to system crashes or instability on PCs with older GPUs, affecting user experience and system reliability.

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.

Yes, updating the linux package to version 6.12.20-1 or later will permanently resolve the vulnerability.

If you cannot update, consider using the workaround by disabling the amdgpu.dc=1 option to mitigate the risk temporarily.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

6.12.20-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