Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3766876rdh; Fri, 29 Sep 2023 01:23:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGrEfnCKiSNl8EMP59+6ibMeC0yVZh3yar8UClehnwZfEB0XSgk4sZbiYuG1hbrXOOpsfLc X-Received: by 2002:a05:6e02:1a42:b0:34f:8039:a3b5 with SMTP id u2-20020a056e021a4200b0034f8039a3b5mr3937955ilv.26.1695975791278; Fri, 29 Sep 2023 01:23:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695975791; cv=none; d=google.com; s=arc-20160816; b=WvVGogc+nZalHw/hD8b6lUPtxtC41Y7rTq0XBRCXySMLnliV1swxaTPuwFu0tT4VVY 7E5OYP+/076fEpDTcScJSeuNjPi1efILGrAE8sVHC5YWNVkN98FHqRHjIem6A7t5Edxz yWOPFqkx9Rz7q8vWwu74jiGlWNKgwPPL3ZT5VHzr5M5Ev7bG2t65R/NjEPtSAzZ6109w PPpCYgiejeJc9MSkKMP07NJLHSQ+v2X2uL2wf3gfCoj8MODuut3gX8EI0QOnqM7jYESZ bN7BsXS00I4K6ONSrQKkS5lNXtIoVAZqioSqEWK2ChveMGerREal5ZwSjCAYUP1xxO/u jCag== 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=QncnMnDgdyL2pjjT0J+hO9DvAnqoe9HZBWwXyXogEv0=; fh=GrfJfrrHxdDXmt0pemnKezC8UCOyMC1sRDEr1mxgr5k=; b=OibDkGaMpZQAurpo2RLo7ApM8hmWanRYTlSr0Bc/KJvscBZ4Ykcu9lX/nXNyVGmefH GODIk6F+y/3PCHAxSmEst4RMMi2USr7LaCgzfyxve/YNi7YRJqjoByaylcHa5eUMBrqV ivmkZcWlij6zF2VXcrS3r4l0rAkomcNFoL7GP77XqvCnLdDHCeZ4+LLhHP5YRvmzK5sO DpivPOPPvjgUeXlrp8AjgjGSle9+9X4hsgBmgWS0BXo7fuBKT9AaLESiyacHGJTTKsel XXIrK3MMOnhSZMQoKLzmYkNhnUCZd6UnzlZF5jVcVQs8L+AdRpoVVext6CZA9Srx5H7G Prww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id l9-20020a655609000000b0057760853706si21163816pgs.578.2023.09.29.01.23.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 01:23:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 4981680FCE72; Fri, 29 Sep 2023 01:21:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232861AbjI2IVo (ORCPT + 99 others); Fri, 29 Sep 2023 04:21:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232800AbjI2IVn (ORCPT ); Fri, 29 Sep 2023 04:21:43 -0400 Received: from mail-oo1-f79.google.com (mail-oo1-f79.google.com [209.85.161.79]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07F541AA for ; Fri, 29 Sep 2023 01:21:42 -0700 (PDT) Received: by mail-oo1-f79.google.com with SMTP id 006d021491bc7-57b739e5637so23538865eaf.2 for ; Fri, 29 Sep 2023 01:21:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695975701; x=1696580501; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QncnMnDgdyL2pjjT0J+hO9DvAnqoe9HZBWwXyXogEv0=; b=nfdap8xitzQA5LwVc7nqAoNrn7uxEFRkax3z3/TflSuGyTVTdso6uh0GHWbhZ+wco4 rycxHzoeJmFZb+dgCEWabu+eWxgd+DQ3IE8nYg4PqHi1sQEPlx+A+9mef41Z3r3AA4Aa vtMWX1xQKGJ8d3d8Bv/wgNMTEeDtlMRUumCKnInC6ja84Qn43lzYvYl1etpzQx9/uJKS 2PQKOrabubZozhxAat9T7rAPb8kvpqFVkig2cACvumZQGLod1A7a5e90+5SOQlCmAFKS v3C6x13FONSfmTnDon4Paa8kx+4vZmlYF5eh/7U+HNmUBtN65D28vWYA/ff1CDuT02AA sxGg== X-Gm-Message-State: AOJu0YzR9VmVjv/hmFYVsO2ncNBeb+vQJF8NlRVRLUs8zazC045e5mj2 vSVdTZ2mqIxn0zoqJwgpFHkQw47d1QddR725ohdito7MUsXJ MIME-Version: 1.0 X-Received: by 2002:a4a:3356:0:b0:56c:86f2:ae14 with SMTP id q83-20020a4a3356000000b0056c86f2ae14mr943396ooq.0.1695975701380; Fri, 29 Sep 2023 01:21:41 -0700 (PDT) Date: Fri, 29 Sep 2023 01:21:41 -0700 In-Reply-To: <0000000000005697bd05fe4aea49@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000003a874b06067b1d4d@google.com> Subject: Re: [syzbot] [ext4?] WARNING in ext4_iomap_begin (2) From: syzbot To: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, tytso@mit.edu Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.4 required=5.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 29 Sep 2023 01:21:56 -0700 (PDT) syzbot has found a reproducer for the following issue on: HEAD commit: 9ed22ae6be81 Merge tag 'spi-fix-v6.6-rc3' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=126a50d6680000 kernel config: https://syzkaller.appspot.com/x/.config?x=12da82ece7bf46f9 dashboard link: https://syzkaller.appspot.com/bug?extid=307da6ca5cb0d01d581a compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15eb672e680000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16219bc6680000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/f059028ccc85/disk-9ed22ae6.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/3b01e6cd5f62/vmlinux-9ed22ae6.xz kernel image: https://storage.googleapis.com/syzbot-assets/32202918d16c/bzImage-9ed22ae6.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/38533c948c72/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+307da6ca5cb0d01d581a@syzkaller.appspotmail.com ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5195 at fs/ext4/inode.c:3338 ext4_iomap_begin+0xa9b/0xd30 Modules linked in: CPU: 0 PID: 5195 Comm: syz-executor392 Not tainted 6.6.0-rc3-syzkaller-00055-g9ed22ae6be81 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:ext4_iomap_begin+0xa9b/0xd30 fs/ext4/inode.c:3338 Code: d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 ce 3d 4c ff 49 be 00 00 00 00 00 fc ff df 48 8b 5c 24 48 e9 65 ff ff ff e8 b5 3d 4c ff <0f> 0b 41 bc de ff ff ff e9 8f f6 ff ff 89 d9 80 e1 07 38 c1 0f 8c RSP: 0018:ffffc9000405f580 EFLAGS: 00010293 RAX: ffffffff8241ccbb RBX: 0000000010000000 RCX: ffff88802234d940 RDX: 0000000000000000 RSI: 00000000000000bc RDI: 0000000000000000 RBP: ffffc9000405f6f0 R08: ffffffff8241c408 R09: 1ffff1100eff5b4a R10: dffffc0000000000 R11: ffffed100eff5b4b R12: 00000000000000bc R13: 1ffff1100eff5baf R14: 000000000000000b R15: 0000000000000016 FS: 00007f68b788c6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f68b788cd58 CR3: 000000006b9c0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: iomap_iter+0x677/0xec0 fs/iomap/iter.c:91 __iomap_dio_rw+0xe2e/0x2370 fs/iomap/direct-io.c:658 iomap_dio_rw+0x46/0xa0 fs/iomap/direct-io.c:748 ext4_dio_write_iter fs/ext4/file.c:605 [inline] ext4_file_write_iter+0x165f/0x1ad0 fs/ext4/file.c:715 call_write_iter include/linux/fs.h:1956 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x782/0xaf0 fs/read_write.c:584 ksys_pwrite64 fs/read_write.c:699 [inline] __do_sys_pwrite64 fs/read_write.c:709 [inline] __se_sys_pwrite64 fs/read_write.c:706 [inline] __x64_sys_pwrite64+0x1aa/0x230 fs/read_write.c:706 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f68bfbf0b59 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f68b788c218 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007f68b788c6c0 RCX: 00007f68bfbf0b59 RDX: 0000000000000001 RSI: 0000000020000100 RDI: 0000000000000005 RBP: 00007f68bfc796d8 R08: 00007ffd6a04dbc7 R09: 0000000000000000 R10: 000000000000b114 R11: 0000000000000246 R12: ffffffffffffffb0 R13: 00007f68bfc796d0 R14: 00007f68bfc45840 R15: 0030656c69662f2e --- If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing.