CVE-2026-68274: drm/xe/guc: Fix buffer overflow in steered register list allocation
In the Linux kernel, the following vulnerability has been resolved:
drm/xe/guc: Fix buffer overflow in steered register list allocation
The size calculation for the steered register extarray uses only the geometry DSS mask (gdssmask) to determine the number of entries to allocate:
total = bitmapweight(gt->fusetopo.gdssmask, ...) steerregnum;
However, the filling loop uses foreachdsssteering(), which iterates over foreachdss(), defined as the union of gdssmask and cdssmask (geometry + compute DSS). On platforms with compute-only DSS bits, the loop writes past the allocated buffer, corrupting adjacent slab objects.
This manifests as listdel corruption and SLUB redzone overwrites during drmmanagedrelease on device unbind, since the overflow corrupts the drmres listhead of neighboring allocations.
Fix by computing the allocation size using the union of both DSS masks, matching the iteration pattern of foreachdsssteering().
-- v2: - use bitmapweightedor() (Zhanjun)
(cherry picked from commit 0a78a44f4901aa6c9263e66be7fce02282f1109f)
Event History
Frequently Asked Questions
What is the severity of CVE-2026-68274?
The severity of CVE-2026-68274 is rated at 48.
What type of vulnerability is CVE-2026-68274?
CVE-2026-68274 is classified as a buffer overflow vulnerability.
How do I fix CVE-2026-68274?
To fix CVE-2026-68274, update the Linux kernel to the latest patched version that addresses this specific vulnerability.
What component is affected by CVE-2026-68274?
CVE-2026-68274 affects the DRM subsystem in the Linux kernel, specifically within the XE and GUC components.
What are the implications of CVE-2026-68274?
The implications of CVE-2026-68274 include potential memory corruption and system instability due to the buffer overflow.