Critical UAF Vulnerability in Linux Kernel's i915 Module

linux Updated 02 Oct 2025

Summary

05/07/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-39479: In the Linux kernel, the following vulnerability has been resolved: drm/i915/hwmon: Get rid of devm When both hwmon and hwmon drvdata (on which hwmon depends) are device managed resources, the expectation, on device unbi... Affects linux versions < 6.9.7-1. Fixed in 6.9.7-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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, managing hardware and system resources. The i915 module specifically handles Intel graphics hardware, providing essential functionality for rendering graphics. This module is crucial for systems utilizing Intel integrated graphics, and vulnerabilities within it can lead to severe security risks, including unauthorized access and system instability.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the i915 module related to the improper management of device resources. Specifically, when both hwmon and hwmon drvdata are device-managed resources, the unbinding process does not guarantee the correct order of resource release. This can lead to a use-after-free (UAF) condition, where hwmon sysfs may be accessed after drvdata has been released, potentially allowing an attacker to exploit this flaw and execute arbitrary code or crash the system.

How To Fix

Minimum fixed version

6.9.7-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 workaround, users can avoid using device-managed resources in the i915 module until the patch is applied. This may involve modifying the code to manually manage resource allocation and deallocation, ensuring that hwmon is released before drvdata during the unbinding process.

Conclusion

The vulnerability in the Linux kernel's i915 module poses significant risks due to improper resource management, leading to potential use-after-free conditions. Users are strongly advised to update to the patched version to mitigate these risks and ensure system stability.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, potentially leading to arbitrary code execution or crashes.

You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file, you can check for vulnerabilities without needing to access the code.

The risks include unauthorized access to system resources, potential data breaches, and system crashes, which can compromise the integrity and availability of the affected systems.

Yes, you can avoid using device-managed resources in the i915 module as a temporary measure until the patch is applied.

Detailed information can be found in the official Debian security advisories and the vulnerability report on the Debian OSV database.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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