i915/perf: Fix NULL deref bugs with drm_dbg() calls
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
i915/perf: Fix NULL deref bugs with drm_dbg() calls
When i915 perf interface is not available dereferencing it will lead to NULL dereferences.
As returning -ENOTSUPP is pretty clear return when perf interface is not available.
[tursulin: added stable tag] (cherry picked from commit 36f27350ff745bd228ab04d7845dfbffc177a889)
From the CVE record · Linux
The Linux kernel’s i915/perf code can dereference a NULL pointer when the perf interface is unavailable. The input does not specify how an attacker could trigger this condition or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with i915/perf should check whether their kernel includes the fix; affected versions are not specified.