------------[ cut here ]------------ WARNING: CPU: 2 PID: 5169 at fs/btrfs/transaction.c:144 btrfs_put_transaction fs/btrfs/transaction.c:144 [inline] WARNING: CPU: 2 PID: 5169 at fs/btrfs/transaction.c:144 btrfs_put_transaction+0x3a0/0x470 fs/btrfs/transaction.c:137 Modules linked in: CPU: 2 PID: 5169 Comm: syz-executor.2 Not tainted 6.2.0-rc7-syzkaller-00018-g0983f6bf2bfc #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:btrfs_put_transaction fs/btrfs/transaction.c:144 [inline] RIP: 0010:btrfs_put_transaction+0x3a0/0x470 fs/btrfs/transaction.c:137 Code: fc ff ff 48 89 df e8 9f ab 6b fe e9 73 fd ff ff e8 45 99 1d fe 0f 0b eb a1 e8 3c 99 1d fe 0f 0b e9 a2 fd ff ff e8 30 99 1d fe <0f> 0b e9 cd fd ff ff 48 89 df e8 11 ac 6b fe e9 01 ff ff ff 4c 89 RSP: 0018:ffffc90003cc7a08 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88801a5be028 RCX: 0000000000000000 RDX: ffff88801df48000 RSI: ffffffff83635ee0 RDI: ffff88801a5be330 RBP: ffff88801a5be000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88801a5be010 R13: dffffc0000000000 R14: ffff88806bb5cc10 R15: ffff88806bb5c000 FS: 0000000000000000(0000) GS:ffff88802c800000(0063) knlGS:0000000056862380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f737c0c4 CR3: 000000006a1e5000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_cleanup_transaction.isra.0+0x223/0x1310 fs/btrfs/disk-io.c:5342 btrfs_error_commit_super fs/btrfs/disk-io.c:4919 [inline] close_ctree+0x428/0xdcf fs/btrfs/disk-io.c:4764 generic_shutdown_super+0x158/0x410 fs/super.c:492 kill_anon_super+0x3a/0x60 fs/super.c:1086 btrfs_kill_super+0x3c/0x50 fs/btrfs/super.c:2132 deactivate_locked_super+0x98/0x160 fs/super.c:332 deactivate_super+0xb1/0xd0 fs/super.c:363 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1291 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 __do_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f09549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000ff83f53c EFLAGS: 00000292 ORIG_RAX: 0000000000000034 RAX: 0000000000000000 RBX: 00000000ff83f5e0 RCX: 000000000000000a RDX: 00000000f734d000 RSI: 0000000000000000 RDI: 00000000f72a2535 RBP: 00000000ff83f5e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 03 74 c0 01 add 0x1(%rax,%rax,8),%esi 4: 10 05 03 74 b8 01 adc %al,0x1b87403(%rip) # 0x1b8740d a: 10 06 adc %al,(%rsi) c: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 10: 10 07 adc %al,(%rdi) 12: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi 16: 10 08 adc %cl,(%rax) 18: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1c: 00 00 add %al,(%rax) 1e: 00 00 add %al,(%rax) 20: 00 51 52 add %dl,0x52(%rcx) 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 retq 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 39: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi