# CVE-2023-53112: drm/i915/sseu: fix max\_subslices array-index-out-of-bounds access

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; 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.29% (percentile 14, 2026-11-28)
- **CWE:** CWE-125
- **Published:** 2025-05-02T15:55:51.733Z
- **Modified:** 2026-11-05T21:17:13.943Z

## Who should check

- Anyone running Linux \>= bc3c5e0809ae9faa039baf75547e8ee46ec124ef, \< 1a1682abf7399318ac074b1f2ac6a8c992b5b3da; \>= bc3c5e0809ae9faa039baf75547e8ee46ec124ef, \< 36b076ab6247cf0d2135b2ad6bb337617c3b5a1b; \>= bc3c5e0809ae9faa039baf75547e8ee46ec124ef, \< 193c41926d152761764894f46e23b53c00186a82
- Anyone running Linux 6.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/i915/sseu: fix max\_subslices array-index-out-of-bounds access

It seems that commit bc3c5e0809ae ("drm/i915/sseu: Don't try to store EU
mask internally in UAPI format") exposed a potential out-of-bounds
access, reported by UBSAN as following on a laptop with a gen 11 i915
card:

  UBSAN: array-index-out-of-bounds in drivers/gpu/drm/i915/gt/intel\_sseu.c:65:27
  index 6 is out of range for type 'u16 \[6\]'
  CPU: 2 PID: 165 Comm: systemd-udevd Not tainted 6.2.0-9-generic \#9-Ubuntu
  Hardware name: Dell Inc. XPS 13 9300/077Y9N, BIOS 1.11.0 03/22/2022
  Call Trace:
   \<TASK\>
   show\_stack+0x4e/0x61
   dump\_stack\_lvl+0x4a/0x6f
   dump\_stack+0x10/0x18
   ubsan\_epilogue+0x9/0x3a
   \_\_ubsan\_handle\_out\_of\_bounds.cold+0x42/0x47
   gen11\_compute\_sseu\_info+0x121/0x130 \[i915\]
   intel\_sseu\_info\_init+0x15d/0x2b0 \[i915\]
   intel\_gt\_init\_mmio+0x23/0x40 \[i915\]
   i915\_driver\_mmio\_probe+0x129/0x400 \[i915\]
   ? intel\_gt\_probe\_all+0x91/0x2e0 \[i915\]
   i915\_driver\_probe+0xe1/0x3f0 \[i915\]
   ? drm\_privacy\_screen\_get+0x16d/0x190 \[drm\]
   ? acpi\_dev\_found+0x64/0x80
   i915\_pci\_probe+0xac/0x1b0 \[i915\]
   ...

According to the definition of sseu\_dev\_info, eu\_mask-\>hsw is limited to
a maximum of GEN\_MAX\_SS\_PER\_HSW\_SLICE (6) sub-slices, but
gen11\_sseu\_info\_init() can potentially set 8 sub-slices, in the
!IS\_JSL\_EHL(gt-\>i915) case.

Fix this by reserving up to 8 slots for max\_subslices in the eu\_mask
struct.

(cherry picked from commit 3cba09a6ac86ea1d456909626eb2685596c07822)

## Affected and fixed versions

- Linux: \>= bc3c5e0809ae9faa039baf75547e8ee46ec124ef, \< 1a1682abf7399318ac074b1f2ac6a8c992b5b3da; \>= bc3c5e0809ae9faa039baf75547e8ee46ec124ef, \< 36b076ab6247cf0d2135b2ad6bb337617c3b5a1b; \>= bc3c5e0809ae9faa039baf75547e8ee46ec124ef, \< 193c41926d152761764894f46e23b53c00186a82 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 193c41926d152761764894f46e23b53c00186a82 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53112.md
Affected: Linux >= bc3c5e0809ae9faa039baf75547e8ee46ec124ef, < 1a1682abf7399318ac074b1f2ac6a8c992b5b3da; >= bc3c5e0809ae9faa039baf75547e8ee46ec124ef, < 36b076ab6247cf0d2135b2ad6bb337617c3b5a1b; >= bc3c5e0809ae9faa039baf75547e8ee46ec124ef, < 193c41926d152761764894f46e23b53c00186a82; Linux 6.0
Fixed in: Linux 1a1682abf7399318ac074b1f2ac6a8c992b5b3da, Linux 36b076ab6247cf0d2135b2ad6bb337617c3b5a1b, Linux 193c41926d152761764894f46e23b53c00186a82

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-2023-53112 being exploited?

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

### How serious is CVE-2023-53112?

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

### Which versions are affected by CVE-2023-53112?

Linux \>= bc3c5e0809ae9faa039baf75547e8ee46ec124ef, \< 1a1682abf7399318ac074b1f2ac6a8c992b5b3da; \>= bc3c5e0809ae9faa039baf75547e8ee46ec124ef, \< 36b076ab6247cf0d2135b2ad6bb337617c3b5a1b; \>= bc3c5e0809ae9faa039baf75547e8ee46ec124ef, \< 193c41926d152761764894f46e23b53c00186a82; Linux 6.0.

### Is there a fix for CVE-2023-53112?

Yes. Fixed in Linux 1a1682abf7399318ac074b1f2ac6a8c992b5b3da, Linux 36b076ab6247cf0d2135b2ad6bb337617c3b5a1b, Linux 193c41926d152761764894f46e23b53c00186a82. Upgrade Linux to 193c41926d152761764894f46e23b53c00186a82 or later.

### How do I check if I'm affected by CVE-2023-53112?

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

- patch: <https://git.kernel.org/stable/c/1a1682abf7399318ac074b1f2ac6a8c992b5b3da>
- patch: <https://git.kernel.org/stable/c/36b076ab6247cf0d2135b2ad6bb337617c3b5a1b>
- patch: <https://git.kernel.org/stable/c/193c41926d152761764894f46e23b53c00186a82>

## 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-2023-53112>

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