CVE-2024-58074

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-58074
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-58074.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-58074
Downstream
Related
Published
2025-03-06T16:04:30Z
Modified
2025-10-09T10:04:34.279159Z
Summary
drm/i915: Grab intel_display from the encoder to avoid potential oopsies
Details

In the Linux kernel, the following vulnerability has been resolved:

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

Grab the inteldisplay from 'encoder' rather than 'state' in the encoder hooks to avoid the massive footgun that is intelsanitizeencoder(), which passes NULL as the 'state' argument to encoder .disable() and .postdisable().

TODO: figure out how to actually fix intelsanitizeencoder()...

References

Affected packages

Git / 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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a
Fixed
dc3806d9eb66d0105f8d55d462d4ef681d9eac59

Affected versions

v6.*

v6.11
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.13
v6.13-rc1
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.13.1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.13.2