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=-10.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 CD9E9C433E6 for ; Mon, 1 Mar 2021 14:35:44 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 770D26146D for ; Mon, 1 Mar 2021 14:35:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 770D26146D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id ED51A8D0075; Mon, 1 Mar 2021 09:35:43 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E5DE98D0063; Mon, 1 Mar 2021 09:35:43 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D26778D0075; Mon, 1 Mar 2021 09:35:43 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0162.hostedemail.com [216.40.44.162]) by kanga.kvack.org (Postfix) with ESMTP id B845C8D0063 for ; Mon, 1 Mar 2021 09:35:43 -0500 (EST) Received: from smtpin06.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 7E53A6D71 for ; Mon, 1 Mar 2021 14:35:43 +0000 (UTC) X-FDA: 77871554166.06.4FE7909 Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) by imf10.hostedemail.com (Postfix) with ESMTP id 71A5840B8CF4 for ; Mon, 1 Mar 2021 14:35:28 +0000 (UTC) Received: by mail-io1-f45.google.com with SMTP id g27so16588949iox.2 for ; Mon, 01 Mar 2021 06:35:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=IuZcaz9M6z7fv3fUG8LG+twPtI8fl3qJP/EQXIzCZw4=; b=yQsjymsNwLT2CG2IWunNlaopYSRMClehdBGUknkNaNf5z03W1+ZFYJ4E7id34mwAw+ 2BFyiuYdqVl0ChtVdqmRT+m/aLOqwmXpAZ+yGi2IW3xAoQf16Ioz/5e/379O+TTPESwc StsatWEuJRkFvDyq+xOW5CXC4ehHuTQIs7Tip0kHjd8P14uUEB+j1Ti9jP6goTUrzIR/ XCtALelhW+s/HJAK8X9a6EabjCGXuC+106pfXXA2aKIrb54f3jYg3QGrslAHlIrEA3tN pQg4ywX3UPNUb79vVZ8+IEIeWe6X8hMylrmmLwol6i36dG866TD3aNtFTEir0ttoL7cE ebwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=IuZcaz9M6z7fv3fUG8LG+twPtI8fl3qJP/EQXIzCZw4=; b=WwmBqcYBBgZniQ5IKDJc4Ahkaz8vZga19tf1U3kYwxRvU/Hw5qlRNBfU2YOTIvjAhD txYPRue/SUFC157vwi4eGOsJRFa/YwBAw499wNNWC6sQrzIZ1TirzxVrTA3nAcgpmyYC Widb8Y0QGkY6tDtgnes2vraJdVM6UKFcradkT0RRLBKfI/5Tf0WUMCWTvRAIyROiH4B3 sB/J4HHWZp/UFDUlAYWqv5QOqzQUhtgSl9MEyG36DZ6fifpWipdHRXBeBHP5XRYMjsCA w/Al+JibyfX4joBahJZINW53vaC0hVWNh86M1w5NzIF0ZJwAMXQ6r/IkucB4a8P+0wDX nQ9w== X-Gm-Message-State: AOAM532S1Yu/+4QnP3+zRmkdwIkgdullbWMcnMzvBPN9iOqyawrHeajv lVLk7t185pezPPHWkX4NG5Cjkg== X-Google-Smtp-Source: ABdhPJxjIcTTq6ER1Ytq5m0JLPzBdfmh63xdfGoCmGyrsdQYyndJ2s4wlknmyKhBX5lxpE6JcmgPQQ== X-Received: by 2002:a5d:8493:: with SMTP id t19mr14390109iom.28.1614609332755; Mon, 01 Mar 2021 06:35:32 -0800 (PST) Received: from [192.168.1.30] ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id x3sm10437350iof.21.2021.03.01.06.35.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Mar 2021 06:35:32 -0800 (PST) Subject: Re: KASAN: null-ptr-deref Write in bdi_put To: syzbot , aik@ozlabs.ru, akpm@linux-foundation.org, hch@lst.de, linux-kernel@vger.kernel.org, linux-mm@kvack.org, mingo@kernel.org, mingo@redhat.com, peterz@infradead.org, rostedt@goodmis.org, syzkaller-bugs@googlegroups.com, will@kernel.org References: <00000000000030504905bc792423@google.com> From: Jens Axboe Message-ID: <86fb6e46-2796-3967-3578-5b80d70bef2f@kernel.dk> Date: Mon, 1 Mar 2021 07:35:30 -0700 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: <00000000000030504905bc792423@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 71A5840B8CF4 X-Stat-Signature: 6bwcn8gtt3dmwmyybg8sk5z7kwauz3ju Received-SPF: none (kernel.dk>: No applicable sender policy available) receiver=imf10; identity=mailfrom; envelope-from=""; helo=mail-io1-f45.google.com; client-ip=209.85.166.45 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1614609328-475856 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 3/1/21 5:56 AM, syzbot wrote: > syzbot suspects this issue was fixed by commit: > > commit 2d2f6f1b4799428d160c021dd652bc3e3593945e > Author: Christoph Hellwig > Date: Thu Jan 7 18:36:40 2021 +0000 > > block: pre-initialize struct block_device in bdev_alloc_inode > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1424a5b6d00000 > start commit: 71c061d2 Merge tag 'for-5.11-rc2-tag' of git://git.kernel... > git tree: upstream > kernel config: https://syzkaller.appspot.com/x/.config?x=33b7f56c5bf0f684 > dashboard link: https://syzkaller.appspot.com/bug?extid=aded2f2ab94d81727898 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=143f7fc0d00000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1089023f500000 > > If the result looks correct, please mark the issue as fixed by replying with: #syz fix: block: pre-initialize struct block_device in bdev_alloc_inode -- Jens Axboe