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.

Affected products

VendorProductVersions
LinuxLinux8a4b913df427b8f900bcc7849cc15a7b81628d57 to <a7d172b27aa3e1ad56e39949bfe4e5caa25fb20b; 8a4b913df427b8f900bcc7849cc15a7b81628d57 to <50ca4dbbaf3eb6deb74daca360b4dabc739a6fa6; 8a4b913df427b8f900bcc7849cc15a7b81628d57 to <f4f2bba28df9b9aaa00262a462139dbbcdc38d9f
LinuxLinux6.14; 0 to <6.14; 6.18.46 to <=6.18.*; 7.1.10 to <=7.1.*; 7.2 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 04 Sep 2026 07:42 UTC.