Linux drm/i915: execbuffer relocation cleanup frees past the exec array after command-parser VMAs
Impact
In eb_relocate_parse_slow(), eb_parse() appends up to two VMAs and increments eb->buffer_count, and the error path then walks that inflated count while kvfree()ing relocation pointers taken from the exec object array. The cleanup therefore reads relocation pointers from entries that are VMAs, not exec objects, and passes them to kvfree() - freeing addresses an attacker partially controls through the submitted exec list. On an Intel Data Center GPU node, any local process holding a render node can reach the execbuffer ioctl, so the plausible outcome is kernel memory corruption from an unprivileged local context, with a kernel crash the cheap case. The fix pins the cleanup to the original exec object count.
Who can reach it
Local user or container with an Intel GPU render node (/dev/dri/renderD*) submitting an execbuffer with relocations and a command-parser path; on a shared node that is any tenant handed an Intel GPU. No authentication beyond device access, and no remote path.
What to do
Update to the fixed stable kernel (five stable commits in the record, cherry-picked from 2a0158925fb9) and reboot each node with Intel graphics or Intel Data Center GPUs. Until then the only mitigation is withholding /dev/dri render-node access from untrusted workloads; nodes with no i915 device loaded are unaffected.
References
Related entries
- NVIDIA GPU Display Driver - kernel mode layer (Windows nvlddmkm.sys and Linux nvidia.ko): An out-of-bounds readCVE-2022-28183 · NVIDIA GPU Display Driver - kernel mode layer (Windows nvlddmkm.sys and Linux nvidia.ko)High
- DGX servers BMC: Improper access control on BMCCVE-2022-42275 · DGX servers BMCHigh
- KAI Scheduler: Missing authentication on API endpointsCVE-2026-24177 · KAI SchedulerHigh
- AMD RCCL: unvalidated peer input lets a compromised rank dereference an attacker-controlled pointerCVE-2026-43598 · AMD RCCL (ROCm Communication Collectives Library) peer rank handlingHigh
- NVIDIA Windows GPU driver: out-of-bounds read with no privileges required, leaking data and crashing the driverCVE-2026-47576 · NVIDIA GPU Display Driver for Windows (kernel module)High
- Linux amdgpu: unbounded FRU PIA TLV walk reads out of bounds on malformed EEPROM dataCVE-2026-97428 · Linux kernel drm/amdgpu (FRU EEPROM PIA/TLV parser)High
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.