CVE-2022-49948
vt: Clear selection before changing the font
Check your servers for CVE-2022-49948
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49948 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 22.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 009e39ae44f4191188aeb6dfbf661b771dbbe515, before c555cf04684fde39b5b0dd9fd80730030ee10c4a affected from 009e39ae44f4191188aeb6dfbf661b771dbbe515, before e9ba4611ddf676194385506222cce7b0844e708e affected from 009e39ae44f4191188aeb6dfbf661b771dbbe515, before f74b4a41c5d7c9522469917e3072e55d435efd9e affected from 009e39ae44f4191188aeb6dfbf661b771dbbe515, before 1cf1930369c9dc428d827b60260c53271bff3285 affected from 009e39ae44f4191188aeb6dfbf661b771dbbe515, before 989201bb8c00b222235aff04e6200230d29dc7bb affected from 009e39ae44f4191188aeb6dfbf661b771dbbe515, before 2535431ae967ad17585513649625fea7db28d4db affected from 009e39ae44f4191188aeb6dfbf661b771dbbe515, before c904fe03c4bd1f356a58797d39e2a5d0ca15cefc affected from 009e39ae44f4191188aeb6dfbf661b771dbbe515, before 566f9c9f89337792070b5a6062dff448b3e7977f affected e60f8fcce05042e8f8cea25ee81fecc1222114cf affected 5812a9bc9d68a82c2cc839f88e6f7a05093ab39d affected 863ad19fd654c485e3beec3575c4d74a1e74369e affected dbc3fd44f957a39407e889287bf61fa0ef3ecc14 affected 0b2a0a58ad22f9d6dfc641bc5ec46057493f22a5 affected 9f2d48f0745f921040df91bfe8fa7f0339cd7497 affected 3425e397fb23cc2e8e6fb8f5b8226dcb447e84dd affected eeae0a12a16650ff494d5faefa371cd9e7079575 affected from 3.2.85, before 3.3 affected from 3.10.105, before 3.11 affected from 3.12.68, before 3.13 affected from 3.16.40, before 3.17 affected from 3.18.45, before 3.19 affected from 4.1.36, before 4.2 affected from 4.4.31, before 4.5 affected from 4.8.7, before 4.9
Other versions: unaffected
|
| Linux |
affected 4.9 unaffected before 4.9 unaffected from 4.9.328 up to and including 4.9.* unaffected from 4.14.293 up to and including 4.14.* unaffected from 4.19.258 up to and including 4.19.* unaffected from 5.4.213 up to and including 5.4.* unaffected from 5.10.142 up to and including 5.10.* unaffected from 5.15.66 up to and including 5.15.* unaffected from 5.19.8 up to and including 5.19.* unaffected 6.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49948 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49948
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-49948
trivy image --scanners vuln IMAGE | grep CVE-2022-49948
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c555cf04684fde39b5b0dd9fd80730030ee10c4a git.kernel.org
- https://git.kernel.org/stable/c/e9ba4611ddf676194385506222cce7b0844e708e git.kernel.org
- https://git.kernel.org/stable/c/f74b4a41c5d7c9522469917e3072e55d435efd9e git.kernel.org
- https://git.kernel.org/stable/c/1cf1930369c9dc428d827b60260c53271bff3285 git.kernel.org
- https://git.kernel.org/stable/c/989201bb8c00b222235aff04e6200230d29dc7bb git.kernel.org
- https://git.kernel.org/stable/c/2535431ae967ad17585513649625fea7db28d4db git.kernel.org
- https://git.kernel.org/stable/c/c904fe03c4bd1f356a58797d39e2a5d0ca15cefc git.kernel.org
- https://git.kernel.org/stable/c/566f9c9f89337792070b5a6062dff448b3e7977f git.kernel.org
Source: the record CVE-2022-49948 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse