CVE-2024-50134

published 5 Nov 2024 · updated 7 Nov 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.15.170, Kernel 6.1.115, Kernel 6.6.59 and 10 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel<5.15.170, >=5.16 <6.1.115, >=6.2 <6.6.59, >=6.7 <6.11.6, =6.12, >=dd55d44f408419278c00887bfcb2261d0caae350 <34a422274b693507025a7db21519865d1862afcb, >=dd55d44f408419278c00887bfcb2261d0caae350 <7458a6cdaebb3dc59af8578ee354fae78a154c4a, >=dd55d44f408419278c00887bfcb2261d0caae350 <75f828e944dacaac8870418461d3d48a1ecf2331, >=dd55d44f408419278c00887bfcb2261d0caae350 <9eb32bd23bbcec44bcbef27b7f282b7a7f3d0391, >=dd55d44f408419278c00887bfcb2261d0caae350 <d92b90f9a54d9300a6e883258e79f36dab53bfae, >=dd55d44f408419278c00887bfcb2261d0caae350 <fae9dc12c61ce23cf29d09824a741b7b1ff8f01f, =4.13, >=dd55d44f408419278c00887bfcb2261d0caae350 <02c86c5d5ef4bbba17d38859c74872825f5366175.15.170, 6.1.115, 6.6.59, 6.11.6, 34a422274b693507025a7db21519865d1862afcb, 7458a6cdaebb3dc59af8578ee354fae78a154c4a, 75f828e944dacaac8870418461d3d48a1ecf2331, 9eb32bd23bbcec44bcbef27b7f282b7a7f3d0391, d92b90f9a54d9300a6e883258e79f36dab53bfae, fae9dc12c61ce23cf29d09824a741b7b1ff8f01f, 02c86c5d5ef4bbba17d38859c74872825f536617
linux-kernel: Kernel>=4.13.0 <5.4.285, >=5.11.0 <5.15.170, >=5.16.0 <6.1.115, >=5.5.0 <5.10.229, >=6.2.0 <6.6.59, >=6.7.0 <6.11.65.4.285, 5.15.170, 6.1.115, 5.10.229, 6.6.59, 6.11.6

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-50134 severity on Zeptric[![CVE-2024-50134](https://zeptric.io/badge/cve/CVE-2024-50134.svg)](https://zeptric.io/cve/CVE-2024-50134)