VDB

CVE-2025-71130

CVE-2025-71130 PUBLISHED CVSS 7.8 HIGH

drm/i915/gem: Zero-initialize the eb.vma array in i915_gem_do_execbuffer

Reported by linux · Published January 14, 2026

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)

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-libbpf-staticAmazon Linux1:6.12.64-87.122.amzn2023
perf6.12Amazon Linux1:6.12.64-87.122.amzn2023
kernel-libbpf-develAmazon Linux1:6.1.161-183.298.amzn2023
python3-perfAmazon Linux1:6.1.161-183.298.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.64-87.122.amzn2023
perfAmazon Linux1:6.1.161-183.298.amzn2023
kernel-modules-extraAmazon Linux1:6.1.161-183.298.amzn2023
kernel6.12-develAmazon Linux1:6.12.64-87.122.amzn2023
kernel6.12Amazon Linux1:6.12.64-87.122.amzn2023
python3-perf6.12Amazon Linux1:6.12.64-87.122.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.64-87.122.amzn2023
bpftool6.12Amazon Linux1:6.12.64-87.122.amzn2023

14 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux544460c33821b44c2f0c643121303c3dc3f66ef1, 544460c33821b44c2f0c643121303c3dc3f66ef1, 544460c33821b44c2f0c643121303c3dc3f66ef1
LinuxLinux5.16, 0, 6.1.160
amazon:2023kernel6.12-libbpf-static0
amazon:2023perf6.120
amazon:2023kernel-libbpf-devel0
amazon:2023python3-perf0
amazon:2023kernel6.12-modules-extra0
amazon:2023perf0
amazon:2023kernel-modules-extra0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.120
amazon:2023python3-perf6.120
amazon:2023kernel6.12-tools0
amazon:2023bpftool6.120
amazon:2023kernel-devel0
amazon:2023bpftool0
amazon:2023kernel-tools-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-libbpf-static0
amazon:2023kernel6.12-libbpf0

…and 12 more

Timeline

  • Jan 14, 2026 CVE Published
  • Jan 15, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 25, 2026 CVE Updated
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (72 in total, the first dated here)
  • Apr 29, 2026 Security Advisory (75 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-71130
vulnetix vdb fixes CVE-2025-71130

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-71130/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›