CVE-2026-99974
publishedfbcon: Rebuild rotated font buffer on font change
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux6cc50e1c5b57180fd37a31282000f43859b0fe73 to < e9a180120e17b0a4e1df0fc2eee993cb4366e9f7 · 6cc50e1c5b57180fd37a31282000f43859b0fe73 to < 5c009eb82016cf1bd0994de4cede312ba947aea1 · 6cc50e1c5b57180fd37a31282000f43859b0fe73 to < b3a266d262a34df1954fb8b96ae372da2a4f6245 · 6cc50e1c5b57180fd37a31282000f43859b0fe73 to < adec7583abe290f8b513863cf44b9d3569962ef1 · 6cc50e1c5b57180fd37a31282000f43859b0fe73 to < 2877dfcc6e7aea7e9a503931931b6791c6a74b95 · 6cc50e1c5b57180fd37a31282000f43859b0fe73 to < 18b00e211a0aab7219f024927789b515bfc3ea00 · 6cc50e1c5b57180fd37a31282000f43859b0fe73 to < e1f7e1f9e7399c2d3d6fe8ba57608e0c157dbe69 · 6cc50e1c5b57180fd37a31282000f43859b0fe73 to < e4b6b865d45d8dafb6c6f28c8a993a5b4431d25a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.15 (affected) · 0 to < 2.6.15 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 6cc50e1c5b57180fd37a31282000f43859b0fe73 to < e9a180120e17b0a4e1df0fc2eee993cb4366e9f7 (affected · git)6cc50e1c5b57180fd37a31282000f43859b0fe73 to < 5c009eb82016cf1bd0994de4cede312ba947aea1 (affected · git)6cc50e1c5b57180fd37a31282000f43859b0fe73 to < b3a266d262a34df1954fb8b96ae372da2a4f6245 (affected · git)6cc50e1c5b57180fd37a31282000f43859b0fe73 to < adec7583abe290f8b513863cf44b9d3569962ef1 (affected · git)6cc50e1c5b57180fd37a31282000f43859b0fe73 to < 2877dfcc6e7aea7e9a503931931b6791c6a74b95 (affected · git)6cc50e1c5b57180fd37a31282000f43859b0fe73 to < 18b00e211a0aab7219f024927789b515bfc3ea00 (affected · git)6cc50e1c5b57180fd37a31282000f43859b0fe73 to < e1f7e1f9e7399c2d3d6fe8ba57608e0c157dbe69 (affected · git)6cc50e1c5b57180fd37a31282000f43859b0fe73 to < e4b6b865d45d8dafb6c6f28c8a993a5b4431d25a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.15 (affected)0 to < 2.6.15 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/18b00e211a0aab7219f024927789b515bfc3ea00
- https://git.kernel.org/stable/c/2877dfcc6e7aea7e9a503931931b6791c6a74b95
- https://git.kernel.org/stable/c/5c009eb82016cf1bd0994de4cede312ba947aea1
- https://git.kernel.org/stable/c/adec7583abe290f8b513863cf44b9d3569962ef1
- https://git.kernel.org/stable/c/b3a266d262a34df1954fb8b96ae372da2a4f6245
- https://git.kernel.org/stable/c/e1f7e1f9e7399c2d3d6fe8ba57608e0c157dbe69
- https://git.kernel.org/stable/c/e4b6b865d45d8dafb6c6f28c8a993a5b4431d25a
- https://git.kernel.org/stable/c/e9a180120e17b0a4e1df0fc2eee993cb4366e9f7
Provider assertions
1Linux · cna
fbcon: Rebuild rotated font buffer on font change
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9821b35a88f2810fd64e7eca2a6af786a226a5c6f9d9691c964a3cdf2e1766b6
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record