← CVE Intelligence

CVE-2023-53714

drm/stm: ltdc: fix late dereference check PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: drm/stm: ltdc: fix late dereference check In ltdc_crtc_set_crc_source(), struct drm_crtc was dereferenced in a container_of() before the pointer check. This could cause a kernel panic. Fix this smatch warning: drivers/gpu/drm/stm/ltdc.c:1124 ltdc_crtc_set_crc_source() warn: variable dereferenced before check 'crtc' (see line 1119)

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 79b44684a14e363d24c299b772f037344ad8c8dc before 340dba127bbed51e8425cd8e097aacfadd175462; affected 79b44684a14e363d24c299b772f037344ad8c8dc before 04fe3b82528232aa85a6c45464906d0727ef4f20; affected 79b44684a14e363d24c299b772f037344ad8c8dc before 898a9e3f56db9860ab091d4bf41b6caa99aafc3d
Linux / Linuxaffected 5.18; unaffected 0 before 5.18; unaffected 6.1.47 through 6.1.*; unaffected 6.4.12 through 6.4.*; unaffected 6.5 through *

CWE

No CWE identifiers supplied.

References