Re: [PATCH 1/1] vt_ioctl: prevent VT_RESIZEX font height change from causing potential out-of-bounds access

From: Greg KH
Date: Wed Jul 29 2020 - 08:53:24 EST


On Wed, Jul 29, 2020 at 08:39:41AM -0400, George Kennedy wrote:
> Add a VT_RESIZEX check to ensure that changing the font height will not
> cause a potential out-of-bounds access. The candidate font height contained
> in "v_clin", though below the max, could still result in accesses beyond
> the allocated font data size.
>
> Signed-off-by: George Kennedy <george.kennedy@xxxxxxxxxx>
> Reported-by: syzbot+38a3699c7eaf165b97a6@xxxxxxxxxxxxxxxxxxxxxxxxx

Did syzbot also test this that it fixes the reported issue?

What commit does this fix? Should it go back farther to stable releases
too?

thanks,

greg k-h