Segmentation Fault Vulnerability in Linux Kernel: drm/gem Framebuffer Reference Handling

linux Updated 02 Oct 2025

Summary

25/07/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-38449: In the Linux kernel, the following vulnerability has been resolved: drm/gem: Acquire references on GEM handles for framebuffers A GEM handle can be released while the GEM buffer object is attached to a DRM framebuffer. 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 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 Linux kernel is a core component of the operating system that manages hardware and system resources. It provides essential functionalities such as process management, memory management, and device control. The kernel's graphics subsystem, particularly the Direct Rendering Manager (DRM), facilitates rendering graphics in a secure and efficient manner. This vulnerability affects the DRM's handling of Graphics Execution Manager (GEM) handles, which are crucial for managing graphics memory and framebuffers.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the DRM subsystem related to the handling of GEM handles for framebuffers. Specifically, a GEM handle can be released while the associated GEM buffer object is still attached to a DRM framebuffer. This improper reference counting can lead to the release of the dma-buf backing the buffer object, resulting in a segmentation fault when attempting to use the framebuffer in subsequent mode-setting operations. This issue is exacerbated in drivers that utilize shadow planes for virtual mapping during page flips, potentially causing system instability and crashes.

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 advisable to apply the patch as soon as it is available to mitigate any potential risks.

Conclusion

The vulnerability in the Linux kernel's DRM subsystem poses a significant risk due to improper handling of GEM handles, leading to potential segmentation faults. Users are strongly advised to update to the patched versions of the Linux package to ensure system stability and security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves improper reference counting of GEM handles in the DRM subsystem, leading to potential segmentation faults.

The vulnerability affects the Linux kernel versions prior to 6.12.41-1 for Debian 13 and prior to 6.16.3-1 for Debian 14.

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 lead to system crashes and instability, particularly when using graphics-intensive applications.

Currently, there are no specific workarounds available. It is crucial to apply the patch as soon as it is released.

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