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

CVE-2024-58074
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Modified

Description

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()...

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a < 3a03ef592ef9b900698b46703015f9134721479c
affected : ≥ ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a < 1885401569f24eb35c631bcc4e6543360dbe9292
affected : ≥ ab0b0eb5c85c5961913bdb9b8011cc8f5c14978a < dc3806d9eb66d0105f8d55d462d4ef681d9eac59
Other versions : unaffected
Linux · Linux
affected : 6.12
unaffected : ≥ 0 < 6.12
unaffected : ≥ 6.12.114 ≤ 6.12.*
unaffected : ≥ 6.13.2 ≤ 6.13.*
unaffected : ≥ 6.14 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD