CVE-2026-99974

Published November 30, 2026

What it is

A flaw in the Linux kernel's text console when its display is rotated: when the font is changed, the screen is redrawn using an old copy of the font that no longer matches its size, so the kernel reads memory beyond 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: Rebuild rotated font buffer on font change fbcon_rotate_font() caches a rotated copy of the console font in par->rotated.buf. The buffer is sized from the font's width, height and charcount, and is rebuilt in fbcon_init(), fbcon_switch() and fbcon_modechanged(), but not in fbcon_do_set_font(). When the font is changed through KDFONTOP, the new geometry is installed and vc_resize() redraws before the buffer is rebuilt. The rotated putcs/cursor ops then index the old buffer with the new cell size; KASAN reports a slab-out-of-bounds read in soft_cursor(). Rebuild the buffer for the visible console before the redraw, as the other callers do: select the console's blitting state with set_blitting_type() (which also uploads the new font's map on tile-blitting hardware), then rebuild. Background consoles keep their rebuild at fbcon_switch() time, as the buffer is shared per framebuffer and must not be updated for a console that is not being displayed. To ensure a correct rollback when the rebuild or the following vc_resize() fails, save the rotated font state, clear it before rebuilding, and restore it in the error path of fbcon_do_set_font().

What it affects, and the version that fixes it

  • Linux Kernel Each release has its own fixed version: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 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.

The official record (NVD) · CVE.org