# CVE-2026-99006: drm/i915/gem: Prevent overstepping exec array boundary

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-02)
- Published: 2026-10-23T12:20:31.415Z
- Modified: 2026-10-30T13:21:35.187Z
- Assigned by: Linux

## Description

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

drm/i915/gem: Prevent overstepping exec array boundary

It is possible for eb_relocate_parse_slow() to call kvfree() on
entries outside the original exec array during following
scenario inside eb_relocate_parse_slow():

1) eb_copy_relocations() allocates as many as eb->buffer_count
   copies for exec entries;
2) eb_parse() appends up to two VMAs, right after incrementing
   eb->buffer_count;
3) cleanup under "out" label uses this incremented buffer_count
   to release relocation pointers from exec array via kvfree(),
   not from VMA array.

To amend this problem, ensure that relocation cleanup uses the
original exec object count, excluding the VMAs appended by the
command parser.

(cherry picked from commit 2a0158925fb943c7ba8f3216e2734952128defc9)

(As written by CVE List.)

## Affected

- Linux Linux: from 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 before 7bed07cb4daa610cd6d92d9e72a575275a99ed54; from 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 before cf42a445bd5036c30d57ae65b041b8b17dfef7b0; from 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 before 859e52356f913806e5c1ee5d2022b7aeda0a784a; from 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 before 24c04e80c35ff36947366f6deafddb522eea080c; from 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 before b1c357131fc467c579f65e9a9d1fdc1a6273ae1d; from 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 before 152fb5083b9333a1cb8629572f9e0f276a404ba6; from 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 before 72d5cbb10d4916a3f8ef9da516c5c0634aca8439; from 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 before ebe162db655881a38de43301151ff7ac940602b5; 5.10 (not affected: before 5.10; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.11 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/7bed07cb4daa610cd6d92d9e72a575275a99ed54>
- <https://git.kernel.org/stable/c/cf42a445bd5036c30d57ae65b041b8b17dfef7b0>
- <https://git.kernel.org/stable/c/859e52356f913806e5c1ee5d2022b7aeda0a784a>
- <https://git.kernel.org/stable/c/24c04e80c35ff36947366f6deafddb522eea080c>
- <https://git.kernel.org/stable/c/b1c357131fc467c579f65e9a9d1fdc1a6273ae1d>
- <https://git.kernel.org/stable/c/152fb5083b9333a1cb8629572f9e0f276a404ba6>
- <https://git.kernel.org/stable/c/72d5cbb10d4916a3f8ef9da516c5c0634aca8439>
- <https://git.kernel.org/stable/c/ebe162db655881a38de43301151ff7ac940602b5>

## Sources

- CVE List: [CVE-2026-99006](https://www.cve.org/CVERecord?id=CVE-2026-99006), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-99006](https://nvd.nist.gov/vuln/detail/CVE-2026-99006), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-99006 · Whole record: https://cve.day/CVE-2026-99006.json · Rebuilt by cve.day 2026-11-25T22:59:46.944Z
