← CVE Intelligence

CVE-2024-58074

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

Description (CNA)

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

Vendor / productVersions
Linux / Linuxaffected ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a before 3a03ef592ef9b900698b46703015f9134721479c; affected ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a before 1885401569f24eb35c631bcc4e6543360dbe9292; affected ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a before dc3806d9eb66d0105f8d55d462d4ef681d9eac59
Linux / Linuxaffected 6.12; unaffected 0 before 6.12; unaffected 6.12.114 through 6.12.*; unaffected 6.13.2 through 6.13.*; unaffected 6.14 through *

CWE

No CWE identifiers supplied.

References