{"id":"CVE-2024-58074","summary":"drm/i915: Grab intel_display from the encoder to avoid potential oopsies","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/i915: Grab intel_display from the encoder to avoid potential oopsies\n\nGrab the intel_display from 'encoder' rather than 'state'\nin the encoder hooks to avoid the massive footgun that is\nintel_sanitize_encoder(), which passes NULL as the 'state'\nargument to encoder .disable() and .post_disable().\n\nTODO: figure out how to actually fix intel_sanitize_encoder()...","modified":"2026-03-20T12:41:06.661222Z","published":"2025-03-06T16:04:30.170Z","related":["CGA-3f29-265f-xf2g","SUSE-SU-2025:01951-1","SUSE-SU-2025:01967-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58074.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1885401569f24eb35c631bcc4e6543360dbe9292"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc3806d9eb66d0105f8d55d462d4ef681d9eac59"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58074.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58074"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a"},{"fixed":"1885401569f24eb35c631bcc4e6543360dbe9292"},{"fixed":"dc3806d9eb66d0105f8d55d462d4ef681d9eac59"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-58074.json"}}],"schema_version":"1.7.5"}