Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-26656

7.8 · HIGH
Published Apr 2, 2024 linux CWE-416 EPSS 0.23% (14th pctl)

Overview

CVE-2024-26656 is a high-severity vulnerability affecting linux linux_kernel. It was published on April 2, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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 invalid address and size.

The bug was reported by Joonkyo Jung <[email protected]>.

For example 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);

}

Due to the address and size are not valid there is a failure in

amdgpu_hmm_register->mmu_interval_notifier_insert->__mmu_interval_notifier_insert->

check_shl_overflow, but we even the amdgpu_hmm_register failure we still call

amdgpu_hmm_unregister into amdgpu_gem_object_free which causes access to a bad address.

The following stack is below when the issue is reproduced when Kazan is enabled:

[ +0.000014] Hardware name:

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 0, < 6.9 Affected

Frequently Asked Questions

What is CVE-2024-26656?

CVE-2024-26656 is a high-severity vulnerability affecting linux linux_kernel. It was published on April 2, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-26656?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-26656?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-26656?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-26656 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.