Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp800518rwb; Thu, 18 Aug 2022 12:27:21 -0700 (PDT) X-Google-Smtp-Source: AA6agR6Zhhg6e+cE1T+TPXKl5GCQo81p6Da1wGWz46ElWYphGkoPzJ//nINDBWyM5EDGwVhMri1G X-Received: by 2002:a17:907:929:b0:731:3bb6:d454 with SMTP id au9-20020a170907092900b007313bb6d454mr2718604ejc.96.1660850841479; Thu, 18 Aug 2022 12:27:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660850841; cv=none; d=google.com; s=arc-20160816; b=acbK5m7oNYYePIwOVxsTY5Ev6gI8CVvCxekccrkSQMiLqkNZ2M6xT1/ep1ZkK+0tAi 7e3rSvZzA2IrCNi2clR/2TV6qlMHT4B3z6krtCkAasMT+iV86hQogDJw9Hhfn5oRkR5Q IT84dw516/uYYg907Rga0gD3k7aU1QenrNSyWFRYufOzcKaNSTHvLEKcSasX7/o+tbZ1 G+fKL0L/HhhzK3SOhL2W0DKe79Mij/AuStiWQvvdNTmsIiieI52PXXVybYzLaAdSp3PU OfxCplaCoVom7rUH7jVVbSTL4+Jpck1cJN52lHZg/52D8GZxKdLA56PbhhY4Dton57mN cb3A== 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=QUXH+lX3oULeMPlpniIOe/Q0nv+D1dRLUrR/j75zlr0=; b=hiBAfEWgoLZTfpHUY0EIXOK6SBbXMwWJXFbQMAEodRQXA8oNylhKaJvMTjZ/hGYaHd ldMjtUfLS30+qdJ7OWzXzatGySG/eJUD7+iOpxaE5iV9UvH1qTIcs8BiGk8WZlh7Tysl hWHSNDWYYFDRjLFSb/0Q2jfE7KNqyUVIsEE2GBnuJwNtgf1YwVpfm4Xn9k2KflsxY4bG uBcOYHFCFgUZoBb9ABD4z3Pcl/GfblDYvL8gD/pu65XxsxpCPrJgNidgXAVRQPFZbE53 VpXd84Ye8oYYUhWAoKO4JpNsRdRwLlj/UivVMBno04TwPT13FkqO0u3m4c5pkETc1SnB KxzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-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 gq16-20020a170906e25000b00726efdeaf13si1573498ejb.164.2022.08.18.12.26.46; Thu, 18 Aug 2022 12:27:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-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 S1345495AbiHRTJM (ORCPT + 99 others); Thu, 18 Aug 2022 15:09:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232038AbiHRTJK (ORCPT ); Thu, 18 Aug 2022 15:09:10 -0400 Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA758C00CE for ; Thu, 18 Aug 2022 12:09:08 -0700 (PDT) Received: by mail-il1-f197.google.com with SMTP id x7-20020a056e021ca700b002ded2e6331aso1719777ill.20 for ; Thu, 18 Aug 2022 12:09:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc; bh=QUXH+lX3oULeMPlpniIOe/Q0nv+D1dRLUrR/j75zlr0=; b=NWxeigjkvl+Tz6p5cyUkud/fqwoD5pbAFsttSND6pTJgtdQOl0Wq6cvIqFvfPoeOgA oB87l48b1CSiPIJGUpGADaB8MFdmCa7/eHTqLAmhTKaln/mT0ssEt/UV1Jnk6JR0ATGv HTHVR5j7qOlIdxqklRNx7Wn5x46swGBPDKDapkNd+SUe8a6PnrLaJeXpXNYl4iVFJbr3 OfVk7j6eRJS91zvnVnqK9FLNmCHgAoce2iiyyaWcsD2hiCx+WxLsVGPVbOnHhg2MslDx n5m6YOfhyjCIhFdztW312yqJexDBVo2fM5Fo5VBtcrnz71rRkrDJEFjC2N6g/SDdSG2R d27Q== X-Gm-Message-State: ACgBeo0rohwT+0Dv9Tc4gQ07qmD3fD9tyOnxyy0y3IhFOuGqSlZ3E1bo M9RjR0g+M6dHEhr8mcR+eCJJKUGYAJCReyZ1qlU3uoaQfe3E MIME-Version: 1.0 X-Received: by 2002:a05:6e02:14ce:b0:2e5:3548:aaaf with SMTP id o14-20020a056e0214ce00b002e53548aaafmr1965344ilk.192.1660849748264; Thu, 18 Aug 2022 12:09:08 -0700 (PDT) Date: Thu, 18 Aug 2022 12:09:08 -0700 In-Reply-To: <20220818110031.89467-1-code@siddh.me> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000045503f05e688b7b0@google.com> Subject: Re: [syzbot] WARNING in iomap_iter From: syzbot To: code@siddh.me, david@fromorbit.com, 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, riteshh@linux.ibm.com, 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, URIBL_BLOCKED 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-ext4@vger.kernel.org Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: WARNING in iomap_iter ------------[ cut here ]------------ WARNING: CPU: 1 PID: 11 at fs/iomap/iter.c:33 iomap_iter_done fs/iomap/iter.c:33 [inline] WARNING: CPU: 1 PID: 11 at fs/iomap/iter.c:33 iomap_iter+0xd8c/0x1100 fs/iomap/iter.c:78 Modules linked in: CPU: 1 PID: 11 Comm: kworker/u4:1 Not tainted 6.0.0-rc1-syzkaller-00067-g573ae4f13f63-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Workqueue: loop3 loop_workfn RIP: 0010:iomap_iter_done fs/iomap/iter.c:33 [inline] RIP: 0010:iomap_iter+0xd8c/0x1100 fs/iomap/iter.c:78 Code: ff e8 28 60 87 ff 0f 0b e9 f1 f9 ff ff e8 1c 60 87 ff 0f 0b e9 86 f7 ff ff e8 10 60 87 ff 0f 0b e9 5e f7 ff ff e8 04 60 87 ff <0f> 0b e9 1a f7 ff ff e8 f8 5f 87 ff e8 73 b4 8a 07 31 ff 89 c5 89 RSP: 0018:ffffc90000107668 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffc90000107800 RCX: 0000000000000000 RDX: ffff888011a9bb00 RSI: ffffffff81f4ab4c RDI: 0000000000000006 RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000000 R10: d70e000000000000 R11: 0000000000000004 R12: 0000000000000000 R13: d70e000000000000 R14: ffffc90000107828 R15: ffffc90000107870 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fae015980a0 CR3: 000000007f2cd000 CR4: 0000000000350ee0 Call Trace: __iomap_dio_rw+0x6c6/0x1c20 fs/iomap/direct-io.c:601 iomap_dio_rw+0x3c/0xa0 fs/iomap/direct-io.c:690 ext4_dio_read_iter fs/ext4/file.c:79 [inline] ext4_file_read_iter+0x434/0x600 fs/ext4/file.c:130 call_read_iter include/linux/fs.h:2181 [inline] lo_rw_aio.isra.0+0xa54/0xc50 drivers/block/loop.c:454 do_req_filebacked drivers/block/loop.c:498 [inline] loop_handle_cmd drivers/block/loop.c:1859 [inline] loop_process_work+0x969/0x2050 drivers/block/loop.c:1894 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Tested on: commit: 573ae4f1 tee: add overflow check in register_shm_helpe.. git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master console output: https://syzkaller.appspot.com/x/log.txt?x=11c4af0d080000 kernel config: https://syzkaller.appspot.com/x/.config?x=d9d854f607a68b32 dashboard link: https://syzkaller.appspot.com/bug?extid=a8e049cd3abd342936b6 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 patch: https://syzkaller.appspot.com/x/patch.diff?x=13ba8e5b080000