CVE-2024-58074
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
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()...

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 6.12 before 6.13.2NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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()...

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/i915: Tomar intel_display del codificador para evitar posibles errores Tomar intel_display de 'encoder' en lugar de 'state' en los ganchos del codificador para evitar el enorme problema que es intel_sanitize_encoder(), que pasa NULL como el argumento 'state' a .disable() y .post_disable() del codificador. TODO: averiguar cómo solucionar realmente intel_sanitize_encoder()...

References

Sources

SourceRecordLicence
CVE ListCVE-2024-58074 changed 2026-11-05CVE Terms of Use
NVDCVE-2024-58074 changed 2026-11-05Public domain