Wiz Agents & Workflows are here

CVE-2024-50090
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability (CVE-2024-50090) has been identified and resolved in the drm/xe/oa component, specifically related to a buffer overflow issue. The vulnerability was discovered in the batch buffer handling mechanism where xe_bb_create_job() by default appends a MI_BATCH_BUFFER_END to the batch buffer. While this works correctly for single-use buffers, it causes an overflow when the batch buffer is reused for the same metric, as it repeatedly appends MI_BATCH_BUFFER_END at each call (Kernel Patch).

Technical details

The vulnerability manifests when the batch buffer is reused for the same metric, causing multiple MI_BATCH_BUFFER_END commands to be appended, leading to a buffer overflow condition. This results in an assertion failure: 'bb->len * 4 + bb_prefetch(q->gt) <= size'. The issue affects systems running the Linux kernel with the Xe graphics driver, particularly on platforms like LUNARLAKE with Xe2_LPG / Xe2_HPG graphics (NVD). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 MEDIUM (Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).

Impact

The vulnerability can lead to a buffer overflow condition in the kernel's graphics subsystem, potentially causing system crashes or denial of service. The issue specifically affects the operation of the Xe graphics driver's OA (Output Analysis) functionality (Kernel Patch).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel by modifying the xe_bb_create_job() function to check if the batch buffer already has MI_BATCH_BUFFER_END before appending it. The fix involves adding a condition to verify the buffer's current state: 'if (bb->len == 0 || bb->cs[bb->len - 1] != MI_BATCH_BUFFER_END)' before appending the MI_BATCH_BUFFER_END command (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23417N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-core
NoNoApr 02, 2026
CVE-2026-23415N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoNoApr 02, 2026
CVE-2026-23414N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra-matched
NoYesApr 02, 2026
CVE-2026-23413N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoYesApr 02, 2026
CVE-2026-23412N/AN/A
  • Linux KernelLinux Kernel
  • rv
NoYesApr 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management