{"id":"CVE-2024-50134","aliases":["CVE-2024-50134"],"related":[],"kind":"vulnerability","state":"published","title":"drm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with real VLA","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with real VLA\n\nReplace the fake VLA at end of the vbva_mouse_pointer_shape shape with\na real VLA to fix a \"memcpy: detected field-spanning write error\" warning:\n\n[   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)\n[   13.319841] WARNING: CPU: 0 PID: 1105 at drivers/gpu/drm/vboxvideo/hgsmi_base.c:154 hgsmi_update_pointer_shape+0x192/0x1c0 [vboxvideo]\n[   13.320038] Call Trace:\n[   13.320173]  hgsmi_update_pointer_shape [vboxvideo]\n[   13.320184]  vbox_cursor_atomic_update [vboxvideo]\n\nNote as mentioned in the added comment it seems the original length\ncalculation for the allocated and send hgsmi buffer is 4 bytes too large.\nChanging this is not the goal of this patch, so this behavior is kept.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with real VLA\n\nReplace the fake VLA at end of the vbva_mouse_pointer_shape shape with\na real VLA to fix a \"memcpy: detected field-spanning write error\" warning:\n\n[   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)\n[   13.319841] WARNING: CPU: 0 PID: 1105 at drivers/gpu/drm/vboxvideo/hgsmi_base.c:154 hgsmi_update_pointer_shape+0x192/0x1c0 [vboxvideo]\n[   13.320038] Call Trace:\n[   13.320173]  hgsmi_update_pointer_shape [vboxvideo]\n[   13.320184]  vbox_cursor_atomic_update [vboxvideo]\n\nNote as mentioned in the added comment it seems the original length\ncalculation for the allocated and send hgsmi buffer is 4 bytes too large.\nChanging this is not the goal of this patch, so this behavior is kept.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/vboxvideo: Reemplazar VLA falso al final de vbva_mouse_pointer_shape con VLA real Reemplace el VLA falso al final de la forma vbva_mouse_pointer_shape con un VLA real para corregir una advertencia \"memcpy: error de escritura que abarca el campo detectado\": [ 13.319813] memcpy: se detectó una escritura que abarca el campo (tamaño 16896) de un solo campo \"p-&gt;data\" en drivers/gpu/drm/vboxvideo/hgsmi_base.c:154 (tamaño 4) [ 13.319841] ADVERTENCIA: CPU: 0 PID: 1105 en drivers/gpu/drm/vboxvideo/hgsmi_base.c:154 hgsmi_update_pointer_shape+0x192/0x1c0 [vboxvideo] [ [13.320038] Seguimiento de llamadas: [13.320173] hgsmi_update_pointer_shape [vboxvideo] [13.320184] vbox_cursor_atomic_update [vboxvideo] Tenga en cuenta que, como se menciona en el comentario agregado, parece que el cálculo de longitud original para el búfer hgsmi asignado y enviado es 4 bytes más grande. Cambiar esto no es el objetivo de este parche, por lo que se mantiene este comportamiento.","source":"nvd"}],"published":"2024-11-05T17:10:58.939Z","modified":"2026-11-05T21:17:32.993Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"dd55d44f408419278c00887bfcb2261d0caae350","fixed":"02c86c5d5ef4bbba17d38859c74872825f536617","status":"affected"},{"type":"git","introduced":"dd55d44f408419278c00887bfcb2261d0caae350","fixed":"75f828e944dacaac8870418461d3d48a1ecf2331","status":"affected"},{"type":"git","introduced":"dd55d44f408419278c00887bfcb2261d0caae350","fixed":"34a422274b693507025a7db21519865d1862afcb","status":"affected"},{"type":"git","introduced":"dd55d44f408419278c00887bfcb2261d0caae350","fixed":"7458a6cdaebb3dc59af8578ee354fae78a154c4a","status":"affected"},{"type":"git","introduced":"dd55d44f408419278c00887bfcb2261d0caae350","fixed":"9eb32bd23bbcec44bcbef27b7f282b7a7f3d0391","status":"affected"},{"type":"git","introduced":"dd55d44f408419278c00887bfcb2261d0caae350","fixed":"fae9dc12c61ce23cf29d09824a741b7b1ff8f01f","status":"affected"},{"type":"git","introduced":"dd55d44f408419278c00887bfcb2261d0caae350","fixed":"d92b90f9a54d9300a6e883258e79f36dab53bfae","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.13","status":"unaffected"},{"type":"semver","introduced":"5.4.285","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.229","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.170","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.115","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.59","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.11.6","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.15.170"},{"status":"affected","introduced":"5.16","fixed":"6.1.115"},{"status":"affected","introduced":"6.2","fixed":"6.6.59"},{"status":"affected","introduced":"6.7","fixed":"6.11.6"},{"status":"affected","version":"6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/02c86c5d5ef4bbba17d38859c74872825f536617","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/75f828e944dacaac8870418461d3d48a1ecf2331","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34a422274b693507025a7db21519865d1862afcb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7458a6cdaebb3dc59af8578ee354fae78a154c4a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9eb32bd23bbcec44bcbef27b7f282b7a7f3d0391","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fae9dc12c61ce23cf29d09824a741b7b1ff8f01f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d92b90f9a54d9300a6e883258e79f36dab53bfae","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:27:38.670Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-50134","url":"https://www.cve.org/CVERecord?id=CVE-2024-50134","licence":"CVE Terms of Use","modified":"2026-11-05T20:31:21.862Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-50134","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50134","licence":"Public domain","modified":"2026-11-05T21:17:32.993Z"}],"updatedAt":"2026-11-25T22:58:47.792Z","epss":{"score":0.00253,"percentile":0.17924,"date":"2026-12-01T12:00:22.000Z"}}