CVE-2022-48627

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-48627
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48627.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-48627
Downstream
Related
Published
2024-03-02T22:15:46Z
Modified
2025-08-09T19:01:28Z
Summary
[none]
Details

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 scrmemcpyw with scrmemmovew.

References

Affected packages