From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F024AC433DB for ; Thu, 11 Feb 2021 01:16:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B769764E2A for ; Thu, 11 Feb 2021 01:16:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230427AbhBKBQ2 (ORCPT ); Wed, 10 Feb 2021 20:16:28 -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,