CVE-2024-26656: linux-libc-dev - kernel: drm/amdgpu: use-after-free vulnerability

linux Updated 02 Oct 2025

Summary

02/04/2024
No i
Medium
5.5

CVE-2024-26656: In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix use-after-free bug The bug can be triggered by sending a single amdgpu_gem_userptr_ioctl to the AMDGPU DRM driver on any ASICs with an i... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. 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

linux-libc-dev is a package in the Debian operating system that provides the C library headers for the Linux kernel. These headers are necessary for compiling and linking programs that use the Linux kernel API. The linux-libc-dev package is an essential component for software development on Debian-based systems. However, a use-after-free vulnerability has been discovered in the kernel's drm/amdgpu module, which can be exploited by an attacker to execute arbitrary code or cause a denial of service.

Vulnerability Detail

The use-after-free vulnerability in the drm/amdgpu module of the Linux kernel allows an attacker to trigger a use-after-free bug by sending a single amdgpu_gem_userptr_ioctl with an invalid address and size. This vulnerability can be exploited on any ASICs (Application-Specific Integrated Circuits) and can lead to a failure in amdgpu_hmm_register, resulting in access to a bad address. The vulnerability was reported by Joonkyo Jung and can be triggered by the following code:

static void Syzkaller1(int fd)
{
	struct drm_amdgpu_gem_userptr arg;
	int ret;

	arg.addr = 0xffffffffffff0000;
	arg.size = 0x80000000; /* 2 Gb */
	arg.flags = 0x7;
	ret = drmIoctl(fd, 0xc1186451 /* amdgpu_gem_userptr_ioctl */, &arg);
}

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability at the moment.

Conclusion

The linux-libc-dev package in Debian is vulnerable to a use-after-free vulnerability in the kernel's drm/amdgpu module. To mitigate this vulnerability, it is crucial to update the linux-libc-dev package to version 6.1.90-1 or later. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

linux-libc-dev is a package in the Debian operating system that provides the C library headers for the Linux kernel. These headers are necessary for compiling and linking programs that use the Linux kernel API.

A use-after-free vulnerability occurs when a program continues to use a memory address after it has been freed. This can lead to memory corruption and potentially allow an attacker to execute arbitrary code or cause a denial of service.

This vulnerability can be exploited by sending a single amdgpu_gem_userptr_ioctl with an invalid address and size to the AMDGPU DRM driver on any ASICs. This triggers a use-after-free bug in the kernel's drm/amdgpu module.

This vulnerability was discovered by Joonkyo Jung joonkyoj@yonsei.ac.kr.

The CVSS score of this vulnerability is 4.7, indicating a medium severity.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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