Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp206940rwb; Mon, 26 Sep 2022 11:10:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Wb0EWPeeCQy7L3PptvQIpe9bqirUOxxC+y1RN6mihqUyhb/XfDxv1rqlkHL3yq+ZszP+X X-Received: by 2002:a05:6402:84c:b0:451:a99b:f74a with SMTP id b12-20020a056402084c00b00451a99bf74amr24303843edz.100.1664215837351; Mon, 26 Sep 2022 11:10:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664215837; cv=none; d=google.com; s=arc-20160816; b=oCLje3IMm4iD8tjqw03xU1tUXqnB7DSSwpCOv7W1qV5BgBkzTkyhVJbKbG5hVCgFy0 aQatGSORqQjTNWruDyYm+m8qbqgbTkIOA5QcXOpGZjK+yWFzA53K7WauIDlIeF3ejm+e n87k4rM3Xs+/oWuYA4CcV8pYxy8P6gDY7i1TGrFYnJMd4XY9sl1jqUtYpQUAwjAnIhOf q0SHnCXpX59VJEcd+KzoMhWNIbe5M9yUJV9z64krbvmVZqIi89j9K4/PsnSzqKGt7Gu4 yHLgALY+nsd1V9jdRQThBZPg7M/URvufXWG9JV6RrfAT+GpUpWmm0JzOE+xzyJenEH8L HZkg== 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=aSqeNf4LhEA8TUZMzAIvuoZm+XmnGf16kPWmmowhvVk=; b=zMgtxcEjuCOnicgu2m3XvVE8a9ggAxutbMPbhsv8xlJZOKUbrtZs3qR74F3Q8zEZDq uBeCEF1Z8/Yewux9EAq74p7YTQNVQjFPB5B4tRcp3m8m/N0I9b8+RxZBehT6rcxrIBgj 7OtEw08MyszA9/oZIud0Pboe98jJoDm2sayoj1hrfiyoBPropcy/lvZeJJ2jWg30jg83 G04Iu+6NoQ7E/vyanbM2ebUX2HNKAPws2dcuiB4QfWN04c+sgsArk44RIreYpOP+iQe9 0RnCRZ3bEHNF9IOAuwiQem7o2qiGwD5KvWsinjwuQXyHe3MWvlG8xz/DCixHiOPURP+H GBEQ== 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 bq4-20020a056402214400b0044876848617si14601675edb.287.2022.09.26.11.10.12; Mon, 26 Sep 2022 11:10:37 -0700 (PDT) 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 S231294AbiIZSFy (ORCPT + 99 others); Mon, 26 Sep 2022 14:05:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229765AbiIZSFP (ORCPT ); Mon, 26 Sep 2022 14:05:15 -0400 Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C3A3356FA for ; Mon, 26 Sep 2022 10:49:42 -0700 (PDT) Received: by mail-io1-f72.google.com with SMTP id u9-20020a5edd49000000b006a0f03934e9so4333886iop.4 for ; Mon, 26 Sep 2022 10:49:42 -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:date:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=aSqeNf4LhEA8TUZMzAIvuoZm+XmnGf16kPWmmowhvVk=; b=2om3SV+LtKbM4caRCJU9BmNJyvpZf3HojbwEi8J1LgpKydM6KkxJX+EIa5F3LNyu3K JEERwvM4f+iG3TrwcTFDbZ9BFWwkNHcn+OabhSECwEtZLt6v8pCYuIP2NZT+8E+nIZJx 1oqPVYInR41u4S+6TLq6o8NDzkVAGtdI1G0q5RqZa9UYp51aHz2WIVsLAhYIoh2Lq7YI Ni3odp+3rmIBkK9Q+06iZNF2mMEYRUy/ppDg/4F27VZXf5VbsMg+kUa2IFLERpAVB/CN RIfMQVCaZdXlkRwBElqeM7oRMfLDNFxjmQCzD5HrTNuy0vOHAyvCWMw8szmNj12FkiGD VGFA== X-Gm-Message-State: ACrzQf2UtXbmtgnKDMpnnZgtQW2i6ojS6rNGgPaPVg2QGRwhGi0l/M/M fqwblMDtSE3V1o5wjm74cZzrA9/oIZCggftBSbv3F62VxBWA MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1c82:b0:2f1:b5e0:2584 with SMTP id w2-20020a056e021c8200b002f1b5e02584mr10535323ill.302.1664214581620; Mon, 26 Sep 2022 10:49:41 -0700 (PDT) Date: Mon, 26 Sep 2022 10:49:41 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000f7b82505e9982685@google.com> Subject: [syzbot] kernel BUG in assertfail (2) From: syzbot To: clm@fb.com, dsterba@suse.com, josef@toxicpanda.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.6 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 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: c194837ebb57 Merge branch 'for-next/core', remote-tracking.. git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci console output: https://syzkaller.appspot.com/x/log.txt?x=17e158d4880000 kernel config: https://syzkaller.appspot.com/x/.config?x=15a770deac0c935a dashboard link: https://syzkaller.appspot.com/bug?extid=c4614eae20a166c25bf0 compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 userspace arch: arm64 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=164f9ca8880000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1174a66c880000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/8d8ae425e7fa/disk-c194837e.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/c540d501ebe7/vmlinux-c194837e.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+c4614eae20a166c25bf0@syzkaller.appspotmail.com BTRFS error (device loop0: state C): failed to load root csum assertion failed: !tmp, in fs/btrfs/disk-io.c:1103 ------------[ cut here ]------------ kernel BUG at fs/btrfs/ctree.h:3664! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 3035 Comm: syz-executor102 Not tainted 6.0.0-rc6-syzkaller-17742-gc194837ebb57 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : assertfail+0x28/0x2c fs/btrfs/ctree.h:3663 lr : assertfail+0x28/0x2c fs/btrfs/ctree.h:3663 sp : ffff800012723650 x29: ffff800012723650 x28: 0000000000000000 x27: 000000000000000a x26: 0000000000000000 x25: ffff0000c5f5c000 x24: ffff0000c5f59000 x23: 0000000000000000 x22: ffff0000c5f5c1f7 x21: ffff0000c9fa40a0 x20: ffff0000c5f5c000 x19: ffff0000c9fa4060 x18: 0000000000000111 x17: 0000000000000008 x16: ffff80000db49158 x15: ffff0000c94d8000 x14: 0000000000000000 x13: 00000000ffffffff x12: ffff0000c94d8000 x11: ff808000081c1630 x10: 0000000000000000 x9 : b905ec291b4e1600 x8 : b905ec291b4e1600 x7 : ffff800008195d30 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000100000000 x0 : 0000000000000032 Call trace: assertfail+0x28/0x2c fs/btrfs/ctree.h:3663 btrfs_global_root_delete+0x0/0x54 fs/btrfs/disk-io.c:1103 load_global_roots_objectid+0x20c/0x460 fs/btrfs/disk-io.c:2467 load_global_roots fs/btrfs/disk-io.c:2501 [inline] btrfs_read_roots+0x60/0x44c fs/btrfs/disk-io.c:2528 init_tree_roots+0x310/0x474 fs/btrfs/disk-io.c:2939 open_ctree+0x824/0xf84 fs/btrfs/disk-io.c:3574 btrfs_fill_super+0xc0/0x174 fs/btrfs/super.c:1456 btrfs_mount_root+0x4a4/0x558 fs/btrfs/super.c:1824 legacy_get_tree+0x30/0x74 fs/fs_context.c:610 vfs_get_tree+0x40/0x140 fs/super.c:1530 fc_mount fs/namespace.c:1043 [inline] vfs_kern_mount+0xe0/0x140 fs/namespace.c:1073 btrfs_mount+0x20c/0x5e8 fs/btrfs/super.c:1884 legacy_get_tree+0x30/0x74 fs/fs_context.c:610 vfs_get_tree+0x40/0x140 fs/super.c:1530 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3040 path_mount+0x358/0x914 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654 el0t_64_sync+0x18c/0x190 Code: f00063e2 911a0000 91147842 97fffbfd (d4210000) ---[ end trace 0000000000000000 ]--- --- 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