CVE-2024-56369Published Jan 11, 2025 · Jan 11Updated Oct 28
drm/modes: Avoid divide by zero harder in drm_mode_vrefresh()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/modes: Avoid divide by zero harder in drm_mode_vrefresh()
drm_mode_vrefresh() is trying to avoid divide by zero by checking whether htotal or vtotal are zero. But we may still end up with a div-by-zero of vtotal*htotal*...
From the CVE record · Linux
The Linux kernel's drm_mode_vrefresh() can divide by zero despite checks for zero htotal and vtotal values. The input does not establish how an attacker could trigger this or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their versions are affected; affected versions are not specified.