CVE-2022-49948
vt: Clear selection before changing the font
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Timeline
ID reserved
By Linux
Published
- 16 months later
· 16 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.27% · top 80% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
- affected 009e39ae44f4191188aeb6dfbf661b771dbbe515 – < c555cf04684fde39b5b0dd9fd80730030ee10c4a
- affected 009e39ae44f4191188aeb6dfbf661b771dbbe515 – < e9ba4611ddf676194385506222cce7b0844e708e
- affected 009e39ae44f4191188aeb6dfbf661b771dbbe515 – < f74b4a41c5d7c9522469917e3072e55d435efd9e
- affected 009e39ae44f4191188aeb6dfbf661b771dbbe515 – < 1cf1930369c9dc428d827b60260c53271bff3285
- affected 009e39ae44f4191188aeb6dfbf661b771dbbe515 – < 989201bb8c00b222235aff04e6200230d29dc7bb
- affected 009e39ae44f4191188aeb6dfbf661b771dbbe515 – < 2535431ae967ad17585513649625fea7db28d4db
- affected 009e39ae44f4191188aeb6dfbf661b771dbbe515 – < c904fe03c4bd1f356a58797d39e2a5d0ca15cefc
- affected 009e39ae44f4191188aeb6dfbf661b771dbbe515 – < 566f9c9f89337792070b5a6062dff448b3e7977f
- affected e60f8fcce05042e8f8cea25ee81fecc1222114cf
- affected 5812a9bc9d68a82c2cc839f88e6f7a05093ab39d
- affected 863ad19fd654c485e3beec3575c4d74a1e74369e
- affected dbc3fd44f957a39407e889287bf61fa0ef3ecc14
- affected 0b2a0a58ad22f9d6dfc641bc5ec46057493f22a5
- affected 9f2d48f0745f921040df91bfe8fa7f0339cd7497
- affected 3425e397fb23cc2e8e6fb8f5b8226dcb447e84dd
- affected eeae0a12a16650ff494d5faefa371cd9e7079575
- affected 3.2.85 – < 3.3
- affected 3.10.105 – < 3.11
- affected 3.12.68 – < 3.13
- affected 3.16.40 – < 3.17
- affected 3.18.45 – < 3.19
- affected 4.1.36 – < 4.2
- affected 4.4.31 – < 4.5
- affected 4.8.7 – < 4.9
- affected 4.9
- unaffected < 4.9
- unaffected 4.9.328 – ≤ 4.9.*
- unaffected 4.14.293 – ≤ 4.14.*
- unaffected 4.19.258 – ≤ 4.19.*
- unaffected 5.4.213 – ≤ 5.4.*
- unaffected 5.10.142 – ≤ 5.10.*
- unaffected 5.15.66 – ≤ 5.15.*
- unaffected 5.19.8 – ≤ 5.19.*
- unaffected 6.0 – ≤ *
References (8)
- https://git.kernel.org/stable/c/c555cf04684fde39b5b0dd9fd80730030ee10c4a (opens in a new tab)
- https://git.kernel.org/stable/c/e9ba4611ddf676194385506222cce7b0844e708e (opens in a new tab)
- https://git.kernel.org/stable/c/f74b4a41c5d7c9522469917e3072e55d435efd9e (opens in a new tab)
- https://git.kernel.org/stable/c/1cf1930369c9dc428d827b60260c53271bff3285 (opens in a new tab)
- https://git.kernel.org/stable/c/989201bb8c00b222235aff04e6200230d29dc7bb (opens in a new tab)
- https://git.kernel.org/stable/c/2535431ae967ad17585513649625fea7db28d4db (opens in a new tab)
- https://git.kernel.org/stable/c/c904fe03c4bd1f356a58797d39e2a5d0ca15cefc (opens in a new tab)
- https://git.kernel.org/stable/c/566f9c9f89337792070b5a6062dff448b3e7977f (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-49948)Record last updated .