Bug 2559779 (CVE-2026-99006) - CVE-2026-99006 kernel: drm/i915/gem: Prevent overstepping exec array boundary
Summary: CVE-2026-99006 kernel: drm/i915/gem: Prevent overstepping exec array boundary
Keywords:
Status: NEW
Alias: CVE-2026-99006
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-23 13:35 UTC by OSIDB Bzimport
Modified: 2026-10-28 06:21 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-23 13:35:54 UTC
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)


Note You need to log in before you can comment on or make changes to this bug.