------------[ 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#1: syz-executor.0/6159 Modules linked in: CPU: 1 UID: 0 PID: 6159 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 c1 03 8c c6 05 ba c7 93 0c 01 e8 08 94 b6 fd e9 64 47 00 fd e8 de be da fd 48 8d 3d 07 4f b4 0c 8b 74 24 38 <67> 48 0f b9 3a bb 01 00 00 00 e9 4d 44 00 fd e8 bf be da fd 48 8b RSP: 0018:ffffc900042c7138 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffffffffffffe4 RCX: ffffffff842e1cce RDX: ffff88803456c980 RSI: 00000000ffffffe4 RDI: ffffffff90e27030 RBP: 0000000000624000 R08: 0000000000000005 R09: fffffffffffffffb R10: ffffffffffffffe4 R11: 0000000000000000 R12: ffff88802b07ee70 R13: ffff888027127460 R14: ffff88803ed4c000 R15: 00000000ffffffe4 FS: 00007fb5c23fe6c0(0000) GS:ffff8880d643f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb5c23dcf90 CR3: 000000002419f000 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/0x3d20 fs/btrfs/extent-tree.c:2133 btrfs_run_delayed_refs+0x1a4/0x3c0 fs/btrfs/extent-tree.c:2245 btrfs_commit_transaction+0x1f4d/0x3860 fs/btrfs/transaction.c:2254 btrfs_sync_file+0xa2a/0x1010 fs/btrfs/file.c:1817 vfs_fsync_range+0x9b/0x190 fs/sync.c:186 generic_write_sync include/linux/fs.h:2640 [inline] btrfs_do_write_iter+0x6c8/0x930 fs/btrfs/file.c:1468 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+0x106/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb5c306e3b9 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:00007fb5c23fe078 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fb5c31abf80 RCX: 00007fb5c306e3b9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007fb5c30cf498 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000880000c R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fb5c31abf80 R15: 00007fff636f2de8 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 48 c7 c7 a0 c1 03 8c mov $0xffffffff8c03c1a0,%rdi 9: c6 05 ba c7 93 0c 01 movb $0x1,0xc93c7ba(%rip) # 0xc93c7ca 10: e8 08 94 b6 fd call 0xfdb6941d 15: e9 64 47 00 fd jmp 0xfd00477e 1a: e8 de be da fd call 0xfddabefd 1f: 48 8d 3d 07 4f b4 0c lea 0xcb44f07(%rip),%rdi # 0xcb44f2d 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 4d 44 00 fd jmp 0xfd004486 39: e8 bf be da fd call 0xfddabefd 3e: 48 rex.W 3f: 8b .byte 0x8b