# CVE-2024-56369: drm/modes: Avoid divide by zero harder in drm_mode_vrefresh()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-01-11T12:35:46.439Z
- Modified: 2026-06-17T08:12:07.457Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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*...

(As written by CVE List.)

## Affected

- Linux Linux: from 2f0e9d804935970a4ce0f58dd046b41881bfd8f3 before e7c7b48a0fc5ed83baae400a1b15e33978c25d7f; from 2f0e9d804935970a4ce0f58dd046b41881bfd8f3 before 69fbb01e891701e6d04db1ddb5ad49e42c4dd963; from 2f0e9d804935970a4ce0f58dd046b41881bfd8f3 before b39de5a71bac5641d0fda33d1cf5682d82cf1ae5; from 2f0e9d804935970a4ce0f58dd046b41881bfd8f3 before 47c8b6cf1d08f0ad40d7ea7b025442e51b35ee1f; from 2f0e9d804935970a4ce0f58dd046b41881bfd8f3 before 9398332f23fab10c5ec57c168b44e72997d6318e; 4.17 (not affected: before 4.17; from 5.15.176 up to 5.15.*; from 6.1.122 up to 6.1.*; from 6.6.68 up to 6.6.*; from 6.12.7 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: before 5.15.176; from 5.16 before 6.1.122; from 6.2 before 6.6.68; from 6.7 before 6.12.7; 6.13

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/e7c7b48a0fc5ed83baae400a1b15e33978c25d7f> (patch)
- <https://git.kernel.org/stable/c/69fbb01e891701e6d04db1ddb5ad49e42c4dd963> (patch)
- <https://git.kernel.org/stable/c/b39de5a71bac5641d0fda33d1cf5682d82cf1ae5> (patch)
- <https://git.kernel.org/stable/c/47c8b6cf1d08f0ad40d7ea7b025442e51b35ee1f> (patch)
- <https://git.kernel.org/stable/c/9398332f23fab10c5ec57c168b44e72997d6318e> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Sources

- CVE List: [CVE-2024-56369](https://www.cve.org/CVERecord?id=CVE-2024-56369), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56369](https://nvd.nist.gov/vuln/detail/CVE-2024-56369), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56369 · Whole record: https://cve.day/CVE-2024-56369.json · Rebuilt by cve.day 2026-11-25T22:58:50.931Z
