PT-2024-3362 · Linux+9 · Linux Kernel+9

Janusz Krzysztofik

·

Published

2024-03-28

·

Updated

2025-10-20

·

CVE-2024-26939

CVSS v3.1

7.0

High

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.6.37
Description The issue is related to a use-after-free vulnerability in the Linux kernel's drm/i915/vma module. Object debugging tools were reporting attempts to free a still active i915 VMA object when parking a GT believed to be idle. This occurred due to a race condition between the deactivation of the VMA inside the active retire() helper and the reporting of the VMA's object deactivation to the object debugging tool. The vulnerability was introduced by a commit that removed the VMA refcount and was later made visible by a fix for a bug in i915 active.
To address the issue, a wakeref is acquired for the VMA's GT when activating it and released only after the VMA is deactivated, excluding global GTT to prevent the GPU from never going idle. The fix also involves using an async variant of wakeref put to avoid circular locking dependency.
Recommendations To resolve the issue, update the Linux kernel to version 6.6.37 or later. This update includes the fix for the use-after-free vulnerability in the drm/i915/vma module. Ensure that all systems using the Linux kernel are updated to this version or later to prevent potential exploitation of this vulnerability.

Exploit

Fix

DoS

Race Condition

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:7000
ALSA-2024:7001
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2024-03634
CESA-2024_7000
CESA-2024_7001
CVE-2024-26939
DSA-5680-1
INFSA-2024_7000
INFSA-2024_7001
INFSA-2024_9315
MGASA-2024-0263
MGASA-2024-0266
OPENSUSE-SU-2024_1644-1
RHSA-2024:7000
RHSA-2024:7001
RHSA-2024:9315
RHSA-2024_7000
RHSA-2024_7001
RHSA-2024_9315
RHSA-2025:9584
RLSA-2024:7001
SUSE-SU-2024:1644-1
SUSE-SU-2024:2008-1
SUSE-SU-2024:2190-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
USN-6816-1
USN-6817-1
USN-6817-2
USN-6817-3
USN-6878-1

Affected Products

Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu