CVE-2024-50134

CVE-2024-50134

Medium · published November 5, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
15.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00252 · 15.8th percentile
Published
2024-11-05T23:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel< 5.15.1705.15.170
linux/linux_kernel≥ 5.16, < 6.1.1156.1.115
linux/linux_kernel≥ 6.2, < 6.6.596.6.59
linux/linux_kernel≥ 6.7, < 6.11.66.11.6
linux/linux_kernelall versions—
References (10)
EPSS history
Timeline
  • 05 NOV 17:10Z
    drm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with real VLA
    cvelistv5