CVE-2024-50134

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

MEDIUM
5.5
CVSS Score
Published: November 5, 2024 at 05:10 PM UTC
Updated: October 15, 2026 at 01:19 AM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.15.1705.16 ≤ v < 6.1.1156.2 ≤ v < 6.6.596.7 ≤ v < 6.11.66.126.12 rc1dd55d44f408419278c00887bfcb2261d0caae350
Vendor states this is fixed in 02c86c5d5ef4bbba17d38859c74872825f536617 (fixed)
Vendor states this is fixed in 34a422274b693507025a7db21519865d1862afcb (fixed)
Vendor states this is fixed in 7458a6cdaebb3dc59af8578ee354fae78a154c4a (fixed)
Vendor states this is fixed in 75f828e944dacaac8870418461d3d48a1ecf2331 (fixed)
Vendor states this is fixed in 9eb32bd23bbcec44bcbef27b7f282b7a7f3d0391 (fixed)
Vendor states this is fixed in d92b90f9a54d9300a6e883258e79f36dab53bfae (fixed)
Vendor states this is fixed in fae9dc12c61ce23cf29d09824a741b7b1ff8f01f (fixed)
Vendor states this is fixed in 4.13 (unaffected)
Vendor states this is fixed in 5.10.229 (unaffected)
Vendor states this is fixed in 5.15.170 (unaffected)
Vendor states this is fixed in 5.4.285 (unaffected)
Vendor states this is fixed in 6.1.115 (unaffected)
Vendor states this is fixed in 6.11.6 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.59 (unaffected)

References (10)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card