{"api_version":"1","generated_at":"2026-09-09T21:14:03+00:00","cve":"CVE-2026-80740","urls":{"html":"https://cve.report/CVE-2026-80740","api":"https://cve.report/api/cve/CVE-2026-80740.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-80740","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-80740"},"summary":{"title":"drm/log: Fix infinite loop when scale is too large for display","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-03 13:06:13","updated_at":"2026-09-03 13:06:13"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/f4f2bba28df9b9aaa00262a462139dbbcdc38d9f","name":"https://git.kernel.org/stable/c/f4f2bba28df9b9aaa00262a462139dbbcdc38d9f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/50ca4dbbaf3eb6deb74daca360b4dabc739a6fa6","name":"https://git.kernel.org/stable/c/50ca4dbbaf3eb6deb74daca360b4dabc739a6fa6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a7d172b27aa3e1ad56e39949bfe4e5caa25fb20b","name":"https://git.kernel.org/stable/c/a7d172b27aa3e1ad56e39949bfe4e5caa25fb20b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-80740","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80740","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8a4b913df427b8f900bcc7849cc15a7b81628d57 a7d172b27aa3e1ad56e39949bfe4e5caa25fb20b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8a4b913df427b8f900bcc7849cc15a7b81628d57 50ca4dbbaf3eb6deb74daca360b4dabc739a6fa6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8a4b913df427b8f900bcc7849cc15a7b81628d57 f4f2bba28df9b9aaa00262a462139dbbcdc38d9f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.46 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.10 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"80740","cve":"CVE-2026-80740","epss":"0.001660000","percentile":"0.061060000","score_date":"2026-09-07","updated_at":"2026-09-08 00:05:28"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/clients/drm_log.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"a7d172b27aa3e1ad56e39949bfe4e5caa25fb20b","status":"affected","version":"8a4b913df427b8f900bcc7849cc15a7b81628d57","versionType":"git"},{"lessThan":"50ca4dbbaf3eb6deb74daca360b4dabc739a6fa6","status":"affected","version":"8a4b913df427b8f900bcc7849cc15a7b81628d57","versionType":"git"},{"lessThan":"f4f2bba28df9b9aaa00262a462139dbbcdc38d9f","status":"affected","version":"8a4b913df427b8f900bcc7849cc15a7b81628d57","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpu/drm/clients/drm_log.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.14"},{"lessThan":"6.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.46","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.46","versionStartIncluding":"6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.10","versionStartIncluding":"6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2","versionStartIncluding":"6.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-09-03T08:26:24.706Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/a7d172b27aa3e1ad56e39949bfe4e5caa25fb20b"},{"url":"https://git.kernel.org/stable/c/50ca4dbbaf3eb6deb74daca360b4dabc739a6fa6"},{"url":"https://git.kernel.org/stable/c/f4f2bba28df9b9aaa00262a462139dbbcdc38d9f"}],"title":"drm/log: Fix infinite loop when scale is too large for display","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-80740","datePublished":"2026-09-03T08:26:24.706Z","dateReserved":"2026-08-26T14:34:25.790Z","dateUpdated":"2026-09-03T08:26:24.706Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-03 13:06:13","lastModifiedDate":"2026-09-03 13:06:13","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"80740","Ordinal":"1","Title":"drm/log: Fix infinite loop when scale is too large for display","CVE":"CVE-2026-80740","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"80740","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"drm/log: Fix infinite loop when scale is too large for display"}]}}}