CVE-2023-52788: i915/perf: Fix NULL deref bugs with drm_dbg() calls

Description

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)

Classification

CVE ID: CVE-2023-52788

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.06% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://git.kernel.org/stable/c/1566e8be73fd5fa424e88d2a4cffdc34f970f0e1
https://git.kernel.org/stable/c/55db76caa782baa4a1bf02296e2773c38a524a3e
https://git.kernel.org/stable/c/bf8e105030083e7b71591cdf437e464bcd8a0c09
https://git.kernel.org/stable/c/10f49cdfd5fb342a1a9641930dc040c570694e98
https://git.kernel.org/stable/c/471aa951bf1206d3c10d0daa67005b8e4db4ff83

Timeline