All reports
Medium

kernel: vt: Clear selection before changing the font

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-49948

Probability of exploitation in the next 30 days: 0.29%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: vt: Clear selection before changing the font When changing the console font with ioctl(KDFONTOP) the new font size can be bigger than the previous font. A previous selection may thus now be outside of the new screen size and thus trigger out-of-bounds accesses to graphics memory if the selection is removed in vc_do_resize(). Prevent such out-of-memory accesses by dropping the selection before the various con_font_set() console handlers are called.

A flaw was found in the Linux kernel. A local user could trigger an out-of-bounds memory access by changing the console font. This occurs when a new font size is larger than the previous one, causing a prior selection to extend beyond the screen's boundaries. This vulnerability could lead to a denial of service or information disclosure.