Skip to main content

CVE-2024-43895: Vulnerability in Linux Linux

Medium
VulnerabilityCVE-2024-43895cvecve-2024-43895
Published: Mon Aug 26 2024 (08/26/2024, 10:10:50 UTC)
Source: CVE
Vendor/Project: Linux
Product: Linux

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Skip Recompute DSC Params if no Stream on Link [why] Encounter NULL pointer dereference uner mst + dsc setup. BUG: kernel NULL pointer dereference, address: 0000000000000008 PGD 0 P4D 0 Oops: 0000 [#1] PREEMPT SMP NOPTI CPU: 4 PID: 917 Comm: sway Not tainted 6.3.9-arch1-1 #1 124dc55df4f5272ccb409f39ef4872fc2b3376a2 Hardware name: LENOVO 20NKS01Y00/20NKS01Y00, BIOS R12ET61W(1.31 ) 07/28/2022 RIP: 0010:drm_dp_atomic_find_time_slots+0x5e/0x260 [drm_display_helper] Code: 01 00 00 48 8b 85 60 05 00 00 48 63 80 88 00 00 00 3b 43 28 0f 8d 2e 01 00 00 48 8b 53 30 48 8d 04 80 48 8d 04 c2 48 8b 40 18 <48> 8> RSP: 0018:ffff960cc2df77d8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8afb87e81280 RCX: 0000000000000224 RDX: ffff8afb9ee37c00 RSI: ffff8afb8da1a578 RDI: ffff8afb87e81280 RBP: ffff8afb83d67000 R08: 0000000000000001 R09: ffff8afb9652f850 R10: ffff960cc2df7908 R11: 0000000000000002 R12: 0000000000000000 R13: ffff8afb8d7688a0 R14: ffff8afb8da1a578 R15: 0000000000000224 FS: 00007f4dac35ce00(0000) GS:ffff8afe30b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000008 CR3: 000000010ddc6000 CR4: 00000000003506e0 Call Trace: <TASK> ? __die+0x23/0x70 ? page_fault_oops+0x171/0x4e0 ? plist_add+0xbe/0x100 ? exc_page_fault+0x7c/0x180 ? asm_exc_page_fault+0x26/0x30 ? drm_dp_atomic_find_time_slots+0x5e/0x260 [drm_display_helper 0e67723696438d8e02b741593dd50d80b44c2026] ? drm_dp_atomic_find_time_slots+0x28/0x260 [drm_display_helper 0e67723696438d8e02b741593dd50d80b44c2026] compute_mst_dsc_configs_for_link+0x2ff/0xa40 [amdgpu 62e600d2a75e9158e1cd0a243bdc8e6da040c054] ? fill_plane_buffer_attributes+0x419/0x510 [amdgpu 62e600d2a75e9158e1cd0a243bdc8e6da040c054] compute_mst_dsc_configs_for_state+0x1e1/0x250 [amdgpu 62e600d2a75e9158e1cd0a243bdc8e6da040c054] amdgpu_dm_atomic_check+0xecd/0x1190 [amdgpu 62e600d2a75e9158e1cd0a243bdc8e6da040c054] drm_atomic_check_only+0x5c5/0xa40 drm_mode_atomic_ioctl+0x76e/0xbc0 [how] dsc recompute should be skipped if no mode change detected on the new request. If detected, keep checking whether the stream is already on current state or not. (cherry picked from commit 8151a6c13111b465dbabe07c19f572f7cbd16fef)

AI-Powered Analysis

AILast updated: 07/04/2025, 05:11:45 UTC

Technical Analysis

CVE-2024-43895 is a vulnerability identified in the Linux kernel, specifically within the Direct Rendering Manager (DRM) subsystem related to AMD GPU display drivers. The flaw arises in the drm/amd/display code path during the handling of Display Stream Compression (DSC) parameters recomputation when no active stream is present on a Multi-Stream Transport (MST) link. The vulnerability manifests as a NULL pointer dereference, which leads to a kernel oops and subsequent crash. The root cause is that the kernel code attempts to recompute DSC parameters without verifying if a valid stream exists on the link, resulting in dereferencing a NULL pointer at address 0x8. This triggers a kernel panic or crash, causing a denial of service (DoS) condition on affected systems. The issue was identified in Linux kernel version 6.3.9-arch1-1 and affects systems running AMD GPU drivers with MST and DSC enabled. The patch involves skipping the DSC recomputation step if no mode change is detected or if no stream is active on the link, preventing the NULL pointer dereference. The vulnerability does not require user interaction but can be triggered by operations involving display mode changes or atomic DRM ioctl calls. There are no known exploits in the wild at the time of publication, and no CVSS score has been assigned yet. The vulnerability affects Linux kernel versions containing the flawed commit and AMD GPU drivers handling MST and DSC configurations.

Potential Impact

For European organizations, this vulnerability poses a risk primarily to systems running Linux with AMD GPUs that utilize MST and DSC features, such as workstations, servers, or embedded devices used in professional graphics, media, or compute environments. Exploitation results in a kernel crash leading to denial of service, which can disrupt critical operations, cause system instability, and potentially lead to data loss if unsaved work is present. Organizations relying on Linux-based infrastructure with AMD graphics hardware in sectors like media production, scientific computing, or industrial control could experience operational interruptions. While this vulnerability does not directly lead to privilege escalation or remote code execution, the DoS impact on critical systems could have cascading effects on availability and business continuity. Given the Linux kernel's widespread use in European data centers, research institutions, and enterprises, the vulnerability's impact is non-negligible, especially where AMD GPUs are deployed. However, the attack surface is somewhat limited to specific hardware and driver configurations, reducing the overall scope of impact.

Mitigation Recommendations

To mitigate this vulnerability, European organizations should: 1) Apply the latest Linux kernel updates that include the patch for CVE-2024-43895 as soon as they become available from their Linux distribution vendors or directly from the kernel source. 2) For environments where immediate patching is not feasible, consider disabling MST or DSC features on AMD GPUs if these features are not critical to operations, thereby reducing exposure. 3) Monitor system logs for kernel oops or crashes related to drm_display_helper or amdgpu modules to detect potential exploitation attempts or instability. 4) Implement robust system monitoring and automated reboot mechanisms to minimize downtime in case of crashes. 5) Engage with hardware vendors and Linux distribution maintainers to ensure timely deployment of fixes and to verify compatibility with existing infrastructure. 6) Conduct thorough testing of patched kernels in staging environments before production rollout to avoid regressions. 7) Educate system administrators about the vulnerability and the importance of applying kernel updates promptly, especially in AMD GPU-equipped Linux systems.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
Linux
Date Reserved
2024-08-17T09:11:59.291Z
Cisa Enriched
true
Cvss Version
null
State
PUBLISHED

Threat ID: 682cd0fa1484d88663aec029

Added to database: 5/20/2025, 6:59:06 PM

Last enriched: 7/4/2025, 5:11:45 AM

Last updated: 8/12/2025, 11:03:21 AM

Views: 12

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats