CVE-2022-48627

vt: fix memory overlapping when deleting chars in the buffer

MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.28 % · centile 20 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Faiblesses (CWE)

  • CWE-787 — Écriture hors limites

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 81732c3b2fede049a692e58a7ceabb6d18ffb18c < c8686c014b5e872ba7e334f33ca553f14446fc29 ; affected 81732c3b2fede049a692e58a7ceabb6d18ffb18c < 815be99d934e3292906536275f2b8d5131cdf52c ; affected 81732c3b2fede049a692e58a7ceabb6d18ffb18c < bfee93c9a6c395f9aa62268f1cedf64999844926 ; affected 81732c3b2fede049a692e58a7ceabb6d18ffb18c < 57964a5710252bc82fe22d9fa98c180c58c20244 ; affected 81732c3b2fede049a692e58a7ceabb6d18ffb18c < 14d2cc21ca622310babf373e3a8f0b40acfe8265 ; affected 81732c3b2fede049a692e58a7ceabb6d18ffb18c < 39cdb68c64d84e71a4a717000b6e5de208ee60cc
Linux · Linuxaffected 3.7 ; unaffected 0 < 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.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD