CVE-2022-49948

vt: Clear selection before changing the font

HIGH
7.1
CVSS Score
Published: June 18, 2025 at 11:00 AM UTC
Updated: October 15, 2026 at 10:17 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.9.3284.10 ≤ v < 4.14.2934.15 ≤ v < 4.19.2584.20 ≤ v < 5.4.2135.11 ≤ v < 5.15.665.16 ≤ v < 5.19.85.5 ≤ v < 5.10.1420b2a0a58ad22f9d6dfc641bc5ec46057493f22a53.10.1053.12.683.16.403.18.453.2.853425e397fb23cc2e8e6fb8f5b8226dcb447e84dd4.1.364.4.314.8.75812a9bc9d68a82c2cc839f88e6f7a05093ab39d6.06.0 rc16.0 rc26.0 rc3863ad19fd654c485e3beec3575c4d74a1e74369e9e39ae44f4191188aeb6dfbf661b771dbbe5159f2d48f0745f921040df91bfe8fa7f0339cd7497dbc3fd44f957a39407e889287bf61fa0ef3ecc14e60f8fcce05042e8f8cea25ee81fecc1222114cfeeae0a12a16650ff494d5faefa371cd9e7079575
Vendor states this is fixed in 1cf1930369c9dc428d827b60260c53271bff3285 (fixed)
Vendor states this is fixed in 2535431ae967ad17585513649625fea7db28d4db (fixed)
Vendor states this is fixed in 566f9c9f89337792070b5a6062dff448b3e7977f (fixed)
Vendor states this is fixed in 989201bb8c00b222235aff04e6200230d29dc7bb (fixed)
Vendor states this is fixed in c555cf04684fde39b5b0dd9fd80730030ee10c4a (fixed)
Vendor states this is fixed in c904fe03c4bd1f356a58797d39e2a5d0ca15cefc (fixed)
Vendor states this is fixed in e9ba4611ddf676194385506222cce7b0844e708e (fixed)
Vendor states this is fixed in f74b4a41c5d7c9522469917e3072e55d435efd9e (fixed)
Affected range stops below 3.11, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.13, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.19, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.3, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 4.14.293 (unaffected)
Vendor states this is fixed in 4.19.258 (unaffected)
Affected range stops below 4.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.5, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 4.9 (unaffected)
Vendor states this is fixed in 4.9.328 (unaffected)
Vendor states this is fixed in 5.10.142 (unaffected)
Vendor states this is fixed in 5.15.66 (unaffected)
Vendor states this is fixed in 5.19.8 (unaffected)
Vendor states this is fixed in 5.4.213 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1cf1930369c9dc428d827b60260c53271bff3285
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2535431ae967ad17585513649625fea7db28d4db
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/566f9c9f89337792070b5a6062dff448b3e7977f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/989201bb8c00b222235aff04e6200230d29dc7bb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c555cf04684fde39b5b0dd9fd80730030ee10c4a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c904fe03c4bd1f356a58797d39e2a5d0ca15cefc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e9ba4611ddf676194385506222cce7b0844e708e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f74b4a41c5d7c9522469917e3072e55d435efd9e

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card