Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5722166pxb; Mon, 14 Feb 2022 06:12:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwRj8RPPtx/FHuylSNrGiu2gb/NLknatAuGh0UbifiLeC9rCNKCnEtMGg3tOLQ3MoYPci1 X-Received: by 2002:a05:6402:2751:: with SMTP id z17mr15387595edd.54.1644847938461; Mon, 14 Feb 2022 06:12:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644847938; cv=none; d=google.com; s=arc-20160816; b=TGdaE0SIYgLzrIpjGqOpwkRdqwA2DeXCmnQzdWCYkTrPsd9JEKOlUB2PrZFmyot3WP M4lPEFdB/fcbGkPe9v97lBYO/vwAtn5uGQG/GrB9A0TiO2QrfaPO2AzQCemVaR+TqRw/ 8Kt+t933t/gVstBb/xg//nxhwOg+xRxeAA767zV4HTxSpWkZJKpjXk2nxy/zk0XbntQc YWsX2tNupKMS2n7XmoTkE03anagSgszxTEEJ4CnitVrfdOCukZwMiYjW4SeMKo4onQbD uj7FW8oac4CqHBbumoGv29mlSHTGy4cikMisZhi90qC/9LYVeTbxm0NorENeoSyBf9sE q30Q== 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:date:mime-version; bh=JjFWsPUuzBb1VJ9NTYslCq1ep8IWkPz4XiBKHNpnLHM=; b=AhvbftQCa+pocRBNEv569I48LmMSsZEpbDgdmrBGoTQvl0BCtYjbReodrPrY8qNULQ glUexs9olNsHCSlWY8EEjPdIUXzumkJsWCTyZ7BAisQWG7PlPbeUhuQQYmeOSuKv8oSl WEnSNM8r+Q29/YyLYkcSUp3KR6VEZj+ssEmNk2rqbyRBYxgoW4LpYrr9lIiSrBf7x7hK 2sO8/xgdJfqdQQ5D7WpKOPkdH6sE6g5Yat95f6ZBKZDTkVGAU7fQVVQkg6W3cqa7WvzY O7ARcAE5rRBZwKgGNkB44+9e7J3OeINSNlyI/VLnHa5L9THMxkEAaG+s4hHJiQHvJ9jI Xc/w== 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 g12si4537133edy.112.2022.02.14.06.11.53; Mon, 14 Feb 2022 06:12:18 -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 S239177AbiBNB6i (ORCPT + 99 others); Sun, 13 Feb 2022 20:58:38 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:60374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239285AbiBNB6b (ORCPT ); Sun, 13 Feb 2022 20:58:31 -0500 Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8509F575D1 for ; Sun, 13 Feb 2022 17:58:19 -0800 (PST) Received: by mail-io1-f72.google.com with SMTP id b15-20020a056602330f00b006109348c3daso9631337ioz.3 for ; Sun, 13 Feb 2022 17:58:19 -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:message-id:subject:from:to; bh=JjFWsPUuzBb1VJ9NTYslCq1ep8IWkPz4XiBKHNpnLHM=; b=46dG6g0KnqPG2Gu8864yawucP4bED/PnAwbhdjmm/hE067Zr90tYlCIeNXcx6UuVGg LC3YWYPu4rdGajobYBaTiltrDo88PZrORMTNAPCQ7l32X0PYf7AjHFjydwH0FBVuwT0l 1+huI5pD0vhaZ/KYcnpC2rSTlE2r1iO30dv3xdnS+nwkieV7cgysZ27AYi7cn3WAV6U1 r85vo561iXzUp9c4vuFx23nPf79P7zPSxtO7W5/DNF7GAgqcrzlVb74HydUb5GxqGY+0 LpreG2AFavbO/Chb6/Ikfc8KNIkOFMb9MULfhLyWrWKSCsZz8nme1ge5654W7gzU3s6K FbFw== X-Gm-Message-State: AOAM53306WGFKXJboRTk0GUY5F0zOeRaaLF65PtdInFLA72/7z85A309 CmZulL761DfDS2sVSmUO9t7AjQLNtRjP17bCH9j9hfWfwIW7 MIME-Version: 1.0 X-Received: by 2002:a05:6638:1409:: with SMTP id k9mr7138106jad.54.1644803898488; Sun, 13 Feb 2022 17:58:18 -0800 (PST) Date: Sun, 13 Feb 2022 17:58:18 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000183d9e05d7f0c0ee@google.com> Subject: [syzbot] kernel BUG in ext4_ind_remove_space From: syzbot To: adilger.kernel@dilger.ca, linux-ext4@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=-1.7 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, 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 Hello, syzbot found the following issue on: HEAD commit: ef6b35306dd8 Add linux-next specific files for 20220204 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1602d71c700000 kernel config: https://syzkaller.appspot.com/x/.config?x=e0431e0b00810b4f dashboard link: https://syzkaller.appspot.com/bug?extid=fcc629d1a1ae8d3fe8a5 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11d31674700000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+fcc629d1a1ae8d3fe8a5@syzkaller.appspotmail.com EXT4-fs warning (device sda1): ext4_block_to_path:105: block 1074791436 > max in inode 1187 ------------[ cut here ]------------ kernel BUG at fs/ext4/indirect.c:1244! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3853 Comm: syz-executor.0 Not tainted 5.17.0-rc2-next-20220204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ext4_ind_remove_space+0xfde/0x1400 fs/ext4/indirect.c:1244 Code: 00 0f 85 36 03 00 00 48 8b 0b 4c 89 fe 44 8b 4c 24 20 48 8b 7c 24 10 48 83 c1 04 e8 6c bb ff ff e9 02 f6 ff ff e8 12 c3 5f ff <0f> 0b 4c 8b 7c 24 50 e9 8e f9 ff ff e8 01 c3 5f ff 48 8b 7c 24 10 RSP: 0018:ffffc90003647ab8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88807acdba80 RSI: ffffffff8218e5de RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff8218d85a R11: 0000000000000000 R12: 0000000000001000 R13: ffffc90003647b68 R14: ffffc90003647b88 R15: ffff88806ccc2a80 FS: 00007f2b2de3d700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2961b6f090 CR3: 000000006d02e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_punch_hole+0xf3e/0x1110 fs/ext4/inode.c:4044 ext4_fallocate+0x1194/0x3ed0 fs/ext4/extents.c:4694 vfs_fallocate+0x48d/0xe10 fs/open.c:310 ksys_fallocate fs/open.c:333 [inline] __do_sys_fallocate fs/open.c:341 [inline] __se_sys_fallocate fs/open.c:339 [inline] __x64_sys_fallocate+0xcf/0x140 fs/open.c:339 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f2b2e6c8059 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2b2de3d168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f2b2e7daf60 RCX: 00007f2b2e6c8059 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000005 RBP: 00007f2b2e72208d R08: 0000000000000000 R09: 0000000000000000 R10: 00000ffeffeff000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcd330bbaf R14: 00007f2b2de3d300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_ind_remove_space+0xfde/0x1400 fs/ext4/indirect.c:1244 Code: 00 0f 85 36 03 00 00 48 8b 0b 4c 89 fe 44 8b 4c 24 20 48 8b 7c 24 10 48 83 c1 04 e8 6c bb ff ff e9 02 f6 ff ff e8 12 c3 5f ff <0f> 0b 4c 8b 7c 24 50 e9 8e f9 ff ff e8 01 c3 5f ff 48 8b 7c 24 10 RSP: 0018:ffffc90003647ab8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88807acdba80 RSI: ffffffff8218e5de RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff8218d85a R11: 0000000000000000 R12: 0000000000001000 R13: ffffc90003647b68 R14: ffffc90003647b88 R15: ffff88806ccc2a80 FS: 00007f2b2de3d700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020200000 CR3: 000000006d02e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches