Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4462559pxu; Wed, 9 Dec 2020 18:45:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwjq+FnOLH9h04cmrknDUsujHSDHa2MjuMytRLfetjaq73XOmBUNYtn5ux31rxwcklAzku4 X-Received: by 2002:a17:906:fb0e:: with SMTP id lz14mr4650469ejb.232.1607568340814; Wed, 09 Dec 2020 18:45:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607568340; cv=none; d=google.com; s=arc-20160816; b=yS8pr1htRaPCI1mUSV7TYlm9XLRaotsgFatUQN/kTGjIa5mntJ9Y/0V3FwXZVwJPtn r/oyf6XWSymv5XJLN2G06bdMfEfCz6PwXP+OmPogpLav8EZg1nuand7J4XZXXyrv6ZGZ KiFLTP1e01dimtFurTY7SC59JL+v/lHO3qUDs0CstCgbwJWWmWyCl+xYKWx53UVm84gC TfeE9OMu9mFCtVdoJ35pPljeZxxCD+LsvZwXhAgtLIfReKcPgN2zS4OGjzRQs1JwxcxF xcl1DR/CSM7xZ2tqhviqvAMEyR9G0CXthw0nlFnxHRyvJ1MNWHdWUl5G1RnQiDE+gnYz 02tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=tqYt7x5l7ChS2b75CAGcZm7MBLEYVuTF7osXF52G8Po=; b=d+u6D5Afj2a5T4qlxwpwWZ4gnZdc9sBwOMz6XeIJqDtfPcZwVDINYTUBftvXXNOo8U 9mqQxe05PhDQWo5RGdbLIdNo+wKlP+Y31IIAq0Qf7qoY9ORjO+LjzBeznAGWkhCv4N/q 6pkM41TC20e90MwhlttBIe0mVDA97zMlL25IZsGuJlDzghk5h02VdxmbjMS7bS0/tBt9 hqQa5ntzXjxPyCdEEQdEQs2OjVB/bekbcZn41HMB7p/bOMOZEFvL4qWXx7NtZRcUzkoZ k3umAoXqBbdUAKg9iJ/3CPUrfRHxF2ei+KhiBVKv8+VTztR51O6ZpbyaDwRrPQflQMc+ 8G8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rT+O8Q8a; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g3si1789673ejw.12.2020.12.09.18.45.18; Wed, 09 Dec 2020 18:45:40 -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=@gmail.com header.s=20161025 header.b=rT+O8Q8a; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728094AbgLJCPg (ORCPT + 99 others); Wed, 9 Dec 2020 21:15:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726194AbgLJCPg (ORCPT ); Wed, 9 Dec 2020 21:15:36 -0500 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67D64C0613CF for ; Wed, 9 Dec 2020 18:14:50 -0800 (PST) Received: by mail-pf1-x443.google.com with SMTP id i3so2583412pfd.6 for ; Wed, 09 Dec 2020 18:14:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=tqYt7x5l7ChS2b75CAGcZm7MBLEYVuTF7osXF52G8Po=; b=rT+O8Q8aty5iKeOIzFBtXojHut1jcvFJfRHTulPh2QlvAh5UkiC4gc37ajD6/aMDcy qLjnFEeANDWqDfIlTHgL856Lh0PYN/TkINVJULc0bODDJLQf+7J2usPQQ8e5TM1S6igw mAb1TLd3WIGklO+I4JdAE+TP9OsEDAiMxhNoKARVzdsy015EDadwezR/fVSh65gEQqcb xmCHTqOD92wJhkzMTcKf05rHGUltpB2ZVPyvQATBb7gC+IQQP02zYLRN+5vmRdMxUavO rmnKMVWBzIZbyVyDIx5pp4TLI2m6I6D+SiYBLeVmOft2MqK6LITFb7CnYvQUM8SNeZFM GnPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=tqYt7x5l7ChS2b75CAGcZm7MBLEYVuTF7osXF52G8Po=; b=MJcn+XFLUDK4fjz/xIR2WoCAWS6P7L7tISdPAVgt9IOU7pIXs0NSyQXBLzPpgyKYaS DGFBQqkKx9ITHqiOHNwL+P6bZlqR8Aqt34aFubI30CywKKK/hxC384JsFKzyvjLkWpfn ZHNs2NG9CK67x8F3oXV/lyf50Hsm+bhujk1GP3emBxIvqQcqpSpg8DqRu9ZZVMqHJaiw LR7qcoWnoCFXl0EaI6ISOvg89p7ICll3URlrXi83Ugsz36Xz+AqKOaJ/jyFcclXm9Un4 1kpyISPKhfPNwbO0ZwlkerfTF8i9b/I0cG4UAco9WTTDvJbVGahKovz1efF6aYkw+h21 aAQA== X-Gm-Message-State: AOAM532aCZvlh1T+G/t/iG/+HrEY96zu1WXh1ZQ8wXLiEHzhGdmVvLB2 HktmokZrqtoqSDpQAEVQgNQ= X-Received: by 2002:aa7:9f0f:0:b029:19b:c68f:61cd with SMTP id g15-20020aa79f0f0000b029019bc68f61cdmr4745491pfr.45.1607566489817; Wed, 09 Dec 2020 18:14:49 -0800 (PST) Received: from [192.168.0.104] ([49.207.210.144]) by smtp.gmail.com with ESMTPSA id na6sm3319746pjb.12.2020.12.09.18.14.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Dec 2020 18:14:49 -0800 (PST) Subject: Re: [f2fs-dev] [PATCH] fs: f2fs: fix potential shift-out-of-bounds error in sanity_check_raw_super() To: Chao Yu , Jaegeuk Kim , Chao Yu Cc: syzbot+ca9a785f8ac472085994@syzkaller.appspotmail.com, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net References: <20201209181322.27932-1-anant.thazhemadam@gmail.com> <9e38608c-9fc3-1f94-d275-742facef3db3@huawei.com> <8d293b99-4414-1317-7426-79692bbaa715@gmail.com> <1215c353-3c3f-0a61-00a3-021f0c2f0032@huawei.com> From: Anant Thazhemadam Message-ID: <38c68ef8-4b9b-cfc1-d8ad-cfeb4c2de845@gmail.com> Date: Thu, 10 Dec 2020 07:44:45 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <1215c353-3c3f-0a61-00a3-021f0c2f0032@huawei.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/12/20 7:40 am, Chao Yu wrote: > On 2020/12/10 10:00, Anant Thazhemadam wrote: >> >> On 10/12/20 7:16 am, Chao Yu wrote: >>> Hi Anant, >>> >>> I've posted a patch a little earlier. :P >>> >>> https://lore.kernel.org/linux-f2fs-devel/20201209084936.31711-1-yuchao0@huawei.com/T/#u >>> >> Ah well, that's alright, especially considering that your patch looks better. >> Glad that bug has been fixed nonetheless. :) > > Anyway, thanks a lot for taking time to fix f2fs bug. :) > > I prefer to add your Signed-off-by into "f2fs: fix shift-out-of-bounds > in sanity_check_raw_super()" if you don't mind. > > Sure, I'd appreciate that. Thank you! :D Thanks, Anant