drm/i915/gt: Fix NULL deref on sched_engine alloc failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3e28d37146db5dd49c469bc62a93ca791067d391 · < 82ec992c404c3dc774c5e9f3d4aa858e97187675| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/i915/gt: Fix NULL deref on sched_engine alloc failure
Avoid using intel_context_put() before intel_context_init() in execlists_create_virtual() as the kref_put() inside would lead to NULL deref on the IOCTL path when sched_engine allocation fails.
Discovered using AI-assisted static analysis confirmed by Intel Product Security.
(cherry picked from commit 4f2a12f2d50e9f48227656e4dcbd6423506be31d)
From the CVE record · Linux
The Linux kernel’s i915 graphics driver can dereference a NULL pointer on an IOCTL path if sched_engine allocation fails. A local caller could trigger a kernel crash under that condition; authentication requirements are not specified.
Engineers running Linux kernels with the affected i915 graphics driver should check their kernel versions against the vendor advisory.