CVE-2022-48627: vt: fix memory overlapping when deleting chars in the buffer
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.
Security readout for executives and security teams
Plain-English summary
CVE-2022-48627 is a Linux kernel virtual terminal bug where deleting characters from a long line can corrupt memory handling and potentially crash or disrupt the system. The published impact is availability only, with no stated confidentiality or integrity impact. It requires local interaction with the affected console path.
Executive priority
Treat as routine but time-bound Linux kernel maintenance. It is not currently evidenced as exploited, but the availability impact can matter on shared or operational Linux systems. Prioritize patching in normal kernel update cycles, faster for exposed console environments.
Technical view
The Linux kernel vt code used scr_memcpyw for overlapping buffer ranges during character deletion. When optimized to memcpy, overlapping source and destination behavior is undefined and can produce nondeterministic corruption. The kernel fix replaces scr_memcpyw with scr_memmovew, which is appropriate for overlapping memory movement.
Likely exposure
Exposure is mainly Linux systems running affected kernel versions before the referenced stable fixes. Systems using virtual terminals or console workflows have the most relevant surface. Exact exposure must be mapped through distro kernel package advisories because the CVE bundle does not provide CPEs.
Exploitation context
The CVSS vector is local, low complexity, no privileges required, and user interaction required, with high availability impact. The bundle marks KEV as false and provides no cited evidence of active exploitation or public weaponization.
Researcher notes
The root issue is unsafe overlapping memory copy in vt deletion handling. The fix is narrowly described as replacing scr_memcpyw with scr_memmovew. The source bundle does not include a CWE, exploit details, or distribution-wide affected package matrix beyond Debian LTS reference and kernel stable commits.
Mitigation direction
Apply vendor kernel updates that include the referenced Linux stable fixes.
For Debian LTS, review and apply the linked June 2024 kernel advisory.
Reboot systems into the updated kernel after patching.
Prioritize multi-user, kiosk, console, and shared Linux systems.
If no package is available, track vendor guidance rather than creating local fixes.
Validation and detection
Inventory running kernel versions against your distribution's fixed package versions.
Confirm the vendor package includes the vt scr_memmovew backport.
Check whether systems expose virtual terminal or console access to users.
Verify patched systems have rebooted into the updated kernel.
Document exceptions where vendor fixes are not yet available.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2022-48627 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.