CVE-2024-56369
drm/modes: Avoid divide by zero harder in drm_mode_vrefresh()
- State
- Published
- Severity
- 5.5 Medium
- Published
- Jan 11, 2025
- Updated
- May 11, 2026
- Reserved
- Jan 11, 2025
Description
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*...
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.5 Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
Weaknesses
- CWE-369 Divide By Zero
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/e7c7b48a0fc5ed83baae400a1b15e33978c25d7f
- https://git.kernel.org/stable/c/69fbb01e891701e6d04db1ddb5ad49e42c4dd963
- https://git.kernel.org/stable/c/b39de5a71bac5641d0fda33d1cf5682d82cf1ae5
- https://git.kernel.org/stable/c/47c8b6cf1d08f0ad40d7ea7b025442e51b35ee1f
- https://git.kernel.org/stable/c/9398332f23fab10c5ec57c168b44e72997d6318e
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.