Bug 2350387 (CVE-2024-58074) - CVE-2024-58074 kernel: drm/i915: Grab intel_display from the encoder to avoid potential oopsies
Summary: CVE-2024-58074 kernel: drm/i915: Grab intel_display from the encoder to avoid...
Keywords:
Status: NEW
Alias: CVE-2024-58074
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-06 17:01 UTC by OSIDB Bzimport
Modified: 2025-05-26 08:06 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-03-06 17:01:19 UTC
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()...

Comment 1 Mauro Matteo Cascella 2025-03-06 18:17:13 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025030627-CVE-2024-58074-28c1@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.