CVE-2026-99974

Unknown

Last modified

CVE-2026-99974 is a vulnerability of currently unknown severity. 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.

Description

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().

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < e9a180120e17b0a4e1df0fc2eee993cb4366e9f7; >= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < 5c009eb82016cf1bd0994de4cede312ba947aea1; >= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < b3a266d262a34df1954fb8b96ae372da2a4f6245; >= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < adec7583abe290f8b513863cf44b9d3569962ef1; >= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < 2877dfcc6e7aea7e9a503931931b6791c6a74b95; >= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < 18b00e211a0aab7219f024927789b515bfc3ea00; >= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < e1f7e1f9e7399c2d3d6fe8ba57608e0c157dbe69; >= 6cc50e1c5b57180fd37a31282000f43859b0fe73, < e4b6b865d45d8dafb6c6f28c8a993a5b4431d25a
LinuxLinux2.6.15

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-99974?
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().
How severe is CVE-2026-99974?
Severity scoring for CVE-2026-99974 is pending analysis.
How do I fix CVE-2026-99974?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-99974?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST