CVE-2026-99006

drm/i915/gem: Prevent overstepping exec array boundary

State
Published
Severity
7.8 High
Published
Oct 23, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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)

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 to before 7bed07cb4daa610cd6d92d9e72a575275a99ed54Affected
  • 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 to before cf42a445bd5036c30d57ae65b041b8b17dfef7b0Affected
  • 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 to before 859e52356f913806e5c1ee5d2022b7aeda0a784aAffected
  • 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 to before 24c04e80c35ff36947366f6deafddb522eea080cAffected
  • 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 to before b1c357131fc467c579f65e9a9d1fdc1a6273ae1dAffected
  • 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 to before 152fb5083b9333a1cb8629572f9e0f276a404ba6Affected
  • 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 to before 72d5cbb10d4916a3f8ef9da516c5c0634aca8439Affected
  • 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 to before ebe162db655881a38de43301151ff7ac940602b5Affected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.273 through 5.10.*Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.113 through 6.12.*Not affected
  • 6.18.57 through 6.18.*Not affected
  • 7.2.11 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.