CVE-2026-99974: fbcon: Rebuild rotated font buffer on font change

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

fbcon: Rebuild rotated font buffer on font change

fbconrotatefont() 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 fbconinit(), fbconswitch() and fbconmodechanged(), but not in fbcondosetfont().

When the font is changed through KDFONTOP, the new geometry is installed and vcresize() 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 softcursor().

Rebuild the buffer for the visible console before the redraw, as the other callers do: select the console's blitting state with setblittingtype() (which also uploads the new font's map on tile-blitting hardware), then rebuild. Background consoles keep their rebuild at fbconswitch() 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 vcresize() fails, save the rotated font state, clear it before rebuilding, and restore it in the error path of fbcondosetfont().

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:18 PM
Data Sourced
via MITRE·01:18 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203