loop0: detected capacity change from 0 to 32768 BTRFS: device fsid a6a605fc-d5f1-4e66-8595-3726e2b761d6 devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5315) BTRFS info (device loop0 state S): first mount of filesystem a6a605fc-d5f1-4e66-8595-3726e2b761d6 BTRFS info (device loop0 state S): using blake2b checksum algorithm BTRFS warning (device loop0 state ES): devid 248 uuid a3373a75-1192-444c-9807-48156503709a is missing BTRFS warning (device loop0 state ES): couldn't read tree root BTRFS warning (device loop0 state ES): try to load backup roots slot 1 BTRFS warning (device loop0 state ES): couldn't read tree root BTRFS warning (device loop0 state ES): try to load backup roots slot 2 BTRFS warning (device loop0 state ES): couldn't read tree root BTRFS warning (device loop0 state ES): try to load backup roots slot 3 BTRFS error (device loop0 state ECS): failed to load root free space BTRFS error (device loop0 state ECS): devid 248 path is registered but not found in chunk tree BTRFS error (device loop0 state ECS): remove the above devices or use 'btrfs device scan --forget ' to unregister them before mount BTRFS error (device loop0 state ECS): open_ctree failed: -EUCLEAN loop0: detected capacity change from 0 to 32768 ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= (syz.0.0,5315,0):ocfs2_read_locked_inode:648 ERROR: bug expression: !!(fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) != !!(args->fi_flags & OCFS2_FI_FLAG_SYSFILE) (syz.0.0,5315,0):ocfs2_read_locked_inode:648 ERROR: Inode 66: system file state is ambiguous ------------[ cut here ]------------ kernel BUG at fs/ocfs2/inode.c:648! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5315 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:645 [inline] RIP: 0010:ocfs2_iget+0x1aa4/0x1b30 fs/ocfs2/inode.c:191 Code: 00 4c 8b 84 24 80 01 00 00 4c 89 f7 48 c7 c6 70 bd 6e 8e ba 88 02 00 00 48 c7 c1 60 b2 55 8c e8 12 9d 16 00 41 c6 45 24 f8 90 <0f> 0b e8 45 bb dc fd 90 0f 0b e8 3d bb dc fd 48 c7 c7 00 b4 db 8e RSP: 0018:ffffc9000e23edc0 EFLAGS: 00010246 RAX: a6e2d4f11c1a0200 RBX: ffffc9000e23eee0 RCX: a6e2d4f11c1a0200 RDX: ffffc9000eb02000 RSI: 000000000000883d RDI: 000000000000883e RBP: ffffc9000e23f010 R08: ffffc9000e23e9e7 R09: 1ffff92001c47d3c R10: dffffc0000000000 R11: fffff52001c47d3d R12: ffff8880533ac42c R13: fffff52001c47dbc R14: ffffc9000e23ef00 R15: 1000000000000000 FS: 00007fd748d7f6c0(0000) GS:ffff88808c30a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff48021a5c CR3: 0000000042d0e000 CR4: 0000000000352ef0 Call Trace: ocfs2_init_global_system_inodes+0x16d/0x6e0 fs/ocfs2/super.c:449 ocfs2_initialize_super fs/ocfs2/super.c:2192 [inline] ocfs2_fill_super+0x456e/0x6840 fs/ocfs2/super.c:993 get_tree_bdev_flags+0x430/0x4f0 fs/super.c:1887 vfs_get_tree+0x92/0x2a0 fs/super.c:1947 fc_mount fs/namespace.c:1198 [inline] do_new_mount_fc fs/namespace.c:3772 [inline] do_new_mount+0x319/0xdc0 fs/namespace.c:3848 do_mount fs/namespace.c:4181 [inline] __do_sys_mount fs/namespace.c:4397 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4374 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd747f9f34a Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd748d7ee18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd748d7eea0 RCX: 00007fd747f9f34a RDX: 0000200000004440 RSI: 0000200000000040 RDI: 00007fd748d7ee60 RBP: 0000200000004440 R08: 00007fd748d7eea0 R09: 00000000000008c0 R10: 00000000000008c0 R11: 0000000000000246 R12: 0000200000000040 R13: 00007fd748d7ee60 R14: 0000000000004441 R15: 0000200000000600 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:645 [inline] RIP: 0010:ocfs2_iget+0x1aa4/0x1b30 fs/ocfs2/inode.c:191 Code: 00 4c 8b 84 24 80 01 00 00 4c 89 f7 48 c7 c6 70 bd 6e 8e ba 88 02 00 00 48 c7 c1 60 b2 55 8c e8 12 9d 16 00 41 c6 45 24 f8 90 <0f> 0b e8 45 bb dc fd 90 0f 0b e8 3d bb dc fd 48 c7 c7 00 b4 db 8e RSP: 0018:ffffc9000e23edc0 EFLAGS: 00010246 RAX: a6e2d4f11c1a0200 RBX: ffffc9000e23eee0 RCX: a6e2d4f11c1a0200 RDX: ffffc9000eb02000 RSI: 000000000000883d RDI: 000000000000883e RBP: ffffc9000e23f010 R08: ffffc9000e23e9e7 R09: 1ffff92001c47d3c R10: dffffc0000000000 R11: fffff52001c47d3d R12: ffff8880533ac42c R13: fffff52001c47dbc R14: ffffc9000e23ef00 R15: 1000000000000000 FS: 00007fd748d7f6c0(0000) GS:ffff88808c30a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff48021a5c CR3: 0000000042d0e000 CR4: 0000000000352ef0