---
id: CVE-2024-50134
title: >-
  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 f…
summary: >-
  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 f…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 5.15.170
  - 'linux_kernel >= 5.16, < 6.1.115'
  - 'linux_kernel >= 6.2, < 6.6.59'
  - 'linux_kernel >= 6.7, < 6.11.6'
  - linux_kernel = 6.12
patched:
  - linux_kernel 6.11.6
published: '2024-11-05'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:19:08.037'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-50134'
references:
  - url: 'https://git.kernel.org/stable/c/02c86c5d5ef4bbba17d38859c74872825f536617'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/34a422274b693507025a7db21519865d1862afcb'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7458a6cdaebb3dc59af8578ee354fae78a154c4a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/75f828e944dacaac8870418461d3d48a1ecf2331'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9eb32bd23bbcec44bcbef27b7f282b7a7f3d0391'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d92b90f9a54d9300a6e883258e79f36dab53bfae'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/fae9dc12c61ce23cf29d09824a741b7b1ff8f01f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00252
epssPercentile: 0.16579
ingestedAt: '2026-10-15T03:30:12.764Z'
---

## Overview

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

- `linux_kernel < 5.15.170`
- `linux_kernel >= 5.16, < 6.1.115`
- `linux_kernel >= 6.2, < 6.6.59`
- `linux_kernel >= 6.7, < 6.11.6`
- `linux_kernel = 6.12`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.11.6`
