Re: Please backport commit ae3419fbac84 ("vc_screen: don't clobber return value in vcs_read")

From: Greg KH
Date: Tue Feb 28 2023 - 13:36:13 EST


On Tue, Feb 28, 2023 at 03:42:12AM +0000, Thomas Weißschuh wrote:
> Hi,
>
> please backport the following commit[0] to all stable releases that
> contain the commit
> 226fae124b2d ("vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF")
>
> Commit 46d733d0efc7 ("vc_screen: modify vcs_size() handling in vcs_read()") [1]
> also tries to fix this commit but should not actually be necessary for a
> proper fix. It may make sense to also backport for consistency.

Now queued up, thanks.

greg k-h