{"id":"CVE-2024-50134","state":"PUBLISHED","title":"drm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with real VLA","description":"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.","publishedAt":"2024-11-05T17:10:58.939Z","updatedAt":"2026-10-15T00:57:11.163Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dd55d44f408419278c00887bfcb2261d0caae350","status":"affected","lessThan":"02c86c5d5ef4bbba17d38859c74872825f536617","versionType":"git"},{"version":"dd55d44f408419278c00887bfcb2261d0caae350","status":"affected","lessThan":"75f828e944dacaac8870418461d3d48a1ecf2331","versionType":"git"},{"version":"dd55d44f408419278c00887bfcb2261d0caae350","status":"affected","lessThan":"34a422274b693507025a7db21519865d1862afcb","versionType":"git"},{"version":"dd55d44f408419278c00887bfcb2261d0caae350","status":"affected","lessThan":"7458a6cdaebb3dc59af8578ee354fae78a154c4a","versionType":"git"},{"version":"dd55d44f408419278c00887bfcb2261d0caae350","status":"affected","lessThan":"9eb32bd23bbcec44bcbef27b7f282b7a7f3d0391","versionType":"git"},{"version":"dd55d44f408419278c00887bfcb2261d0caae350","status":"affected","lessThan":"fae9dc12c61ce23cf29d09824a741b7b1ff8f01f","versionType":"git"},{"version":"dd55d44f408419278c00887bfcb2261d0caae350","status":"affected","lessThan":"d92b90f9a54d9300a6e883258e79f36dab53bfae","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/vboxvideo/hgsmi_base.c","drivers/gpu/drm/vboxvideo/vboxvideo.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.13","versionType":"semver"},{"version":"5.4.285","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.229","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.170","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.115","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.59","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.6","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/vboxvideo/hgsmi_base.c","drivers/gpu/drm/vboxvideo/vboxvideo.h"]}],"references":["https://git.kernel.org/stable/c/02c86c5d5ef4bbba17d38859c74872825f536617","https://git.kernel.org/stable/c/75f828e944dacaac8870418461d3d48a1ecf2331","https://git.kernel.org/stable/c/34a422274b693507025a7db21519865d1862afcb","https://git.kernel.org/stable/c/7458a6cdaebb3dc59af8578ee354fae78a154c4a","https://git.kernel.org/stable/c/9eb32bd23bbcec44bcbef27b7f282b7a7f3d0391","https://git.kernel.org/stable/c/fae9dc12c61ce23cf29d09824a741b7b1ff8f01f","https://git.kernel.org/stable/c/d92b90f9a54d9300a6e883258e79f36dab53bfae","https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","https://cert-portal.siemens.com/productcert/html/ssa-265688.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/50xxx/CVE-2024-50134.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-50134","state":"PUBLISHED","datePublished":"2024-11-05T17:10:58.939Z","dateUpdated":"2026-10-15T00:57:11.163Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-10-21T19:36:19.955Z"},"containers":{"cna":{"title":"drm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with real VLA","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dd55d44f408419278c00887bfcb2261d0caae350","status":"affected","lessThan":"02c86c5d5ef4bbba17d38859c74872825f536617","versionType":"git"},{"version":"dd55d44f408419278c00887bfcb2261d0caae350","status":"affected","lessThan":"75f828e944dacaac8870418461d3d48a1ecf2331","versionType":"git"},{"version":"dd55d44f408419278c00887bfcb2261d0caae350","status":"affected","lessThan":"34a422274b693507025a7db21519865d1862afcb","versionType":"git"},{"version":"dd55d44f408419278c00887bfcb2261d0caae350","status":"affected","lessThan":"7458a6cdaebb3dc59af8578ee354fae78a154c4a","versionType":"git"},{"version":"dd55d44f408419278c00887bfcb2261d0caae350","status":"affected","lessThan":"9eb32bd23bbcec44bcbef27b7f282b7a7f3d0391","versionType":"git"},{"version":"dd55d44f408419278c00887bfcb2261d0caae350","status":"affected","lessThan":"fae9dc12c61ce23cf29d09824a741b7b1ff8f01f","versionType":"git"},{"version":"dd55d44f408419278c00887bfcb2261d0caae350","status":"affected","lessThan":"d92b90f9a54d9300a6e883258e79f36dab53bfae","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/vboxvideo/hgsmi_base.c","drivers/gpu/drm/vboxvideo/vboxvideo.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.13","versionType":"semver"},{"version":"5.4.285","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.229","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.170","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.115","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.59","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.6","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/vboxvideo/hgsmi_base.c","drivers/gpu/drm/vboxvideo/vboxvideo.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/02c86c5d5ef4bbba17d38859c74872825f536617"},{"url":"https://git.kernel.org/stable/c/75f828e944dacaac8870418461d3d48a1ecf2331"},{"url":"https://git.kernel.org/stable/c/34a422274b693507025a7db21519865d1862afcb"},{"url":"https://git.kernel.org/stable/c/7458a6cdaebb3dc59af8578ee354fae78a154c4a"},{"url":"https://git.kernel.org/stable/c/9eb32bd23bbcec44bcbef27b7f282b7a7f3d0391"},{"url":"https://git.kernel.org/stable/c/fae9dc12c61ce23cf29d09824a741b7b1ff8f01f"},{"url":"https://git.kernel.org/stable/c/d92b90f9a54d9300a6e883258e79f36dab53bfae"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:46:05.995Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"5.4.285"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"5.10.229"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"5.15.170"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.1.115"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.6.59"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.11.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.12"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:25:54.618Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"V1.1.1","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-15T00:57:11.163Z"},"x_adpType":"supplier"}]}}}