loop0: detected capacity change from 0 to 40427 f2fs: Unknown parameter 'nouser_xattra' loop0: detected capacity change from 0 to 32768 BTRFS: device fsid 395ef67a-297e-477c-816d-cd80a5b93e5d devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5327) BTRFS info (device loop0): first mount of filesystem 395ef67a-297e-477c-816d-cd80a5b93e5d BTRFS info (device loop0): using sha256 checksum algorithm BTRFS info (device loop0): enabling ssd optimizations BTRFS info (device loop0): turning on async discard BTRFS info (device loop0): enabling free space tree BTRFS info (device loop0): setting incompat feature flag for SIMPLE_QUOTA (0x10000) BTRFS warning (device loop0): to be deleted qgroup 0/5 has non-zero numbers, data 4096 meta prealloc 0 meta pertrans 40960 BTRFS error (device loop0): failed to run delayed ref for logical 5378048 num_bytes 4096 type 178 action 1 ref_mod 1: -2 ------------[ cut here ]------------ BTRFS: Transaction aborted (error -2) WARNING: fs/btrfs/extent-tree.c:2247 at btrfs_run_delayed_refs+0x30b/0x3b0 fs/btrfs/extent-tree.c:2247, CPU#0: syz.0.0/5327 Modules linked in: CPU: 0 UID: 0 PID: 5327 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:btrfs_run_delayed_refs+0x30e/0x3b0 fs/btrfs/extent-tree.c:2247 Code: 85 e4 75 07 e8 f3 67 dd fd eb 7a e8 ec 7a c2 fd 84 c0 74 20 e8 e3 67 dd fd eb 6a e8 dc 67 dd fd 48 8d 3d c5 8d 51 0c 44 89 fe <67> 48 0f b9 3a e9 0b ff ff ff e8 a3 6e c1 07 41 89 c4 31 ff 89 c6 RSP: 0018:ffffc9000f7d7998 EFLAGS: 00010287 RAX: ffffffff83e84bd4 RBX: ffff888047a3bbe8 RCX: 0000000000100000 RDX: ffffc9000ef8a000 RSI: 00000000fffffffe RDI: ffffffff9039d9a0 RBP: 0000000000000000 R08: ffff888000cea500 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000002 R12: ffff888042f8c001 R13: ffff888012211000 R14: dffffc0000000000 R15: 00000000fffffffe FS: 00007f919111d6c0(0000) GS:ffff88808c888000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000036298000 CR4: 0000000000352ef0 Call Trace: btrfs_commit_transaction+0x29a/0x30e0 fs/btrfs/transaction.c:2262 sync_filesystem+0x1cf/0x230 fs/sync.c:66 generic_shutdown_super+0x77/0x2d0 fs/super.c:625 kill_anon_super+0x3b/0x70 fs/super.c:1292 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2127 deactivate_locked_super+0xbc/0x130 fs/super.c:476 cleanup_mnt+0x437/0x4d0 fs/namespace.c:1312 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:67 [inline] exit_to_user_mode_loop+0xed/0x480 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:238 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x33e/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f919019cdd9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f919111cfe8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f9190415fa0 RCX: 00007f919019cdd9 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f9190232d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9190416038 R14: 00007f9190415fa0 R15: 00007ffc783fa048 ---------------- Code disassembly (best guess): 0: 85 e4 test %esp,%esp 2: 75 07 jne 0xb 4: e8 f3 67 dd fd call 0xfddd67fc 9: eb 7a jmp 0x85 b: e8 ec 7a c2 fd call 0xfdc27afc 10: 84 c0 test %al,%al 12: 74 20 je 0x34 14: e8 e3 67 dd fd call 0xfddd67fc 19: eb 6a jmp 0x85 1b: e8 dc 67 dd fd call 0xfddd67fc 20: 48 8d 3d c5 8d 51 0c lea 0xc518dc5(%rip),%rdi # 0xc518dec 27: 44 89 fe mov %r15d,%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e9 0b ff ff ff jmp 0xffffff3f 34: e8 a3 6e c1 07 call 0x7c16edc 39: 41 89 c4 mov %eax,%r12d 3c: 31 ff xor %edi,%edi 3e: 89 c6 mov %eax,%esi