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.
Published: 2026-09-03
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability exists in the Linux kernel’s DRM logging subsystem. When a font scale is set such that the scaled_font would exceed the dimensions of the display, the calculation of rows or columns in drm_log_setup_modeset results in zero. A zero column count causes the drm_log_draw_kmsg_record loop to never decrement its counter, creating an infinite loop that stalls the kernel and results in a system hang. This delivers a denial‑of‑service condition if the affected logging path is exercised by the system.

Affected Systems

Any Linux machine running a kernel that includes the drm/log component before the patch that adds a check for zero rows or columns is affected. The advisory does not specify exact version ranges, so the vulnerability is understood to apply to all kernels that lack the updated zero‑dimension validation.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, indicating no known active exploitation. No CVSS score is provided. The flaw is triggered by an oversized scale parameter used when rendering DRM logs, a condition that is typically influenced by user or system software that interfaces with the DRM subsystem. Consequently, the most likely attack vector is local or requires elevated privileges to manipulate the scale value or invoke the logging path. Remote exploitation is not indicated by the available data.

Generated by OpenCVE AI on September 3, 2026 at 13:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that includes the drm_log_setup_modeset zero‑dimension check.
  • If an updated kernel is not yet available, apply the patch commits cited in the advisory (e.g., 50ca4dbbaf3e…) to the kernel source and rebuild the kernel, ensuring the buffer cleanup path is preserved.
  • If an immediate kernel upgrade or patch application is infeasible, disable or restrict DRM logging functionality or prevent applications from using font scales that could produce zero rows or columns.
  • Keep the kernel source repository under review and monitor the kernel mailing list for any forthcoming fixes.

Generated by OpenCVE AI on September 3, 2026 at 13:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-795

Thu, 03 Sep 2026 07:30:00 +0000

Type Values Removed Values Added
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.
Title drm/log: Fix infinite loop when scale is too large for display
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-03T08:26:24.706Z

Reserved: 2026-08-26T14:34:25.790Z

Link: CVE-2026-80740

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-03T13:06:13.190

Modified: 2026-09-03T13:06:13.190

Link: CVE-2026-80740

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T15:45:05Z

Weaknesses
  • CWE-795

    Only Filtering Special Elements at a Specified Location