CVE-2022-48627

vt: fix memory overlapping when deleting chars in the buffer

MEDIUM
5.5
CVSS Score
Published: March 2, 2024 at 09:31 PM UTC
Updated: June 17, 2026 at 05:15 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

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
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

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

3.7 ≤ v ≤ 4.19.3123.7 ≤ v < 4.19.3123.7 ≤ v < 5.10.1323.7 ≤ v < 5.15.563.7 ≤ v < 5.18.133.7 ≤ v < 5.193.7 ≤ v < 5.4.2744.20 ≤ v < 5.4.2745.11 ≤ v < 5.15.565.16 ≤ v < 5.18.135.5 ≤ v < 5.10.1325.19 rc15.19 rc25.19 rc35.19 rc45.19 rc55.19 rc681732c3b2fede049a692e58a7ceabb6d18ffb18c
Vendor states this is fixed in 14d2cc21ca622310babf373e3a8f0b40acfe8265 (fixed)
Vendor states this is fixed in 39cdb68c64d84e71a4a717000b6e5de208ee60cc (fixed)
Vendor states this is fixed in 57964a5710252bc82fe22d9fa98c180c58c20244 (fixed)
Vendor states this is fixed in 815be99d934e3292906536275f2b8d5131cdf52c (fixed)
Vendor states this is fixed in bfee93c9a6c395f9aa62268f1cedf64999844926 (fixed)
Vendor states this is fixed in c8686c014b5e872ba7e334f33ca553f14446fc29 (fixed)
Vendor states this is fixed in 3.7 (unaffected)
Vendor states this is fixed in 4.19.312 (unaffected)
Vendor states this is fixed in 5.10.132 (unaffected)
Vendor states this is fixed in 5.15.56 (unaffected)
Vendor states this is fixed in 5.18.13 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.274 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/14d2cc21ca622310babf373e3a8f0b40acfe8265
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/39cdb68c64d84e71a4a717000b6e5de208ee60cc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/57964a5710252bc82fe22d9fa98c180c58c20244
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/815be99d934e3292906536275f2b8d5131cdf52c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bfee93c9a6c395f9aa62268f1cedf64999844926
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c8686c014b5e872ba7e334f33ca553f14446fc29
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

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

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-787

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