CVE-2026-80740 drm/log: Fix infinite loop when scale is too large for display
A local attacker can cause a denial of service in the Linux kernel via an infinite loop in the DRM log driver when handling large font scales.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-80740?
CVE-2026-80740 is a denial of service vulnerability in Linux, published on 3 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-80740?
How do I fix CVE-2026-80740?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-80740 being exploited?
There is no known exploitation of CVE-2026-80740 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2026-80740, DEBIAN-CVE-2026-80740, GHSA-pw7c-6m3h-4wvr, UBUNTU-CVE-2026-80740.