------------[ cut here ]------------ WARNING: CPU: 1 PID: 7667 at fs/read_write.c:525 __kernel_write+0x734/0x8b0 Modules linked in: CPU: 1 PID: 7667 Comm: syz-executor.0 Not tainted 5.15.135-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __kernel_write+0x734/0x8b0 lr : __kernel_write+0x730/0x8b0 fs/read_write.c:525 sp : ffff80001e3c74e0 x29: ffff80001e3c7650 x28: ffff700003c78ea8 x27: ffff0000cf6670e8 x26: 0000000000000011 x25: dfff800000000000 x24: 1fffe0001b4692e0 x23: ffff80001e3c7560 x22: fffffffffffffff7 x21: ffff0000da349704 x20: ffff80001e3c7540 x19: ffff0000da349680 x18: ffff80001e3c7520 x17: ffff8000089bfe5c x16: ffff800011968004 x15: 0000000000040cfd x14: 1ffff0000292006a x13: ffffffffffffffff x12: 0000000000040000 x11: 0000000000003b05 x10: ffff80001de7d000 x9 : ffff800008972928 x8 : 0000000000003b06 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000020 x2 : 0000000000000008 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: __kernel_write+0x734/0x8b0 kernel_write+0xe0/0x1ec fs/read_write.c:568 write_buf fs/btrfs/send.c:565 [inline] send_header fs/btrfs/send.c:684 [inline] send_subvol+0x164/0x37cc fs/btrfs/send.c:7385 btrfs_ioctl_send+0x15b0/0x1a50 fs/btrfs/send.c:7711 _btrfs_ioctl_send+0x340/0x498 fs/btrfs/ioctl.c:4893 btrfs_ioctl+0x5e0/0xa5c vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 154 hardirqs last enabled at (153): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (153): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (154): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (124): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (122): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 9e7c9751e2525318 ]---