Linux kernel i915: memory leak in the perf config list query on allocation failure
Impact
The i915 DRM_IOCTL_I915_QUERY handler for the performance config list leaked the oa_config_ids buffer when krealloc() failed, returning without freeing the previous allocation. The practical effect is kernel memory lost per failed query, reachable by a local process holding a DRM fd on an Intel graphics device; it is not a corruption or privilege-escalation path. Relevance to a GPU fleet is limited and configuration-specific: it applies to nodes where i915 is bound - Intel integrated display on the host, or Intel accelerators driven by i915 rather than xe - and on headless servers with no i915 device bound it is unreachable. Where it does apply and a tenant can open /dev/dri, repeated failed queries are a slow memory-pressure nuisance rather than a tenancy break.
Who can reach it
Local user able to open an i915 DRM device node (/dev/dri/*) and issue the query ioctl. No remote path. Requires the allocation to fail, i.e. the system already under memory pressure.
What to do
Pick up the stable kernel commit that frees oa_config_ids on the krealloc() failure path (cherry-picked from 9977e9d84f46), which means a node drain and reboot. Low urgency relative to that cost; an operator can reasonably fold it into the next scheduled kernel roll. Restricting /dev/dri access for untrusted tenants removes the reachable path in the meantime. No fixed distro version is named in the record.
References
Related entries
- Linux kernel drm_exec: empty object array leaves contention unresolved and spins foreverCVE-2026-97900 · Linux kernel drm_exec (drm_exec_prepare_array with num_objects == 0)Unscored
- Linux kernel accel/qaic: unbounded response message walk in resp_worker() reads past the slab allocationCVE-2026-98155 · Linux kernel accel/qaic (Qualcomm Cloud AI 100 accelerator driver)Unscored
- Linux drm/amdgpu: BAR0 fallback read path narrowed to SR-IOV VFs onlyCVE-2026-98165 · Linux kernel drm/amdgpu (BAR0 fallback read during early init)Unscored
- Linux drm/ttm: swapped-out resources stay in their bulk_move range, leaving a dangling cursor (use-after-free)CVE-2026-98166 · Linux kernel drm/ttm (bulk_move bookkeeping on buffer-object swapout)Unscored
- Linux drm/amdkfd: integer underflow in the EOP ring size log calculationCVE-2026-98176 · Linux kernel drm/amdkfd (EOP ring size field in cp_hqd_eop_control)Unscored
- Linux drm/amdgpu: NULL dereference during GPU reset when KFD init failed after probeCVE-2026-98178 · Linux kernel drm/amdgpu (amdgpu_amdkfd_clear_kfd_mapping on GPU reset)Unscored
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.