Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3264890rdb; Wed, 27 Dec 2023 01:31:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IEoHT4vvCYIDYhKA6Ptj6Tz8Ws6Gbt83dNO4N3+kMtRly0u3cI9H14D57Vl39uBqEkVAvAw X-Received: by 2002:a05:6e02:1c85:b0:35f:f3af:3634 with SMTP id w5-20020a056e021c8500b0035ff3af3634mr10554716ill.125.1703669464510; Wed, 27 Dec 2023 01:31:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703669464; cv=none; d=google.com; s=arc-20160816; b=j+Ap5JA8rqB49dGk7AR1kybbMfOq07CMBg3EQ6WoU/kRCW5KuCsWfHQPnvl68p4t2J n76LB7zX2dDIvbP+Bou7GhgghZ4AzmsqqX7nQ2uHhZsMwCk1ZHW3yMNaKhy10N+fuyNu ClupjLkXah4yDb5roCoqdRG5VsFLq+Zyku9EBwMhMHObI9neg3jq9SH+Rby9enMj0awq qe5+jFB7LIFc5l5CpEte/S9zOn1QDa/toNTZtMagNy4+rIwZ3IkMWs0I5CdeE3GcQoc8 KkF5ytyglFuLNUGH7ouK9qI5SyA9qstN+n/8ijMctZJaSPITnEs3UKZMXlNBPjPtkeWn F/4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=XpfjBoxYsDWW/4KPLgSMTFTGvVXP/2AAnHvG1w80pxI=; fh=uStr1APOFW+i/R1NkI6U2bkLo34J2hju2ypVThEDXsc=; b=A+vCIZ7ra/gqaPvIXpoDxbO8y/EIaFCfxPC96Ja9+uy2xlwdvyoZjOhkSB5BrdRrnN yZAVwtVK/jIQcb4QpjIH/DgsOTqi6gJmhviCdEpMr+NUhf101xasj2xYPECYnjq5iSQb W6Q/XvpRozlapTstrb8w0BjePJpy05Kpu2AB0zgJNFF9oj71XTMdWyaBngtyD47zzDZ1 JkreIkEBxv43Uw/U/Lw+MXiFIz5cix8Ku9MXrkBIS2Rn2BBNF1OuOWKmp4QlCTihMrV3 TRm8U0ctk3un+8k7D0Ew3n7VYdaxWsIS6bSB7DyCQ+D88uoooOIwyOD5UUM8hd4V+e3s wRnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto+bounces-1062-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1062-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i24-20020a635418000000b005cdde8544ffsi10833732pgb.326.2023.12.27.01.31.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 01:31:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-1062-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto+bounces-1062-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1062-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1C4BE28360F for ; Wed, 27 Dec 2023 09:31:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D1E4828E3F; Wed, 27 Dec 2023 09:30:56 +0000 (UTC) X-Original-To: linux-crypto@vger.kernel.org Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B5E9224B2F; Wed, 27 Dec 2023 09:30:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gondor.apana.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gondor.apana.org.au Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1rIQFK-00ErIR-Mw; Wed, 27 Dec 2023 17:30:39 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Wed, 27 Dec 2023 17:30:49 +0800 Date: Wed, 27 Dec 2023 17:30:49 +0800 From: Herbert Xu To: Chengming Zhou Cc: akpm@linux-foundation.org, chrisl@kernel.org, davem@davemloft.net, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, nphamcs@gmail.com, syzkaller-bugs@googlegroups.com, yosryahmed@google.com, 21cnbao@gmail.com, zhouchengming@bytedance.com, syzbot+3eff5e51bf1db122a16e@syzkaller.appspotmail.com Subject: Re: [PATCH] crypto: scompress - fix req->dst buffer overflow Message-ID: References: <0000000000000b05cd060d6b5511@google.com> <20231227065043.2730440-1-chengming.zhou@linux.dev> <4b2f3c71-738b-4b6f-9c38-b10f0c6c7ff0@linux.dev> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4b2f3c71-738b-4b6f-9c38-b10f0c6c7ff0@linux.dev> On Wed, Dec 27, 2023 at 05:28:35PM +0800, Chengming Zhou wrote: > > Right, ENOSPC is better. Should I send a v2? Yes please. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt