drm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with real VLA (Linux Linux)

CVE-2024-50134
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.25 % · centile 17 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: drm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with real VLA Replace the fake VLA at end of the vbva_mouse_pointer_shape shape with a real VLA to fix a "memcpy: detected field-spanning write error" warning: [ 13.319813] memcpy: detected field-spanning write (size 16896) of single field "p->data" at drivers/gpu/drm/vboxvideo/hgsmi_base.c:154 (size 4) [ 13.319841] WARNING: CPU: 0 PID: 1105 at drivers/gpu/drm/vboxvideo/hgsmi_base.c:154 hgsmi_update_pointer_shape+0x192/0x1c0 [vboxvideo] [ 13.320038] Call Trace: [ 13.320173] hgsmi_update_pointer_shape [vboxvideo] [ 13.320184] vbox_cursor_atomic_update [vboxvideo] Note as mentioned in the added comment it seems the original length calculation for the allocated and send hgsmi buffer is 4 bytes too large. Changing this is not the goal of this patch, so this behavior is kept.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected dd55d44f408419278c00887bfcb2261d0caae350 < 02c86c5d5ef4bbba17d38859c74872825f536617 ; affected dd55d44f408419278c00887bfcb2261d0caae350 < 75f828e944dacaac8870418461d3d48a1ecf2331 ; affected dd55d44f408419278c00887bfcb2261d0caae350 < 34a422274b693507025a7db21519865d1862afcb ; affected dd55d44f408419278c00887bfcb2261d0caae350 < 7458a6cdaebb3dc59af8578ee354fae78a154c4a ; affected dd55d44f408419278c00887bfcb2261d0caae350 < 9eb32bd23bbcec44bcbef27b7f282b7a7f3d0391 ; affected dd55d44f408419278c00887bfcb2261d0caae350 < fae9dc12c61ce23cf29d09824a741b7b1ff8f01f
Linux · Linuxaffected 4.13 ; unaffected 0 < 4.13 ; unaffected 5.4.285 ≤ 5.4.* ; unaffected 5.10.229 ≤ 5.10.* ; unaffected 5.15.170 ≤ 5.15.* ; unaffected 6.1.115 ≤ 6.1.*

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