Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5055067pxb; Sun, 13 Feb 2022 06:18:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJx2qqWBzTWxgCe1h1agRConHCDRZExBI2v4HazvGBkZQak29YYIzP/LZkIbD3ejKbIZyozO X-Received: by 2002:a17:90a:e549:: with SMTP id ei9mr9778845pjb.190.1644761921540; Sun, 13 Feb 2022 06:18:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644761921; cv=none; d=google.com; s=arc-20160816; b=ztg7I+5M2AtUI5jdAFROC/HX5qLrFYePiyz3dIhYiGm1A1oww+EAToceVjFqATej8T vyT3Y+E/2bn6mdwO2vGukphSCeMyjyQcFTl/GQ5WRov/xtktEcI+cD5lKhHhEc7GjRiB KVq+mYOAF3raJWFOCgTT5PBJblUCt9dTsl6fWKrkO/N/mkcQw4744XJSSuATn5hJOcX7 g47SdyttjvVRWyHP3YFmscT4dx+Xqeg7/FTY4vLpq4Fcbx4nTNjkphEB0//uqi25CGoV d4qg9TBXw1I0fGu7oa8fZ2hWcl44mERJLV10MxagrSB8rdYugoY3jiy2Bic+XjmlzQ5R BvOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:in-reply-to:date :mime-version; bh=0q5NHgNKF/DDJR309GaSKrvp8mmMs6IJLxYkxs2KXOQ=; b=XJbt9OW20V9W6M1mJBm/t4lIJvTePPClYZJ+/orn/IwWSUiQ+aWnwKy8Ijby+FQskj VE4eeu7x9wv182mRCe17XLO5vB6mnJHOyzbG/ajEVO3KDAcbEew5HoQxYeQd7DEh+Vcc j3Q+mTDZa81ynsUpLApJ6eo1AUMidrC0lJAeKO08asDJ/iLoGEjiFzJmiG8tF1Ghz+Ti eDVfqtAEPfCm8nO6uiVzVmFjNYu2VPZngca7l2hvDs3Yay2T1fQjVAuHivdDzUFxI5SG FejkPfp/xpZAom0Mwgiqod5YzK7WKY9ozboWoripL7XfDat5h2f9MohFbb/UPVr+OapT 0DHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n6si7618237plh.104.2022.02.13.06.18.25; Sun, 13 Feb 2022 06:18:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231629AbiBLUlf (ORCPT + 99 others); Sat, 12 Feb 2022 15:41:35 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:55854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231600AbiBLUlc (ORCPT ); Sat, 12 Feb 2022 15:41:32 -0500 Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92ABE4AE1F for ; Sat, 12 Feb 2022 12:41:27 -0800 (PST) Received: by mail-il1-f199.google.com with SMTP id c1-20020a928e01000000b002bec519e98fso2988457ild.5 for ; Sat, 12 Feb 2022 12:41:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:date:in-reply-to:message-id:subject :from:to; bh=0q5NHgNKF/DDJR309GaSKrvp8mmMs6IJLxYkxs2KXOQ=; b=l7iDcNzHaskMVAl5b+nJjUbAVJwn7s3VZgFict91HdW0PO+UarDxYcFcmh5udZWtyU ByIhqcGjZK62GrLlUDUpigjH/Cmk8nl5h4a5gmK5aWpDG8oGuBLLsTXVqFvIMtMgnjSz vDiUm3ate8p9DFxBXnWEEun7ttL4tB8BER9r5Ny2JAIi/ycJaCSi5D48olE3GyBC4pq0 7Avj5raJBLvQtV6WtYp8e/FonXTeg1eV/ldJILv1681W8tNoFPyU+9AjxuGoCHdkdEPy n8ZkiowQABRV1IisKtCSMCIYcmM31ZHxeLvEe7kR1pWypjnB8K1+jHdX+86zTDqjLacp PaFw== X-Gm-Message-State: AOAM532B4ccAxaVipsA/lrfIcmgsMB6KFs59g3CGfS2l4sES4meMSClG zmM1a8vKxGpr5C44pcWzroPoVv2lY/vhIC3eQGpOAS8SJ5YY MIME-Version: 1.0 X-Received: by 2002:a05:6638:d0c:: with SMTP id q12mr4162402jaj.310.1644698486828; Sat, 12 Feb 2022 12:41:26 -0800 (PST) Date: Sat, 12 Feb 2022 12:41:26 -0800 In-Reply-To: <000000000000f2075605d04f9964@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000011f55805d7d8352c@google.com> Subject: Re: [syzbot] WARNING in iomap_iter From: syzbot To: djwong@kernel.org, fgheet255t@gmail.com, hch@infradead.org, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org syzbot has found a reproducer for the following issue on: HEAD commit: 83e396641110 Merge tag 'soc-fixes-5.17-1' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11fe01a4700000 kernel config: https://syzkaller.appspot.com/x/.config?x=88e0a6a3dbf057cf dashboard link: https://syzkaller.appspot.com/bug?extid=a8e049cd3abd342936b6 compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14f8cad2700000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=132c16ba700000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+a8e049cd3abd342936b6@syzkaller.appspotmail.com ------------[ cut here ]------------ WARNING: CPU: 1 PID: 10 at fs/iomap/iter.c:33 iomap_iter_done fs/iomap/iter.c:33 [inline] WARNING: CPU: 1 PID: 10 at fs/iomap/iter.c:33 iomap_iter+0x7ca/0x890 fs/iomap/iter.c:78 Modules linked in: CPU: 1 PID: 10 Comm: kworker/u4:1 Not tainted 5.17.0-rc3-syzkaller-00247-g83e396641110 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: loop0 loop_rootcg_workfn RIP: 0010:iomap_iter_done fs/iomap/iter.c:33 [inline] RIP: 0010:iomap_iter+0x7ca/0x890 fs/iomap/iter.c:78 Code: e8 3b 81 83 ff eb 0c e8 34 81 83 ff eb 05 e8 2d 81 83 ff 44 89 e8 48 83 c4 40 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 16 81 83 ff <0f> 0b e9 9e fe ff ff e8 0a 81 83 ff 0f 0b e9 d0 fe ff ff e8 fe 80 RSP: 0018:ffffc90000cf73c8 EFLAGS: 00010293 RAX: ffffffff82022d4a RBX: ffffffff80000000 RCX: ffff888011fe9d00 RDX: 0000000000000000 RSI: ffffffff80000000 RDI: 00000fff80000000 RBP: 00000fff80000000 R08: ffffffff82022be1 R09: ffffed100fd4dc19 R10: ffffed100fd4dc19 R11: 0000000000000000 R12: ffffc90000cf75c8 R13: 1ffff9200019eebe R14: 1ffff9200019eeb9 R15: ffffc90000cf75f0 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbf80df2b88 CR3: 000000007e8f6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __iomap_dio_rw+0xa8e/0x1e00 fs/iomap/direct-io.c:589 iomap_dio_rw+0x38/0x80 fs/iomap/direct-io.c:680 ext4_dio_read_iter fs/ext4/file.c:77 [inline] ext4_file_read_iter+0x52f/0x6c0 fs/ext4/file.c:128 lo_rw_aio+0xc75/0x1060 loop_handle_cmd drivers/block/loop.c:1846 [inline] loop_process_work+0x6a4/0x22b0 drivers/block/loop.c:1886 process_one_work+0x850/0x1130 kernel/workqueue.c:2307 worker_thread+0xab1/0x1300 kernel/workqueue.c:2454 kthread+0x2a3/0x2d0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30