CVE-2024-56538
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-56538 affects the Linux kernel's DRM (Direct Rendering Manager) subsystem, specifically the Xilinx ZynqMP DisplayPort Subsystem driver. The vulnerability was discovered and disclosed on December 27, 2024, and involves a use-after-free condition in the DRM device removal process. The issue affects Linux kernel versions from 5.9 up to (excluding) 6.6.64, from 6.7 up to (excluding) 6.11.11, and from 6.12 up to (excluding) 6.12.2 (NVD).

Technical details

The vulnerability stems from improper device cleanup in the zynqmpkms driver. When removing the DRM device, the driver previously used drmdev_unregister() which could allow userspace processes to continue accessing the device after its removal, potentially leading to use-after-free conditions. The issue has been assigned 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 (NVD).

Impact

The vulnerability could allow an attacker with local access to cause use-after-free conditions when accessing the DRM device after its removal. This could potentially lead to privilege escalation, system crashes, or arbitrary code execution in the context of the kernel (NVD).

Mitigation and workarounds

The issue has been fixed by replacing drmdevunregister() with drmdevunplug(), which ensures that any further userspace accesses result in an error without calling into the driver's internals. The fix is available in Linux kernel versions 6.6.64, 6.11.11, and 6.12.2. Users are advised to update their systems to these or later versions (Kernel Git).

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-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-gcp-5.15
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-64k-debug-core
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-debug-kvm
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-fde-6.14
NoYesDec 09, 2025

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