CVE-2026-99975
JSON

Not scored

fbcon: Include font geometry in the rotated font cache

Severity
Not scored
Exploit likelihood
0.29% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 6cc50e1c5b57180fd37a31282000f43859b0fe73 before e19f246141af0c3f4d6f0b267793f39723413199, from 6cc50e1c5b57180fd37a31282000f43859b0fe73 before 10463bcd43495fb88ff667b2c5348200860f6bdc, 2.6.15
Not affected: before 2.6.15, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-99975 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-99975 changed 2026-11-30Public domain