Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp1850029rdf; Sun, 5 Nov 2023 17:31:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IHPl3XStBg5UXAFqfxoczDCUd6qKXJ4Z0xf1LtYKdRiLs9SUd3wK5xoSVSKdDnhqq9s/xOS X-Received: by 2002:a05:6a20:6a05:b0:174:c134:81fa with SMTP id p5-20020a056a206a0500b00174c13481famr33283545pzk.17.1699234294696; Sun, 05 Nov 2023 17:31:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699234294; cv=none; d=google.com; s=arc-20160816; b=riyM0Nmhsr7jq8nLuBg2zXcwj4yxvCPJ+aFqakoERfnYbJW6RkRxdTY4b+b/8XKnmG FZDi8tBO6jBue0dxBIzYRMHpjOdkQxRu6cq8knVP4HHGtDGrniS2GF6dzxxxRdiqQvPD gmZ9lNKR+iMSNX+w+EJ8fTCrpv1m6x5b5tNObD8qCVmmv3vetuaW8GlM1s3ISUpFSAt1 CtL8cVrmQMadYIIkQ/gLABQCnEsRXSXwW7UuEuaE1D0uDSdxiSsjQRxU39Zd0TrnaDYh xJ75HfXuYNOTiipdno7YL5p3O0JHYExDXnQ57v1lGu3m4ti2neP629Ru86GIDOkz4/0y q+fg== 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=8ACzC2r7zSIZyvL7k4AzkVyO2tYbcPsg8sZREmNIxuw=; fh=UmHS1YeHMp12xTRagbn+gVMKO4GLRpzN+/whL82ZjlM=; b=k9pVF0oNLDdaTLVFdE5jAWs2rMkfCnIM7ehqTjdcv1ab2wSALCuWeqfuqfqKcOFW4b DUz30nZVJCX8M0TDIyG4fvyW+Ga8i+4puhiir87SXoS4bq4upwom8oiTC9cqP0glz8W5 hhTuJKDFApWPFM1xlREUQfJR9pgMeHyqVfpAkRFE4dWj4u+NhW6o9Qg2nZMXP23svqZm tusZ3s8HVnWs9tVJqS/r3H/cKSV1Oz6CJx5M07/Riph7wHPR+W4u+DV9cS/kYdaoe62/ YUMN4rj4MPr6yI7emabPfR0ru3kSMnqWdpMPyY6u4epoyABZ+nqFm/89vgZCmdsnCm+y pMLA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id lb7-20020a170902fa4700b001c0cbaf6970si6478675plb.501.2023.11.05.17.31.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 17:31:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 5ACEB80309EE; Sun, 5 Nov 2023 17:31:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229717AbjKFBbc (ORCPT + 99 others); Sun, 5 Nov 2023 20:31:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbjKFBbb (ORCPT ); Sun, 5 Nov 2023 20:31:31 -0500 Received: from mail-oo1-f79.google.com (mail-oo1-f79.google.com [209.85.161.79]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21F86E6 for ; Sun, 5 Nov 2023 17:31:28 -0800 (PST) Received: by mail-oo1-f79.google.com with SMTP id 006d021491bc7-581d766cc15so5604776eaf.3 for ; Sun, 05 Nov 2023 17:31:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699234287; x=1699839087; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=8ACzC2r7zSIZyvL7k4AzkVyO2tYbcPsg8sZREmNIxuw=; b=cml5qjZCo2kOIimbT/XllRjoblzG/+n1UMhk1/TtGIwF06MsiKnbZGoCtdYpotyneT yIlB2XiEHbRNrN0WqiqacC8Fq+kAaV+mLEwwYb7qc2/Gt8rg4LnsSSxTEC/RUpSp6+ZT lB5sHqnC4GTkHhKqejZQQ8I3rEg1DIg5Vx8ioFTTBUpEj4ZKdS2FaIajG5PgR9otXaQU D9SKcGQDFb46yE1GivCZhRVKAY04TSLcA04UPnqF1GA/IMOdRFAiZTulJiPN0jxnQAqG /7bwYLh8Jy4aS8KAhgx03QgieEkx9ujP/kyjrq0wsVhTu+zQ3UjYPE0Ng+d03zAUMD4h o8FQ== X-Gm-Message-State: AOJu0YxqyFlp2/x+C3ovc5g7+mxi6rs29XbON7BU3nlohJhGeHh/n0Dg PIdUtllM+JuTfKIBXXlccQkW0sQ1xasfl/9HzGT76eRJlk8z MIME-Version: 1.0 X-Received: by 2002:a4a:ea4a:0:b0:581:e2d5:a088 with SMTP id j10-20020a4aea4a000000b00581e2d5a088mr10292324ooe.0.1699234287356; Sun, 05 Nov 2023 17:31:27 -0800 (PST) Date: Sun, 05 Nov 2023 17:31:27 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000169326060971d07a@google.com> Subject: [syzbot] [btrfs?] kernel BUG in __extent_writepage_io From: syzbot To: clm@fb.com, dsterba@suse.com, josef@toxicpanda.com, linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@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_BLOCKED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 05 Nov 2023 17:31:33 -0800 (PST) Hello, syzbot found the following issue on: HEAD commit: 8bc9e6515183 Merge tag 'devicetree-for-6.7' of git://git.k.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10e087a0e80000 kernel config: https://syzkaller.appspot.com/x/.config?x=c3aadb4391bbacce dashboard link: https://syzkaller.appspot.com/bug?extid=06006fc4a90bff8e8f17 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/6c9b9f6781b1/disk-8bc9e651.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/44acae63a945/vmlinux-8bc9e651.xz kernel image: https://storage.googleapis.com/syzbot-assets/f0058df8ab69/bzImage-8bc9e651.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+06006fc4a90bff8e8f17@syzkaller.appspotmail.com assertion failed: block_start != EXTENT_MAP_HOLE, in fs/btrfs/extent_io.c:1351 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent_io.c:1351! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 6580 Comm: syz-executor.3 Not tainted 6.6.0-syzkaller-06824-g8bc9e6515183 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:__extent_writepage_io+0xcce/0xcf0 fs/btrfs/extent_io.c:1351 Code: 18 83 70 07 0f 0b e8 a1 0c f2 fd 48 c7 c7 c0 b6 8b 8b 48 c7 c6 c0 c3 8b 8b 48 c7 c2 60 b6 8b 8b b9 47 05 00 00 e8 f2 82 70 07 <0f> 0b e8 7b 0c f2 fd 48 8b 3c 24 e8 82 2a 01 00 48 89 c7 48 c7 c6 RSP: 0018:ffffc90003eef3a0 EFLAGS: 00010246 RAX: 000000000000004e RBX: 0000000000000000 RCX: f5edcbbfef5d6800 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: fffffffffffffffd R08: ffffffff81717a4c R09: 1ffff920007dde14 R10: dffffc0000000000 R11: fffff520007dde15 R12: 0000000000002000 R13: 0000000000002000 R14: ffffea0000db97e8 R15: ffff88801ce9b4e0 FS: 00007f2d500396c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9b8a757f28 CR3: 0000000062c62000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __extent_writepage fs/btrfs/extent_io.c:1441 [inline] extent_write_cache_pages fs/btrfs/extent_io.c:2103 [inline] extent_writepages+0x149b/0x2e50 fs/btrfs/extent_io.c:2225 do_writepages+0x3a6/0x670 mm/page-writeback.c:2553 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:390 __filemap_fdatawrite_range mm/filemap.c:423 [inline] __filemap_fdatawrite mm/filemap.c:429 [inline] filemap_flush+0x11e/0x170 mm/filemap.c:456 btrfs_release_file+0x117/0x130 fs/btrfs/file.c:1726 __fput+0x3cc/0xa10 fs/file_table.c:394 task_work_run+0x24a/0x300 kernel/task_work.c:180 get_signal+0x166e/0x1840 kernel/signal.c:2691 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:296 do_syscall_64+0x50/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f2d4f27cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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:00007f2d500390c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: fffffffffffffffc RBX: 00007f2d4f39c120 RCX: 00007f2d4f27cae9 RDX: 0000000000000000 RSI: 000000000014927e RDI: 0000000020000180 RBP: 00007f2d4f2c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f2d4f39c120 R15: 00007ffcbb50d888 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__extent_writepage_io+0xcce/0xcf0 fs/btrfs/extent_io.c:1351 Code: 18 83 70 07 0f 0b e8 a1 0c f2 fd 48 c7 c7 c0 b6 8b 8b 48 c7 c6 c0 c3 8b 8b 48 c7 c2 60 b6 8b 8b b9 47 05 00 00 e8 f2 82 70 07 <0f> 0b e8 7b 0c f2 fd 48 8b 3c 24 e8 82 2a 01 00 48 89 c7 48 c7 c6 RSP: 0018:ffffc90003eef3a0 EFLAGS: 00010246 RAX: 000000000000004e RBX: 0000000000000000 RCX: f5edcbbfef5d6800 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: fffffffffffffffd R08: ffffffff81717a4c R09: 1ffff920007dde14 R10: dffffc0000000000 R11: fffff520007dde15 R12: 0000000000002000 R13: 0000000000002000 R14: ffffea0000db97e8 R15: ffff88801ce9b4e0 FS: 00007f2d500396c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30c22000 CR3: 0000000062c62000 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. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup