Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F18CC64EC7 for ; Tue, 28 Feb 2023 18:36:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229694AbjB1SgM (ORCPT ); Tue, 28 Feb 2023 13:36:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbjB1SgK (ORCPT ); Tue, 28 Feb 2023 13:36:10 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BE7D21282; Tue, 28 Feb 2023 10:36:09 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 35D8161048; Tue, 28 Feb 2023 18:36:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4234DC433EF; Tue, 28 Feb 2023 18:36:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1677609368; bh=4i2w3IjZpNVaaX/QXWl+jjxOp48vuN+cZ/1cr/Gy4Rs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IswZsZP2rr/5zrUJ4S89pykp6mhI3haKo9AF2OjnaKwOp3TjtAToT56/rrl4tIB0q WJeXQ5zTXfYFlqXFVpdYF7TNx43GWpXXjGncCwD29RDwA02vJ/6ESQXeR+QABIrhVz W+fit+7HPEi6Hh6O9ilQ/VD6R1Jqmgr2f0KDYvNQ= Date: Tue, 28 Feb 2023 19:36:06 +0100 From: Greg KH To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: stable@vger.kernel.org, Storm Dragon , Linus Torvalds , linux-kernel@vger.kernel.org Subject: Re: Please backport commit ae3419fbac84 ("vc_screen: don't clobber return value in vcs_read") Message-ID: References: <15acd998-ea8a-4897-9920-dd19fc06a996@t-8ch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <15acd998-ea8a-4897-9920-dd19fc06a996@t-8ch.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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