# CVE-2026-80740: drm/log: Fix infinite loop when scale is too large for display

- Severity: not scored yet
- 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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-03T08:26:24.706Z
- Modified: 2026-09-03T13:06:13.190Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/log: Fix infinite loop when scale is too large for display

When scale is large enough that scaled_font exceeds the display
dimensions, rows or columns become 0. A columns value of 0 causes
an infinite loop in drm_log_draw_kmsg_record() because the loop
never decrements len.

Check for zero rows/columns in drm_log_setup_modeset() and return
an error, cleaning up the already allocated buffer to avoid a leak.

(As written by CVE List.)

## Affected

- Linux Linux: from 8a4b913df427b8f900bcc7849cc15a7b81628d57 before a7d172b27aa3e1ad56e39949bfe4e5caa25fb20b; from 8a4b913df427b8f900bcc7849cc15a7b81628d57 before 50ca4dbbaf3eb6deb74daca360b4dabc739a6fa6; from 8a4b913df427b8f900bcc7849cc15a7b81628d57 before f4f2bba28df9b9aaa00262a462139dbbcdc38d9f; 6.14 (not affected: before 6.14; from 6.18.46 up to 6.18.*; from 7.1.10 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/a7d172b27aa3e1ad56e39949bfe4e5caa25fb20b>
- <https://git.kernel.org/stable/c/50ca4dbbaf3eb6deb74daca360b4dabc739a6fa6>
- <https://git.kernel.org/stable/c/f4f2bba28df9b9aaa00262a462139dbbcdc38d9f>

## Sources

- CVE List: [CVE-2026-80740](https://www.cve.org/CVERecord?id=CVE-2026-80740), CVE Terms of Use, modified 2026-09-03
- NVD: [CVE-2026-80740](https://nvd.nist.gov/vuln/detail/CVE-2026-80740), Public domain, modified 2026-09-03

---

Page: https://cve.day/CVE-2026-80740 · Whole record: https://cve.day/CVE-2026-80740.json · Rebuilt by cve.day 2026-11-25T22:59:36.162Z
