CVE-2022-48627
vt: fix memory overlapping when deleting chars in the buffer
- Published
- Updated
- Reserved
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: vt: fix memory overlapping when deleting chars in the buffer A memory overlapping copy occurs when deleting a long line. This memory overlapping copy can cause data corruption when scr_memcpyw is optimized to memcpy because memcpy does not ensure its behavior if the destination buffer overlaps with the source buffer. The line buffer is not always broken, because the memcpy utilizes the hardware acceleration, whose result is not deterministic. Fix this problem by using replacing the scr_memcpyw with scr_memmovew.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.28% · top 80% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
- CWE-noinfo Not enough information
- CWE-787 (opens in a new tab)All about CWE-787 and its CVEs
Affected products
- affected 81732c3b2fede049a692e58a7ceabb6d18ffb18c – < c8686c014b5e872ba7e334f33ca553f14446fc29
- affected 81732c3b2fede049a692e58a7ceabb6d18ffb18c – < 815be99d934e3292906536275f2b8d5131cdf52c
- affected 81732c3b2fede049a692e58a7ceabb6d18ffb18c – < bfee93c9a6c395f9aa62268f1cedf64999844926
- affected 81732c3b2fede049a692e58a7ceabb6d18ffb18c – < 57964a5710252bc82fe22d9fa98c180c58c20244
- affected 81732c3b2fede049a692e58a7ceabb6d18ffb18c – < 14d2cc21ca622310babf373e3a8f0b40acfe8265
- affected 81732c3b2fede049a692e58a7ceabb6d18ffb18c – < 39cdb68c64d84e71a4a717000b6e5de208ee60cc
- affected 3.7
- unaffected < 3.7
- unaffected 4.19.312 – ≤ 4.19.*
- unaffected 5.4.274 – ≤ 5.4.*
- unaffected 5.10.132 – ≤ 5.10.*
- unaffected 5.15.56 – ≤ 5.15.*
- unaffected 5.18.13 – ≤ 5.18.*
- unaffected 5.19 – ≤ *
References (7)
- https://git.kernel.org/stable/c/c8686c014b5e872ba7e334f33ca553f14446fc29 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/815be99d934e3292906536275f2b8d5131cdf52c (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/bfee93c9a6c395f9aa62268f1cedf64999844926 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/57964a5710252bc82fe22d9fa98c180c58c20244 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/14d2cc21ca622310babf373e3a8f0b40acfe8265 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/39cdb68c64d84e71a4a717000b6e5de208ee60cc (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html (opens in a new tab)x_transferred
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-48627)Record last updated .