Re: [PATCH 5.10 0/1] vdec_vp9_if: add check for NULL for vsi->frm_bufs[vsi->new_fb_idx].buf.fb in vp9_swap_frm_bufs

From: Greg Kroah-Hartman
Date: Fri Oct 28 2022 - 06:35:06 EST


On Fri, Oct 28, 2022 at 01:05:38PM +0300, Anastasia Belova wrote:
> Null-pointer dereference was found with static analysis tools
> in version 5.10. Seems this file doesn't exist since 5.18.
> This file was moved to
> /drivers/media/platform/mediatek/vcodec/vdec/vdec_vp9_if.c.
> Maybe it is necessary to create another patch for these updates.

Fix this in Linus's tree first, and then worry about any potential need
for stable backports.

thanks,

greg k-h