Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97899 Overview
CVE-2026-97899 is a memory leak vulnerability in the Linux kernel's Intel i915 Direct Rendering Manager (DRM) graphics driver. The flaw resides in the query_perf_config_list() function, which handles performance configuration queries for Intel integrated graphics. When a call to krealloc() fails inside this function, the original oa_config_ids allocation is not freed before the function returns. Repeated failures gradually exhaust kernel memory on affected systems. The upstream fix has been cherry-picked across stable kernel branches.
Critical Impact
Repeated invocation under memory pressure can exhaust kernel memory, degrading system stability on hosts running the Intel i915 graphics driver.
Affected Products
- Linux kernel branches containing the drm/i915 performance configuration query code path
- Systems using Intel integrated graphics with the i915 DRM driver loaded
- Distributions tracking mainline and stable kernels prior to the backport commits
Discovery Timeline
- 2026-09-25 - CVE-2026-97899 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97899
Vulnerability Analysis
The vulnerability is a kernel memory leak [CWE-401] in the Intel i915 DRM driver. The query_perf_config_list() function builds a list of OA (Observation Architecture) performance configuration identifiers for userspace queries. During list construction, the function uses krealloc() to grow the oa_config_ids buffer as additional configuration entries are enumerated.
When krealloc() returns NULL due to allocation failure, the function returns an error without releasing the previously allocated oa_config_ids pointer. The buffer becomes orphaned in kernel memory with no remaining reference. The fix explicitly frees the original allocation on the failure path before propagating the error.
Root Cause
The root cause is a missing cleanup path on an allocation-failure branch. The krealloc() semantics preserve the original pointer when reallocation fails, so the caller is responsible for freeing it. The original implementation returned early without doing so, producing an unreferenced kernel heap allocation each time the failure path executed.
Attack Vector
Triggering the leak requires local access to a system running the i915 driver and the ability to issue DRM performance configuration queries, typically through the DRM ioctl interface. An unprivileged local user can repeatedly invoke the affected code path under induced memory pressure to leak kernel memory. Remote exploitation is not applicable; the attack surface is local kernel interaction.
No verified exploit code is available. See the upstream patches for the exact code change: Kernel Git Commit 9ac6db53 and Kernel Git Commit d0043035.
Detection Methods for CVE-2026-97899
Indicators of Compromise
- Gradual, unexplained growth in kernel slab allocations attributable to kmalloc/kreallloc caches on hosts running i915
- Repeated invocation of DRM performance configuration ioctls by non-graphics workloads or unprivileged users
- dmesg entries showing allocation failures within i915 driver code paths
Detection Strategies
- Audit installed kernel versions against the fixed commits listed in the stable tree references
- Monitor /proc/slabinfo and /proc/meminfo for anomalous kernel memory growth on workstations and virtualization hosts with Intel graphics
- Correlate process telemetry with DRM ioctl usage to flag non-graphical processes probing performance configuration interfaces
Monitoring Recommendations
- Enable kernel memory leak detection (CONFIG_DEBUG_KMEMLEAK) in test and staging environments to surface the specific allocation site
- Track package manager events for kernel updates and verify reboot into patched kernels
- Baseline typical DRM ioctl volumes per host to detect abuse patterns
How to Mitigate CVE-2026-97899
Immediate Actions Required
- Apply the latest stable kernel update from your Linux distribution that includes the backported fix
- Reboot affected systems after kernel installation to activate the patched i915 driver
- Inventory systems using Intel integrated graphics to prioritize patch rollout
Patch Information
The fix frees the original oa_config_ids allocation when krealloc() returns NULL. The change has been merged and cherry-picked across stable branches. Reference commits: 59e0a04, 9ac6db53, cbd3dafc, and d0043035.
Workarounds
- Restrict access to DRM device nodes (/dev/dri/*) to trusted users via group membership and udev rules
- Blacklist the i915 module on servers that do not require Intel graphics acceleration
- Deploy memory monitoring and automatic restart policies for long-running hosts until patches are applied
# Verify running kernel and confirm patch presence
uname -r
# Example: restrict DRM device access to the 'video' group
ls -l /dev/dri/
# Ensure non-trusted users are not members of the group granted access
# Optional: blacklist i915 on hosts that do not need it
echo 'blacklist i915' | sudo tee /etc/modprobe.d/blacklist-i915.conf
sudo update-initramfs -u
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

