BTRFS: device fsid 395ef67a-297e-477c-816d-cd80a5b93e5d devid 1 transid 8 /dev/loop0 scanned by syz-executor186 (3495) BTRFS info (device loop0): using sha256 (sha256-avx2) checksum algorithm BTRFS info (device loop0): using free space tree BTRFS info (device loop0): has skinny extents BTRFS info (device loop0): enabling ssd optimizations ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3495 at fs/read_write.c:525 __kernel_write+0x8cc/0xa60 Modules linked in: CPU: 0 PID: 3495 Comm: syz-executor186 Not tainted 5.15.114-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:__kernel_write+0x8cc/0xa60 fs/read_write.c:525 Code: 25 28 00 00 00 48 3b 84 24 40 01 00 00 0f 85 a4 01 00 00 4c 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 c4 cd ab ff <0f> 0b 49 c7 c6 f7 ff ff ff eb 9d e8 b4 cd ab ff eb 05 e8 ad cd ab RSP: 0018:ffffc90002d2f7a0 EFLAGS: 00010293 RAX: ffffffff81d42b8c RBX: 00000000000a801d RCX: ffff88801bebbb80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90002d2f930 R08: ffffffff81d42400 R09: ffffc90002d2f890 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920005a5f00 R13: dffffc0000000000 R14: ffff8880761b9984 R15: 0000000000000011 FS: 0000555555697300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd4a5e4e000 CR3: 0000000071cc6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kernel_write+0xcd/0x200 fs/read_write.c:568 write_buf fs/btrfs/send.c:565 [inline] send_header fs/btrfs/send.c:684 [inline] send_subvol+0x188/0x4200 fs/btrfs/send.c:7385 btrfs_ioctl_send+0x193a/0x1d60 fs/btrfs/send.c:7711 _btrfs_ioctl_send+0x2fb/0x430 fs/btrfs/ioctl.c:4887 btrfs_ioctl+0x595/0xb10 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fd4ad29b819 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 00 00 90 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe6f428a88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd4ad29b819 RDX: 0000000020000140 RSI: 0000000040489426 RDI: 0000000000000004 RBP: 00007fd4ad25b0e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd4ad25b170 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000