On Wed, Feb 12, 2025 at 09:42:45AM +0800, Qiu-ji Chen wrote:
> 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: b7e0b04ae450 ("drm/tegra: Convert to using
> __drm_atomic_helper_crtc_reset() for reset.")
> Cc: [email protected]
> Signed-off-by: Qiu-ji Chen <[email protected]>
> ---
> drivers/gpu/drm/tegra/dc.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)Applied, thanks. Thierry
signature.asc
Description: PGP signature
