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)
https://git.kernel.org/stable/c/bf8e105030083e7b71591cdf437e464bcd8a0c09
https://git.kernel.org/stable/c/55db76caa782baa4a1bf02296e2773c38a524a3e
https://git.kernel.org/stable/c/471aa951bf1206d3c10d0daa67005b8e4db4ff83
https://git.kernel.org/stable/c/1566e8be73fd5fa424e88d2a4cffdc34f970f0e1
https://git.kernel.org/stable/c/10f49cdfd5fb342a1a9641930dc040c570694e98