Description (CNA)
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)
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 3e28d37146db5dd49c469bc62a93ca791067d391 before bedeee4612afc15c53f8d3c6da05897506b4ca24; affected 3e28d37146db5dd49c469bc62a93ca791067d391 before 7214db3e62fa9f0be7981cba9039bd835a79c070; affected 3e28d37146db5dd49c469bc62a93ca791067d391 before c174969f6af6c22fc9c51aefcdb7f9183c3a329a; affected 3e28d37146db5dd49c469bc62a93ca791067d391 before edd4804f07b8369ed472de19272974e2bf2a6271; affected 3e28d37146db5dd49c469bc62a93ca791067d391 before 82ec992c404c3dc774c5e9f3d4aa858e97187675 |
| Linux / Linux | affected 5.15; unaffected 0 before 5.15; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.57 through 6.18.*; unaffected 7.1.6 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/bedeee4612afc15c53f8d3c6da05897506b4ca24
- https://git.kernel.org/stable/c/7214db3e62fa9f0be7981cba9039bd835a79c070
- https://git.kernel.org/stable/c/c174969f6af6c22fc9c51aefcdb7f9183c3a329a
- https://git.kernel.org/stable/c/edd4804f07b8369ed472de19272974e2bf2a6271
- https://git.kernel.org/stable/c/82ec992c404c3dc774c5e9f3d4aa858e97187675