# CVE-2026-68274: drm/xe/guc: Fix buffer overflow in steered register list allocation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-08-10T12:01:49.762Z
- **Modified:** 2026-10-19T21:18:00.577Z

## Who should check

- Anyone running Linux \>= b170d696c1e2226713471d810c63b1162335079f, \< b485bfb45555163bfa5f565d6a3415fcb3035b02; \>= b170d696c1e2226713471d810c63b1162335079f, \< a9a020f3c11eba6573b699f9cf9245a51b025ade; \>= b170d696c1e2226713471d810c63b1162335079f, \< 632ecc90e1ca5d3b6822bb4d08f84a175b6c42c0
- Anyone running Linux 6.13

## Description

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 (g\_dss\_mask) to determine the number of entries to
allocate:

  total = bitmap\_weight(gt-\>fuse\_topo.g\_dss\_mask, ...) \* steer\_reg\_num;

However, the filling loop uses for\_each\_dss\_steering(), which iterates
over for\_each\_dss(), defined as the union of g\_dss\_mask and c\_dss\_mask
(geometry + compute DSS). On platforms with compute-only DSS bits, the
loop writes past the allocated buffer, corrupting adjacent slab objects.

This manifests as list\_del corruption and SLUB redzone overwrites during
drm\_managed\_release on device unbind, since the overflow corrupts the
drmres list\_head of neighboring allocations.

Fix by computing the allocation size using the union of both DSS masks,
matching the iteration pattern of for\_each\_dss\_steering().

--
v2:
- use bitmap\_weighted\_or() (Zhanjun)

(cherry picked from commit 0a78a44f4901aa6c9263e66be7fce02282f1109f)

## Affected and fixed versions

- Linux: \>= b170d696c1e2226713471d810c63b1162335079f, \< b485bfb45555163bfa5f565d6a3415fcb3035b02; \>= b170d696c1e2226713471d810c63b1162335079f, \< a9a020f3c11eba6573b699f9cf9245a51b025ade; \>= b170d696c1e2226713471d810c63b1162335079f, \< 632ecc90e1ca5d3b6822bb4d08f84a175b6c42c0 (cvelist)
- Linux: 6.13 (cvelist)

## Mitigation

- Upgrade Linux to 632ecc90e1ca5d3b6822bb4d08f84a175b6c42c0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68274. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68274.md
Affected: Linux >= b170d696c1e2226713471d810c63b1162335079f, < b485bfb45555163bfa5f565d6a3415fcb3035b02; >= b170d696c1e2226713471d810c63b1162335079f, < a9a020f3c11eba6573b699f9cf9245a51b025ade; >= b170d696c1e2226713471d810c63b1162335079f, < 632ecc90e1ca5d3b6822bb4d08f84a175b6c42c0; Linux 6.13
Fixed in: Linux 632ecc90e1ca5d3b6822bb4d08f84a175b6c42c0

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68274 being exploited?

There is no confirmed exploitation: CVE-2026-68274 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68274?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-68274?

Linux \>= b170d696c1e2226713471d810c63b1162335079f, \< b485bfb45555163bfa5f565d6a3415fcb3035b02; \>= b170d696c1e2226713471d810c63b1162335079f, \< a9a020f3c11eba6573b699f9cf9245a51b025ade; \>= b170d696c1e2226713471d810c63b1162335079f, \< 632ecc90e1ca5d3b6822bb4d08f84a175b6c42c0; Linux 6.13.

### Is there a fix for CVE-2026-68274?

Yes. Fixed in Linux 632ecc90e1ca5d3b6822bb4d08f84a175b6c42c0. Upgrade Linux to 632ecc90e1ca5d3b6822bb4d08f84a175b6c42c0 or later.

### How do I check if I'm affected by CVE-2026-68274?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/b485bfb45555163bfa5f565d6a3415fcb3035b02>
- other: <https://git.kernel.org/stable/c/a9a020f3c11eba6573b699f9cf9245a51b025ade>
- other: <https://git.kernel.org/stable/c/632ecc90e1ca5d3b6822bb4d08f84a175b6c42c0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68274>

HTML: <https://flawdb.com/CVE-2026-68274> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68274>
