BTRFS info (device loop0): enabling free space tree ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: fs/btrfs/extent-tree.c:3425 at __btrfs_free_extent.isra.0+0xc79/0x2bb0 fs/btrfs/extent-tree.c:3425, CPU#3: syz-executor.0/5961 Modules linked in: CPU: 3 UID: 0 PID: 5961 Comm: syz-executor.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_free_extent.isra.0+0xc7d/0x2bb0 fs/btrfs/extent-tree.c:3425 Code: 00 00 48 c7 c7 a0 b5 04 8c c6 05 37 87 8d 0c 01 e8 f8 2b b2 fd e9 55 95 fc fc e8 6e a4 d6 fd 48 8d 3d b7 0e ae 0c 8b 74 24 38 <67> 48 0f b9 3a bb 01 00 00 00 e9 3e 92 fc fc e8 4f a4 d6 fd 48 8b RSP: 0018:ffffc90004347140 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffffffffffffe4 RCX: ffffffff8431e79e RDX: ffff88802b880000 RSI: 00000000ffffffe4 RDI: ffffffff90dffab0 RBP: 0000000000624000 R08: 0000000000000005 R09: fffffffffffffffb R10: ffffffffffffffe4 R11: 0000000000000000 R12: ffff88803641e160 R13: ffff8880361a8bf0 R14: ffff888034a04000 R15: 00000000ffffffe4 FS: 00007f6cc0aad6c0(0000) GS:ffff8880d6683000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c9fb20c660 CR3: 000000002a26b000 CR4: 0000000000352ef0 Call Trace: run_delayed_data_ref fs/btrfs/extent-tree.c:1665 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1855 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2058 [inline] __btrfs_run_delayed_refs+0x910/0x3cd0 fs/btrfs/extent-tree.c:2133 btrfs_run_delayed_refs+0x1a0/0x3c0 fs/btrfs/extent-tree.c:2245 btrfs_commit_transaction+0x1f54/0x3800 fs/btrfs/transaction.c:2261 btrfs_sync_file+0xa4e/0xfc0 fs/btrfs/file.c:1822 vfs_fsync_range+0x9b/0x190 fs/sync.c:186 generic_write_sync include/linux/fs.h:2654 [inline] btrfs_do_write_iter+0x6ce/0x920 fs/btrfs/file.c:1473 iter_file_splice_write+0x830/0x10a0 fs/splice.c:736 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0x192/0x6c0 fs/splice.c:1159 splice_direct_to_actor+0x345/0xa30 fs/splice.c:1103 do_splice_direct_actor fs/splice.c:1202 [inline] do_splice_direct+0x174/0x240 fs/splice.c:1228 do_sendfile+0xadc/0xe20 fs/read_write.c:1372 __do_sys_sendfile64 fs/read_write.c:1433 [inline] __se_sys_sendfile64 fs/read_write.c:1419 [inline] __x64_sys_sendfile64+0x1d8/0x220 fs/read_write.c:1419 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6cbfc6e3b9 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 d0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6cc0aad078 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f6cbfdabf80 RCX: 00007f6cbfc6e3b9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f6cbfccf498 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000880000c R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f6cbfdabf80 R15: 00007ffe93b2ca08 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 48 c7 c7 a0 b5 04 8c mov $0xffffffff8c04b5a0,%rdi 9: c6 05 37 87 8d 0c 01 movb $0x1,0xc8d8737(%rip) # 0xc8d8747 10: e8 f8 2b b2 fd call 0xfdb22c0d 15: e9 55 95 fc fc jmp 0xfcfc956f 1a: e8 6e a4 d6 fd call 0xfdd6a48d 1f: 48 8d 3d b7 0e ae 0c lea 0xcae0eb7(%rip),%rdi # 0xcae0edd 26: 8b 74 24 38 mov 0x38(%rsp),%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: bb 01 00 00 00 mov $0x1,%ebx 34: e9 3e 92 fc fc jmp 0xfcfc9277 39: e8 4f a4 d6 fd call 0xfdd6a48d 3e: 48 rex.W 3f: 8b .byte 0x8b