CVE-2024-58074

Source
https://cve.org/CVERecord?id=CVE-2024-58074
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58074.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-58074
Downstream
Related
Published
2025-03-06T16:04:30Z
Modified
2026-08-12T03:51:28Z
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 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()...

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58074.json"
}
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
Fixed
dc3806d9eb66d0105f8d55d462d4ef681d9eac59

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58074.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.13.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58074.json"