CVE-2026-97899: drm/i915: Fix memory leak in query_perf_config_list()
In the Linux kernel, the following vulnerability has been resolved:
drm/i915: Fix memory leak in queryperfconfiglist()
When krealloc() fails, free the original oaconfigids before returning to avoid a memory leak.
(cherry picked from commit 9977e9d84f46d4f12ad35fbbc0ec4638554bce87)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Patch 9977e9d84f46d4f12ad35fbbc0ec4638554bce87
Event History
Frequently Asked Questions
What condition triggers the memory leak?
The leak occurs when krealloc() fails while query_perf_config_list() is handling oa_config_ids. In that error path, the original allocation must be freed before returning.
What is the remediation?
Apply a kernel update containing the fix that frees the original oa_config_ids allocation when krealloc() fails. The provided references identify stable kernel commits carrying the correction.