drm/i915: Fix NULL ptr deref by checking new_crtc_state (Linux Linux)

CVE-2023-53833
Not available

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: drm/i915: Fix NULL ptr deref by checking new_crtc_state intel_atomic_get_new_crtc_state can return NULL, unless crtc state wasn't obtained previously with intel_atomic_get_crtc_state, so we must check it for NULLness here, just as in many other places, where we can't guarantee that intel_atomic_get_crtc_state was called. We are currently getting NULL ptr deref because of that, so this fix was confirmed to help. (cherry picked from commit 1d5b09f8daf859247a1ea65b0d732a24d88980d8)

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 74a75dc908692dd0548209004e53832c02433c0c < dbf25cc21beff4fd2e730573845a266504b21bb2 ; affected 74a75dc908692dd0548209004e53832c02433c0c < 8b3c0d2d1685ba40b0af4ee1f8d8824a73870f88 ; affected 74a75dc908692dd0548209004e53832c02433c0c < a41d985902c153c31c616fe183cf2ee331e95ecb
Linux · Linuxaffected 5.16 ; unaffected 0 < 5.16 ; unaffected 6.1.30 ≤ 6.1.* ; unaffected 6.3.4 ≤ 6.3.* ; unaffected 6.4 ≤ *

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