drm/i915/gem: Fix NULL deref in I915_CONTEXT_PARAM_SSEU
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d4433c7600f794623d6802395542cf4ca4f1b1f9 · < 97f236379f06a5082d37c6a764edd56bb58a94cd| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/i915/gem: Fix NULL deref in I915_CONTEXT_PARAM_SSEU
Setting context engine slot N into I915_ENGINE_CLASS_INVALID / I915_ENGINE_CLASS_INVALID_NONE and attempting to apply I915_CONTEXT_PARAM_SSEU to the same slot N will deref NULL. Fix that.
Discovered using AI-assisted static analysis confirmed by Intel Product Security.
(cherry picked from commit 36eda5b5c2d40da41cc0a5403c26986237cf9e87)
From the CVE record · Linux
The Linux kernel’s drm/i915/gem code can dereference a NULL pointer when a context engine slot is set to I915_ENGINE_CLASS_INVALID or I915_ENGINE_CLASS_INVALID_NONE and I915_CONTEXT_PARAM_SSEU is then applied to that same slot. The input does not specify access requirements or whether user interaction is needed.
Engineers running the Linux kernel should check their installations; affected versions are not specified.