CVE-2026-99975
What it is
A flaw in the Linux kernel's text console when its display is rotated: loading the same font data again with different character dimensions leaves the kernel using an old copy that is the wrong size, so it reads past the end of it. The record does not describe what an attacker could gain.
Written in plain English by AI from the official record. Show the official wording
In the Linux kernel, the following vulnerability has been resolved: fbcon: Include font geometry in the rotated font cache fbcon_rotate_font() caches a rotated copy of the console font and skips the rebuild when the fontdata pointer and the rotation match. Raw font data carries no geometry, though: width, height and charcount live in vc->vc_font. fbcon_set_font() deduplicates uploads by byte equality, so the same bytes re-uploaded with different dimensions keep the fontdata pointer while the geometry changes, and the early-out skips the rebuild. The rotated cell size depends on the geometry (rotation swaps width and height), so the stale buffer is indexed with the new cell size. Re-uploading a 4x16 font as 16x8 on a CW-rotated console, for example, doubles the rotated cell size and reads past the end of the old buffer. Record the geometry the buffer was built from and compare it in the early-out. The pointer-only key used to be backed by an explicit width check in the deduplication, which commit 1e3c49aa03fb ("lib/fonts: Compare font data for equality with font_data_is_equal()") dropped.
What it affects, and the version that fixes it
- Linux Kernel Each release has its own fixed version: 7.3.4, 7.4-rc1.
The official vulnerability database has not reviewed this record yet, so this comes from the vendor's own listing and may be incomplete.