# CVE-2024-36969: drm/amd/display: Fix division by zero in setup\_dsc\_config

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-369
- **Published:** 2024-06-08T12:53:01.353Z
- **Modified:** 2026-06-17T07:37:30.370Z

## Who should check

- Anyone running Linux \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< a32c8f951c8a456c1c251e1dcdf21787f8066445; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 91402e0e5de9124a3108db7a14163fcf9a6d322f; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 7e4f50dfc98c49b3dc6875a35c3112522fb25639; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< f187fcbbb8f8bf10c6687f0beae22509369f7563; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 308de6be0c9c7ba36915c0d398e771725c0ea911; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 130afc8a886183a94cf6eab7d24f300014ff87ba
- Anyone running Linux 4.15

## Description

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.

## Affected and fixed versions

- Linux: \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< a32c8f951c8a456c1c251e1dcdf21787f8066445; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 91402e0e5de9124a3108db7a14163fcf9a6d322f; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 7e4f50dfc98c49b3dc6875a35c3112522fb25639; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< f187fcbbb8f8bf10c6687f0beae22509369f7563; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 308de6be0c9c7ba36915c0d398e771725c0ea911; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 130afc8a886183a94cf6eab7d24f300014ff87ba (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- Upgrade Linux to 130afc8a886183a94cf6eab7d24f300014ff87ba or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-36969. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-36969.md
Affected: Linux >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < a32c8f951c8a456c1c251e1dcdf21787f8066445; >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 91402e0e5de9124a3108db7a14163fcf9a6d322f; >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 7e4f50dfc98c49b3dc6875a35c3112522fb25639; >= 4562236b3bc0a28aeb6ee93…
Fixed in: Linux 91402e0e5de9124a3108db7a14163fcf9a6d322f, Linux 7e4f50dfc98c49b3dc6875a35c3112522fb25639, Linux 308de6be0c9c7ba36915c0d398e771725c0ea911, Linux 130afc8a886183a94cf6eab7d24f300014ff87ba

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-36969 being exploited?

There is no confirmed exploitation: CVE-2024-36969 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-36969?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-36969?

Linux \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< a32c8f951c8a456c1c251e1dcdf21787f8066445; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 91402e0e5de9124a3108db7a14163fcf9a6d322f; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 7e4f50dfc98c49b3dc6875a35c3112522fb25639; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< f187fcbbb8f8bf10c6687f0beae22509369f7563; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 308de6be0c9c7ba36915c0d398e771725c0ea911; \>= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, \< 130afc8a886183a94cf6eab7d24f300014ff87ba; Linux 4.15.

### Is there a fix for CVE-2024-36969?

Yes. Fixed in Linux 91402e0e5de9124a3108db7a14163fcf9a6d322f, Linux 7e4f50dfc98c49b3dc6875a35c3112522fb25639, Linux 308de6be0c9c7ba36915c0d398e771725c0ea911, Linux 130afc8a886183a94cf6eab7d24f300014ff87ba. Upgrade Linux to 130afc8a886183a94cf6eab7d24f300014ff87ba or later.

### How do I check if I'm affected by CVE-2024-36969?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/a32c8f951c8a456c1c251e1dcdf21787f8066445>
- patch: <https://git.kernel.org/stable/c/91402e0e5de9124a3108db7a14163fcf9a6d322f>
- patch: <https://git.kernel.org/stable/c/7e4f50dfc98c49b3dc6875a35c3112522fb25639>
- patch: <https://git.kernel.org/stable/c/f187fcbbb8f8bf10c6687f0beae22509369f7563>
- patch: <https://git.kernel.org/stable/c/308de6be0c9c7ba36915c0d398e771725c0ea911>
- patch: <https://git.kernel.org/stable/c/130afc8a886183a94cf6eab7d24f300014ff87ba>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-36969>

HTML: <https://flawdb.com/CVE-2024-36969> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-36969>
