{"id":"CVE-2026-80740","aliases":["CVE-2026-80740"],"related":[],"kind":"vulnerability","state":"published","title":"drm/log: Fix infinite loop when scale is too large for display","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/log: Fix infinite loop when scale is too large for display\n\nWhen scale is large enough that scaled_font exceeds the display\ndimensions, rows or columns become 0. A columns value of 0 causes\nan infinite loop in drm_log_draw_kmsg_record() because the loop\nnever decrements len.\n\nCheck for zero rows/columns in drm_log_setup_modeset() and return\nan error, cleaning up the already allocated buffer to avoid a leak.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/log: Fix infinite loop when scale is too large for display\n\nWhen scale is large enough that scaled_font exceeds the display\ndimensions, rows or columns become 0. A columns value of 0 causes\nan infinite loop in drm_log_draw_kmsg_record() because the loop\nnever decrements len.\n\nCheck for zero rows/columns in drm_log_setup_modeset() and return\nan error, cleaning up the already allocated buffer to avoid a leak.","source":"cvelist"}],"published":"2026-09-03T08:26:24.706Z","modified":"2026-09-03T13:06:13.190Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8a4b913df427b8f900bcc7849cc15a7b81628d57","fixed":"a7d172b27aa3e1ad56e39949bfe4e5caa25fb20b","status":"affected"},{"type":"git","introduced":"8a4b913df427b8f900bcc7849cc15a7b81628d57","fixed":"50ca4dbbaf3eb6deb74daca360b4dabc739a6fa6","status":"affected"},{"type":"git","introduced":"8a4b913df427b8f900bcc7849cc15a7b81628d57","fixed":"f4f2bba28df9b9aaa00262a462139dbbcdc38d9f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.18.46","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.10","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/a7d172b27aa3e1ad56e39949bfe4e5caa25fb20b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50ca4dbbaf3eb6deb74daca360b4dabc739a6fa6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f4f2bba28df9b9aaa00262a462139dbbcdc38d9f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80740","url":"https://www.cve.org/CVERecord?id=CVE-2026-80740","licence":"CVE Terms of Use","modified":"2026-09-03T08:26:24.706Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80740","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80740","licence":"Public domain","modified":"2026-09-03T13:06:13.190Z"}],"updatedAt":"2026-11-25T22:59:36.162Z","epss":{"score":0.00166,"percentile":0.06141,"date":"2026-12-01T12:00:22.000Z"}}