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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-05-21T15:31:04.980Z
- Modified: 2026-06-17T06:43:35.050Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from 9b344cf6aea0a69c00e19efdc6e02c6d5aae1a23 before 1566e8be73fd5fa424e88d2a4cffdc34f970f0e1; from 2fec539112e89255b6a47f566e21d99937fada7b before 55db76caa782baa4a1bf02296e2773c38a524a3e; from 2fec539112e89255b6a47f566e21d99937fada7b before bf8e105030083e7b71591cdf437e464bcd8a0c09; from 2fec539112e89255b6a47f566e21d99937fada7b before 10f49cdfd5fb342a1a9641930dc040c570694e98; from 2fec539112e89255b6a47f566e21d99937fada7b before 471aa951bf1206d3c10d0daa67005b8e4db4ff83; from 5.15.108 before 5.15.140; 6.0 (not affected: before 6.0; from 5.15.140 up to 5.15.*; from 6.1.64 up to 6.1.*; from 6.5.13 up to 6.5.*; from 6.6.3 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: from 5.15.108 before 5.15.140; from 6.0 before 6.1.64; from 6.2 before 6.5.13; from 6.6 before 6.6.3

## References

- <https://git.kernel.org/stable/c/1566e8be73fd5fa424e88d2a4cffdc34f970f0e1> (patch)
- <https://git.kernel.org/stable/c/55db76caa782baa4a1bf02296e2773c38a524a3e> (patch)
- <https://git.kernel.org/stable/c/bf8e105030083e7b71591cdf437e464bcd8a0c09> (patch)
- <https://git.kernel.org/stable/c/10f49cdfd5fb342a1a9641930dc040c570694e98> (patch)
- <https://git.kernel.org/stable/c/471aa951bf1206d3c10d0daa67005b8e4db4ff83> (patch)

## Sources

- CVE List: [CVE-2023-52788](https://www.cve.org/CVERecord?id=CVE-2023-52788), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2023-52788](https://nvd.nist.gov/vuln/detail/CVE-2023-52788), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52788 · Whole record: https://cve.day/CVE-2023-52788.json · Rebuilt by cve.day 2026-11-25T22:58:34.020Z
