CVE-2024-38581
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-38581 is a use-after-free vulnerability discovered in the Linux kernel's AMD GPU subsystem, specifically in the drm/amdgpu/mes component. The vulnerability was disclosed on June 19, 2024, and affects Linux kernel versions up to 6.1.93, from 6.2 to 6.6.33, and from 6.7 to 6.8.12. The issue is related to improper handling of MES queue in multithreading circumstances (NVD, Ubuntu).

Technical details

The vulnerability is classified as a use-after-free (CWE-416) issue in the drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c file. The problem occurs due to improper handling of the fence fallback timer in the AMD GPU MES (Memory Encryption System) component. The vulnerability has received a CVSS v3.1 base score of 7.8 (HIGH), with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access requirements but high potential impact (NVD).

Impact

The vulnerability could allow a local attacker to potentially cause a denial of service (system crash) or execute arbitrary code on affected systems. The high CVSS score reflects the potential for complete compromise of system confidentiality, integrity, and availability if successfully exploited (Ubuntu).

Exploitability

The vulnerability requires local access with low complexity and low privileges to exploit. No user interaction is needed for exploitation. There are no known reports of this vulnerability being exploited in the wild at the time of disclosure (NVD).

Mitigation and workarounds

The issue has been fixed in the Linux kernel through a patch that deletes the fence fallback timer to prevent the use-after-free condition. The fix involves adding a del_timer_sync call for the fence fallback timer in the amdgpu_mes_remove_ring function. Users should upgrade to kernel versions that include this fix (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74730CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 22, 2026
CVE-2026-74733HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesAug 22, 2026
CVE-2026-74726HIGH7.3
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesAug 22, 2026
CVE-2026-74732MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • kernel-selftests-internal
NoYesAug 22, 2026
CVE-2026-74728NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-modules-core
NoNoAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management