Files
linux/drivers/gpu/drm/tegra
Qiu-ji Chen 780351a5f6 drm/tegra: Fix a possible null pointer dereference
In tegra_crtc_reset(), new memory is allocated with kzalloc(), but
no check is performed. Before calling __drm_atomic_helper_crtc_reset,
state should be checked to prevent possible null pointer dereference.

Fixes: b7e0b04ae4 ("drm/tegra: Convert to using __drm_atomic_helper_crtc_reset() for reset.")
Cc: [email protected]
Signed-off-by: Qiu-ji Chen <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
2025-05-07 18:07:27 +02:00
..
…
2025-05-07 17:44:03 +02:00
…
2024-09-26 09:31:29 +02:00
…
…
2025-05-07 17:25:22 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…