Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1781871pxb; Wed, 10 Feb 2021 17:20:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJzU8aon52x+7Laxqa9AwpArJtB/xW2lNdBZgkN0dViWGPxLY0I6IO/FPV6l5MSrJoQT7KOp X-Received: by 2002:a50:fe04:: with SMTP id f4mr5835017edt.63.1613006453255; Wed, 10 Feb 2021 17:20:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613006453; cv=none; d=google.com; s=arc-20160816; b=IWCz3NmpEPJldhnP6gBWK0rHQ8aVY0owNE+VtqvxAV8cvFNJSMRgnO3XIP7pce57pc z7Mtnzq8te2Bq2gMmRdqGnZo6A7HEeaLne+1RNwXRxFLf+RuTXZhOpfkcjQltOBwb357 WcmpDhJsgAy+yeedem9/c8dYy1kWfHyyYfaDDTal6DOTCKfOVZZ4+VOklaN+OC0Txt4I 0bWx/1/kujYKuaW8963zwOY1RytiW5bDQZ6jx3pu9+nxWUwbzgxoDFXCf4GuESrngbq5 8MF/HDq4bbPWwo+Mmp8e/tsDQrUpedwOD97Nr3AuPbdVjC39QVTLYXnvprzNTngsPK+V LVkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=pWtgVOUPMngOF2luZLMfAQto0zLbTFuOeZWL/de5+dc=; b=rC+aGvnFBepDKopxfjO9HNK1pD5Fn7GzsXOupeEWsC97c3dpdr17UFE4REemDWhI9g Ts0NlUVMuk7r34e5FVAZ0kb6kIBvdf60Xwc6vZmsywZPoyqjJMe2UECibFX6ovgAjLIq s9qwmoeTovU8tQQzfIexKNUDLmeuVVKmvHGWbuwW3wOyr4MxErfBrz+7kOG2OKMgtNta Omrk77BPnxuGixRDfHF6P1k1Xu9I1Wx/daxTN5WJ3QH79LvN3S/zgfTn/VJQlM0q5gFM zui9gXFJ3YQX15SaS7jsjLL8rEZRmiNf8JdyC38gJPwrv2y/ex8pMuMZl6QFYYCMV5c3 ViyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RcEdLIJo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n2si2929077ejl.444.2021.02.10.17.20.22; Wed, 10 Feb 2021 17:20:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RcEdLIJo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229991AbhBKBQ0 (ORCPT + 99 others); Wed, 10 Feb 2021 20:16:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:42340 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229584AbhBKBQZ (ORCPT ); Wed, 10 Feb 2021 20:16:25 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0117A6146D; Thu, 11 Feb 2021 01:15:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613006145; bh=hWpMFDvhdeaSaUSFOQZMqSuM/fCNtN3RQDyF51Ik2Dc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=RcEdLIJowKtFimfaXiZlA9uGx+iwXeZqdOTJJq49GeD1cRMy7b3yiwNdrOZrY8P5q c2wx4YG2HNgR4ri1SOm/ZUs6bcnMvErQpNXoT4rewuCYLddHrD53qJUJIqfZg0+aXD lzSUSe4lMh/RoFGXD6ccBbP1TECuWEbT7gfI74CXzG/iZbGBdDzzgK27yjei0AZDCs zj+rAjRYBQDpHadwaeTtS1EKA36IKyEQLdi1UKOUAg+z9Dgs+GrtVCxTf2PtNCP21W igquIYRXEp782mWQgZAQrxdXJtCHhiqLjYoty+LRdCog2vRmP7NdEYQg6qMdDaN/0a yGrmf32m30k3A== Subject: Re: [PATCH] erofs: fix shift-out-of-bounds of blkszbits To: Gao Xiang , linux-erofs@lists.ozlabs.org Cc: syzkaller-bugs@googlegroups.com, LKML , syzbot+c68f467cd7c45860e8d4@syzkaller.appspotmail.com References: <20210120013016.14071-1-hsiangkao.ref@aol.com> <20210120013016.14071-1-hsiangkao@aol.com> From: Chao Yu Message-ID: Date: Thu, 11 Feb 2021 09:15:44 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20210120013016.14071-1-hsiangkao@aol.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/1/20 9:30, Gao Xiang via Linux-erofs wrote: > From: Gao Xiang > > syzbot generated a crafted bitszbits which can be shifted > out-of-bounds[1]. So directly print unsupported blkszbits > instead of blksize. > > [1] https://lore.kernel.org/r/000000000000c72ddd05b9444d2f@google.com > Reported-by: syzbot+c68f467cd7c45860e8d4@syzkaller.appspotmail.com > Signed-off-by: Gao Xiang Sorry, I missed this patch. Reviewed-by: Chao Yu Thanks,