CVE-2026-99006
drm/i915/gem: Prevent overstepping exec array boundary
Fetching some sources has been requested. Reload in about a minute to see them.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack conditions and impact
Derived from the CNA (via NVD) CVSS 3.1 vector| Metric | Value | Meaning |
|---|---|---|
| Attack vector AV | L | Local |
| Attack complexity AC | L | Low (easy) |
| Privileges required PR | L | Regular user |
| User interaction UI | N | None |
| Scope S | U | Unchanged |
| Confidentiality C | H | High |
| Integrity I | H | High |
| Availability A | H | High |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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)
CVSS assessments
| Provider | Version | Score | Vector |
|---|---|---|---|
| NVD / 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | 3.1 | 7.8 HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA / Linux | 3.1 | 7.8 HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products and packages
CNA (CVE.org)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | affected: 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 … < 24c04e80c35ff36947366f6deafddb522eea080c affected: 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 … < b1c357131fc467c579f65e9a9d1fdc1a6273ae1d affected: 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 … < 152fb5083b9333a1cb8629572f9e0f276a404ba6 affected: 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 … < 72d5cbb10d4916a3f8ef9da516c5c0634aca8439 affected: 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 … < ebe162db655881a38de43301151ff7ac940602b5 default: unaffected |
| Linux | Linux | affected: 5.10 unaffected: 0 … < 5.10 unaffected: 6.6.160 … <= 6.6.* unaffected: 6.12.113 … <= 6.12.* unaffected: 6.18.57 … <= 6.18.* unaffected: 7.2.11 … <= 7.2.* unaffected: 7.3 … <= * default: affected |
Open-source packages (GitHub Advisory / OSV)
drm/i915/gem: Prevent overstepping exec array boundary
| Ecosystem | Package | Affected versions | Fixed in |
|---|---|---|---|
| >= 8e4ba491b0ba6fef69270d3c4e48fc517096ef41, < 24c04e80c35ff36947366f6deafddb522eea080c; < b1c357131fc467c579f65e9a9d1fdc1a6273ae1d; < 152fb5083b9333a1cb8629572f9e0f276a404ba6; < 72d5cbb10d4916a3f8ef9da516c5c0634aca8439; < ebe162db655881a38de43301151ff7ac940602b5 | 24c04e80c35ff36947366f6deafddb522eea080c, b1c357131fc467c579f65e9a9d1fdc1a6273ae1d, 152fb5083b9333a1cb8629572f9e0f276a404ba6, 72d5cbb10d4916a3f8ef9da516c5c0634aca8439, ebe162db655881a38de43301151ff7ac940602b5 | ||
| Linux | Kernel | >= 5.10.0, < 6.6.160; >= 6.7.0, < 6.12.113; >= 6.13.0, < 6.18.57; >= 6.19.0, < 7.2.11 | 6.6.160, 6.12.113, 6.18.57, 7.2.11 |
Linux distribution status
References (8)
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git OSV
- https://git.kernel.org/stable/c/152fb5083b9333a1cb8629572f9e0f276a404ba6 NVD, CNA, OSV
- https://git.kernel.org/stable/c/24c04e80c35ff36947366f6deafddb522eea080c NVD, CNA, OSV
- https://git.kernel.org/stable/c/72d5cbb10d4916a3f8ef9da516c5c0634aca8439 NVD, CNA, OSV
- https://git.kernel.org/stable/c/b1c357131fc467c579f65e9a9d1fdc1a6273ae1d NVD, CNA, OSV
- https://git.kernel.org/stable/c/ebe162db655881a38de43301151ff7ac940602b5 NVD, CNA, OSV
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99006.json OSV
- https://nvd.nist.gov/vuln/detail/CVE-2026-99006 OSV