loop0: detected capacity change from 0 to 32768 BTRFS: device fsid 14d642db-7b15-43e4-81e6-4b8fac6a25f8 devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5324) BTRFS info (device loop0): first mount of filesystem 14d642db-7b15-43e4-81e6-4b8fac6a25f8 BTRFS info (device loop0): using blake2b (blake2b-256-lib) checksum algorithm BTRFS info (device loop0): setting nodatasum BTRFS info (device loop0): enabling ssd optimizations BTRFS info (device loop0): turning on async discard BTRFS info (device loop0): enabling free space tree BTRFS warning (device loop0): Skipping commit of aborted transaction. ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: fs/btrfs/transaction.c:2037 at cleanup_transaction fs/btrfs/transaction.c:2037 [inline], CPU#0: syz.0.0/5324 WARNING: fs/btrfs/transaction.c:2037 at btrfs_commit_transaction+0x323a/0x3c50 fs/btrfs/transaction.c:2630, CPU#0: syz.0.0/5324 Modules linked in: CPU: 0 UID: 0 PID: 5324 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:cleanup_transaction fs/btrfs/transaction.c:2037 [inline] RIP: 0010:btrfs_commit_transaction+0x3242/0x3c50 fs/btrfs/transaction.c:2630 Code: 34 c8 e3 fd eb 7d e8 dd eb c8 fd 84 c0 74 25 e8 24 c8 e3 fd eb 6d e8 1d c8 e3 fd 48 8d 3d d6 7f 17 0c 44 8b 6c 24 38 44 89 ee <67> 48 0f b9 3a e9 e7 f8 ff ff e8 9f 55 b8 07 89 c3 31 ff 89 c6 e8 RSP: 0018:ffffc900083af1c0 EFLAGS: 00010246 RAX: ffffffff83e0bed3 RBX: ffff888042380001 RCX: 0000000000100000 RDX: ffffc90020802000 RSI: 00000000ffffffe4 RDI: ffffffff8ff83eb0 RBP: ffffc900083af4f0 R08: ffff8880446124c0 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000002 R12: 1ffff11008e7cfa1 R13: 00000000ffffffe4 R14: 0000000000000000 R15: ffff888042380000 FS: 00007fe2eada76c0(0000) GS:ffff88808ccea000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe2e63f4ff8 CR3: 000000001a70f000 CR4: 0000000000352ef0 Call Trace: btrfs_sync_file+0xdee/0x1210 fs/btrfs/file.c:1819 generic_write_sync include/linux/fs.h:2618 [inline] btrfs_do_write_iter+0x69f/0x830 fs/btrfs/file.c:1470 iter_file_splice_write+0x99b/0x1100 fs/splice.c:738 do_splice_from fs/splice.c:938 [inline] direct_splice_actor+0x101/0x160 fs/splice.c:1161 splice_direct_to_actor+0x53a/0xc70 fs/splice.c:1105 do_splice_direct_actor fs/splice.c:1204 [inline] do_splice_direct+0x195/0x290 fs/splice.c:1230 do_sendfile+0x535/0x7d0 fs/read_write.c:1370 __do_sys_sendfile64 fs/read_write.c:1431 [inline] __se_sys_sendfile64+0x144/0x1a0 fs/read_write.c:1417 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe2e9f9aeb9 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:00007fe2eada7028 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fe2ea215fa0 RCX: 00007fe2e9f9aeb9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000006 RBP: 00007fe2ea008c1f R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe2ea216038 R14: 00007fe2ea215fa0 R15: 00007ffd58242438 ---------------- Code disassembly (best guess): 0: 34 c8 xor $0xc8,%al 2: e3 fd jrcxz 0x1 4: eb 7d jmp 0x83 6: e8 dd eb c8 fd call 0xfdc8ebe8 b: 84 c0 test %al,%al d: 74 25 je 0x34 f: e8 24 c8 e3 fd call 0xfde3c838 14: eb 6d jmp 0x83 16: e8 1d c8 e3 fd call 0xfde3c838 1b: 48 8d 3d d6 7f 17 0c lea 0xc177fd6(%rip),%rdi # 0xc177ff8 22: 44 8b 6c 24 38 mov 0x38(%rsp),%r13d 27: 44 89 ee mov %r13d,%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e9 e7 f8 ff ff jmp 0xfffff91b 34: e8 9f 55 b8 07 call 0x7b855d8 39: 89 c3 mov %eax,%ebx 3b: 31 ff xor %edi,%edi 3d: 89 c6 mov %eax,%esi 3f: e8 .byte 0xe8