PT-2026-162941
CVE-2026-99974
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
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().
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾