CVEvulnerability
CVE-2022-48627
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-03-02
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-787
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 configurations
• linux linux kernel (>= 3.7 <= 4.19.312)
• linux linux kernel (>= 4.20 < 5.4.274)
• linux linux kernel (>= 5.5 < 5.10.132)
• linux linux kernel (>= 5.11 < 5.15.56)
• linux linux kernel (>= 5.16 < 5.18.13)
• linux linux kernel 5.19
• debian debian linux 10.0
Related
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- https://git.kernel.org/stable/c/14d2cc21ca622310babf373e3a8f0b40acfe8265 Patch
- https://git.kernel.org/stable/c/39cdb68c64d84e71a4a717000b6e5de208ee60cc Patch
- https://git.kernel.org/stable/c/57964a5710252bc82fe22d9fa98c180c58c20244 Patch
- https://git.kernel.org/stable/c/815be99d934e3292906536275f2b8d5131cdf52c Patch
- https://git.kernel.org/stable/c/bfee93c9a6c395f9aa62268f1cedf64999844926 Patch
- https://git.kernel.org/stable/c/c8686c014b5e872ba7e334f33ca553f14446fc29 Patch
- https://git.kernel.org/stable/c/14d2cc21ca622310babf373e3a8f0b40acfe8265 Patch
- https://git.kernel.org/stable/c/39cdb68c64d84e71a4a717000b6e5de208ee60cc Patch
- https://git.kernel.org/stable/c/57964a5710252bc82fe22d9fa98c180c58c20244 Patch
- https://git.kernel.org/stable/c/815be99d934e3292906536275f2b8d5131cdf52c Patch
- https://git.kernel.org/stable/c/bfee93c9a6c395f9aa62268f1cedf64999844926 Patch
- https://git.kernel.org/stable/c/c8686c014b5e872ba7e334f33ca553f14446fc29 Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html Mailing List