drm/stm: ltdc: fix late dereference check
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.1.476.4.126.5In 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)
From the CVE record · Linux
In the Linux kernel’s drm/stm ltdc component, ltdc_crtc_set_crc_source() dereferences a pointer before checking it. This could cause a kernel panic. The input does not specify how the issue can be triggered or whether authentication or user interaction is required.
Engineers running Linux kernels with the drm/stm ltdc component should check their versions; affected versions are not specified.