# CVE-2024-58074: drm/i915: Grab intel_display from the encoder to avoid potential oopsies

- 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.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-03-06T16:04:30.170Z
- Modified: 2026-11-05T21:17:39.693Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/i915: Grab intel_display from the encoder to avoid potential oopsies

Grab the intel_display from 'encoder' rather than 'state'
in the encoder hooks to avoid the massive footgun that is
intel_sanitize_encoder(), which passes NULL as the 'state'
argument to encoder .disable() and .post_disable().

TODO: figure out how to actually fix intel_sanitize_encoder()...

(As written by CVE List.)

## Affected

- Linux Linux: from ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a before 3a03ef592ef9b900698b46703015f9134721479c; from ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a before 1885401569f24eb35c631bcc4e6543360dbe9292; from ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a before dc3806d9eb66d0105f8d55d462d4ef681d9eac59; 6.12 (not affected: before 6.12; from 6.12.114 up to 6.12.*; from 6.13.2 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.12 before 6.13.2

## References

- <https://git.kernel.org/stable/c/3a03ef592ef9b900698b46703015f9134721479c>
- <https://git.kernel.org/stable/c/1885401569f24eb35c631bcc4e6543360dbe9292> (patch)
- <https://git.kernel.org/stable/c/dc3806d9eb66d0105f8d55d462d4ef681d9eac59> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-58074 · Whole record: https://cve.day/CVE-2024-58074.json · Rebuilt by cve.day 2026-11-25T22:58:52.218Z
