# CVE-2025-71130: drm/i915/gem: Zero-initialize the eb.vma array in i915\_gem\_do\_execbuffer

> 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.23% (percentile 8, 2026-11-28)
- **CWE:** CWE-476, CWE-457
- **Published:** 2026-01-14T15:07:46.508Z
- **Modified:** 2026-10-19T19:17:14.687Z

## Who should check

- Anyone running Linux \>= 544460c33821b44c2f0c643121303c3dc3f66ef1, \< 25d69e07770745992387c016613fd7ac8eaf9893; \>= 544460c33821b44c2f0c643121303c3dc3f66ef1, \< 0336188cc85d0eab8463bd1bbd4ded4e9602de8b; \>= 544460c33821b44c2f0c643121303c3dc3f66ef1, \< 24d55ac8e31d2f8197bfad71ffcb3bae21ed7117; \>= 544460c33821b44c2f0c643121303c3dc3f66ef1, \< 63f23aa2fbb823c8b15a29269fde220d227ce5b3; \>= 544460c33821b44c2f0c643121303c3dc3f66ef1, \< 4fe2bd195435e71c117983d87f278112c5ab364c
- Anyone running Linux 5.16

## Description

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

drm/i915/gem: Zero-initialize the eb.vma array in i915\_gem\_do\_execbuffer

Initialize the eb.vma array with values of 0 when the eb structure is
first set up. In particular, this sets the eb-\>vma\[i\].vma pointers to
NULL, simplifying cleanup and getting rid of the bug described below.

During the execution of eb\_lookup\_vmas(), the eb-\>vma array is
successively filled up with struct eb\_vma objects. This process includes
calling eb\_add\_vma(), which might fail; however, even in the event of
failure, eb-\>vma\[i\].vma is set for the currently processed buffer.

If eb\_add\_vma() fails, eb\_lookup\_vmas() returns with an error, which
prompts a call to eb\_release\_vmas() to clean up the mess. Since
eb\_lookup\_vmas() might fail during processing any (possibly not first)
buffer, eb\_release\_vmas() checks whether a buffer's vma is NULL to know
at what point did the lookup function fail.

In eb\_lookup\_vmas(), eb-\>vma\[i\].vma is set to NULL if either the helper
function eb\_lookup\_vma() or eb\_validate\_vma() fails. eb-\>vma\[i+1\].vma is
set to NULL in case i915\_gem\_object\_userptr\_submit\_init() fails; the
current one needs to be cleaned up by eb\_release\_vmas() at this point,
so the next one is set. If eb\_add\_vma() fails, neither the current nor
the next vma is set to NULL, which is a source of a NULL deref bug
described in the issue linked in the Closes tag.

When entering eb\_lookup\_vmas(), the vma pointers are set to the slab
poison value, instead of NULL. This doesn't matter for the actual
lookup, since it gets overwritten anyway, however the eb\_release\_vmas()
function only recognizes NULL as the stopping value, hence the pointers
are being set to NULL as they go in case of intermediate failure. This
patch changes the approach to filling them all with NULL at the start
instead, rather than handling that manually during failure.

(cherry picked from commit 08889b706d4f0b8d2352b7ca29c2d8df4d0787cd)

## Affected and fixed versions

- Linux: \>= 544460c33821b44c2f0c643121303c3dc3f66ef1, \< 25d69e07770745992387c016613fd7ac8eaf9893; \>= 544460c33821b44c2f0c643121303c3dc3f66ef1, \< 0336188cc85d0eab8463bd1bbd4ded4e9602de8b; \>= 544460c33821b44c2f0c643121303c3dc3f66ef1, \< 24d55ac8e31d2f8197bfad71ffcb3bae21ed7117; \>= 544460c33821b44c2f0c643121303c3dc3f66ef1, \< 63f23aa2fbb823c8b15a29269fde220d227ce5b3; \>= 544460c33821b44c2f0c643121303c3dc3f66ef1, \< 4fe2bd195435e71c117983d87f278112c5ab364c (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- Upgrade Linux to 4fe2bd195435e71c117983d87f278112c5ab364c or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-71130.md
Affected: Linux >= 544460c33821b44c2f0c643121303c3dc3f66ef1, < 25d69e07770745992387c016613fd7ac8eaf9893; >= 544460c33821b44c2f0c643121303c3dc3f66ef1, < 0336188cc85d0eab8463bd1bbd4ded4e9602de8b; >= 544460c33821b44c2f0c643121303c3dc3f66ef1, < 24d55ac8e31d2f8197bfad71ffcb3bae21ed7117; >= 544460c33821b44c2f0c643…
Fixed in: Linux 25d69e07770745992387c016613fd7ac8eaf9893, Linux 0336188cc85d0eab8463bd1bbd4ded4e9602de8b, Linux 24d55ac8e31d2f8197bfad71ffcb3bae21ed7117, Linux 63f23aa2fbb823c8b15a29269fde220d227ce5b3, Linux 4fe2bd195435e71c117983d87f278112c5ab364c

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-2025-71130 being exploited?

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

### How serious is CVE-2025-71130?

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

### Which versions are affected by CVE-2025-71130?

Linux \>= 544460c33821b44c2f0c643121303c3dc3f66ef1, \< 25d69e07770745992387c016613fd7ac8eaf9893; \>= 544460c33821b44c2f0c643121303c3dc3f66ef1, \< 0336188cc85d0eab8463bd1bbd4ded4e9602de8b; \>= 544460c33821b44c2f0c643121303c3dc3f66ef1, \< 24d55ac8e31d2f8197bfad71ffcb3bae21ed7117; \>= 544460c33821b44c2f0c643121303c3dc3f66ef1, \< 63f23aa2fbb823c8b15a29269fde220d227ce5b3; \>= 544460c33821b44c2f0c643121303c3dc3f66ef1, \< 4fe2bd195435e71c117983d87f278112c5ab364c; Linux 5.16.

### Is there a fix for CVE-2025-71130?

Yes. Fixed in Linux 25d69e07770745992387c016613fd7ac8eaf9893, Linux 0336188cc85d0eab8463bd1bbd4ded4e9602de8b, Linux 24d55ac8e31d2f8197bfad71ffcb3bae21ed7117, Linux 63f23aa2fbb823c8b15a29269fde220d227ce5b3, Linux 4fe2bd195435e71c117983d87f278112c5ab364c. Upgrade Linux to 4fe2bd195435e71c117983d87f278112c5ab364c or later.

### How do I check if I'm affected by CVE-2025-71130?

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/25d69e07770745992387c016613fd7ac8eaf9893>
- patch: <https://git.kernel.org/stable/c/0336188cc85d0eab8463bd1bbd4ded4e9602de8b>
- patch: <https://git.kernel.org/stable/c/24d55ac8e31d2f8197bfad71ffcb3bae21ed7117>
- patch: <https://git.kernel.org/stable/c/63f23aa2fbb823c8b15a29269fde220d227ce5b3>
- patch: <https://git.kernel.org/stable/c/4fe2bd195435e71c117983d87f278112c5ab364c>

## 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-2025-71130>

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