{"id":"CVE-2024-58074","state":"PUBLISHED","title":"drm/i915: Grab intel_display from the encoder to avoid potential oopsies","description":"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()...","publishedAt":"2025-03-06T16:04:30.170Z","updatedAt":"2026-10-21T12:35:51.173Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a","status":"affected","lessThan":"3a03ef592ef9b900698b46703015f9134721479c","versionType":"git"},{"version":"ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a","status":"affected","lessThan":"1885401569f24eb35c631bcc4e6543360dbe9292","versionType":"git"},{"version":"ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a","status":"affected","lessThan":"dc3806d9eb66d0105f8d55d462d4ef681d9eac59","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/i915/display/intel_crt.c","drivers/gpu/drm/i915/display/intel_tv.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.2","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/i915/display/intel_crt.c","drivers/gpu/drm/i915/display/intel_tv.c"]}],"references":["https://git.kernel.org/stable/c/3a03ef592ef9b900698b46703015f9134721479c","https://git.kernel.org/stable/c/1885401569f24eb35c631bcc4e6543360dbe9292","https://git.kernel.org/stable/c/dc3806d9eb66d0105f8d55d462d4ef681d9eac59"],"weaknesses":[],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/58xxx/CVE-2024-58074.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-58074","state":"PUBLISHED","datePublished":"2025-03-06T16:04:30.170Z","dateUpdated":"2026-10-21T12:35:51.173Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-03-06T15:52:09.182Z"},"containers":{"cna":{"title":"drm/i915: Grab intel_display from the encoder to avoid potential oopsies","descriptions":[{"lang":"en","value":"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()..."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a","status":"affected","lessThan":"3a03ef592ef9b900698b46703015f9134721479c","versionType":"git"},{"version":"ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a","status":"affected","lessThan":"1885401569f24eb35c631bcc4e6543360dbe9292","versionType":"git"},{"version":"ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a","status":"affected","lessThan":"dc3806d9eb66d0105f8d55d462d4ef681d9eac59","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/i915/display/intel_crt.c","drivers/gpu/drm/i915/display/intel_tv.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.2","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/i915/display/intel_crt.c","drivers/gpu/drm/i915/display/intel_tv.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3a03ef592ef9b900698b46703015f9134721479c"},{"url":"https://git.kernel.org/stable/c/1885401569f24eb35c631bcc4e6543360dbe9292"},{"url":"https://git.kernel.org/stable/c/dc3806d9eb66d0105f8d55d462d4ef681d9eac59"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:35:51.173Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.13.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.14"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}