CVE-2024-36969: drm/amd/display: Fix division by zero in setup_dsc_config
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix division by zero in setup_dsc_config
When slice_height is 0, the division by slice_height in the calculation
of the number of slices will cause a division by zero driver crash. This
leaves the kernel in a state that requires a reboot. This patch adds a
check to avoid the division by zero.
The stack trace below is for the 6.8.4 Kernel. I reproduced the issue on
a Z16 Gen 2 Lenovo Thinkpad with a Apple Studio Display monitor
connected via Thunderbolt. The amdgpu driver crashed with this exception
when I rebooted the system with the monitor connected.
kernel: ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447)
kernel: ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154)
kernel: ? setup_dsc_config (drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c:1053) amdgpu
kernel: ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175)
kernel: ? setup_dsc_config (drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c:1053) amdgpu
kernel: ? exc_divide_error (arch/x86/kernel/traps.c:194 (discriminator 2))
kernel: ? setup_dsc_config (drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c:1053) amdgpu
kernel: ? asm_exc_divide_error (./arch/x86/include/asm/idtentry.h:548)
kernel: ? setup_dsc_config (drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c:1053) amdgpu
kernel: dc_dsc_compute_config (drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dc_dsc.c:1109) amdgpu
After applying this patch, the driver no longer crashes when the monitor
is connected and the system is rebooted. I believe this is the same
issue reported for 3113.
Security readout for executives and security teams
Plain-English summary
CVE-2024-36969 is a Linux kernel amdgpu display-driver crash caused by dividing by zero during Display Stream Compression setup. The reported impact is availability: the driver crashes and leaves the system needing a reboot when a triggering display condition occurs.
Executive priority
Treat this as a targeted availability risk for Linux endpoints with AMD graphics, not a broad emergency. Prioritize patching where display crashes affect executives, developers, kiosks, labs, or operational workstations that rely on external monitors.
Technical view
In drm/amd/display, setup_dsc_config can divide by slice_height when slice_height is zero. The source reports a crash in amdgpu on Linux 6.8.4 with an external Apple Studio Display over Thunderbolt, and says the patch adds a guard before division.
Likely exposure
Exposure is most likely on Linux systems using AMD GPU display support with affected kernel versions and display configurations that exercise DSC setup. The bundle lists Linux as affected across several kernel lines, but does not identify distributions, packages, or cloud images.
Exploitation context
No active exploitation is supported by the provided bundle, and KEV is false. The documented trigger is a real-world reboot with a Thunderbolt-connected monitor, not a remote attack path. Evidence supports denial of service, not code execution.
Researcher notes
The evidence is limited to kernel CVE data and stable patch references. The affected-version structure in the bundle is not distro-specific, and no CVSS, CWE, exploit status, or remote vector is provided. Avoid expanding scope beyond amdgpu DSC crash conditions.
Mitigation direction
Apply Linux kernel updates that include the referenced stable fixes.
Check distribution advisories for backported amdgpu fixes.
Prioritize laptops/workstations with AMD graphics and DSC-capable external displays.
Use vendor guidance for any unsupported or custom kernels.
Consider operational workarounds for known crashing display setups until patched.
Validation and detection
Inventory Linux systems using AMD GPU display drivers.
Compare running kernels against vendor fixed versions or referenced commits.
Review kernel logs for divide errors in setup_dsc_config or dc_dsc_compute_config.
Confirm patched systems no longer crash under normal display reboot workflows.
Track distro package status before marking remediation complete.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-36969 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.