Bug 2373593 (CVE-2022-49948) - CVE-2022-49948 kernel: vt: Clear selection before changing the font
Summary: CVE-2022-49948 kernel: vt: Clear selection before changing the font
Keywords:
Status: NEW
Alias: CVE-2022-49948
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-18 12:09 UTC by OSIDB Bzimport
Modified: 2025-06-19 07:26 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 12:09:47 UTC
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.

Comment 1 Avinash Hanwate 2025-06-19 07:12:27 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061809-CVE-2022-49948-e2a9@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.