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:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent_io.c:821! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 5304 Comm: syz-executor.0 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __clear_extent_bit+0xc2c/0xcc0 fs/btrfs/extent_io.c:821 lr : __clear_extent_bit+0xc2c/0xcc0 fs/btrfs/extent_io.c:821 sp : ffff800021746c00 x29: ffff800021746cf0 x28: 1fffe0001a5b9a64 x27: dfff800000000000 x26: ffff0000d16351c0 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000001fff x22: 0000000000000fff x21: ffff0000d2dcd328 x20: ffff0000d2dcd320 x19: ffff0000e50dd910 x18: 0000000000000002 x17: 0000000000000000 x16: ffff800011ac23e0 x15: 00000000ffffffff x14: ffff0000d16351c0 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000d16351c0 x8 : ffff80000a0a2848 x7 : 0000000000000000 x6 : 0000000000000001 x5 : ffff800021746058 x4 : 00000000000000c8 x3 : 0000000000000088 x2 : 0000000000000001 x1 : ffff8000120c8040 x0 : 0000000000000000 Call trace: __clear_extent_bit+0xc2c/0xcc0 fs/btrfs/extent_io.c:821 try_release_extent_state fs/btrfs/extent_io.c:5247 [inline] try_release_extent_mapping+0x458/0x480 fs/btrfs/extent_io.c:5344 __btrfs_releasepage+0x30/0x200 fs/btrfs/inode.c:8673 btrfs_releasepage+0x1a8/0x258 fs/btrfs/inode.c:8686 try_to_release_page+0x204/0x2d0 mm/filemap.c:3979 invalidate_complete_page mm/truncate.c:203 [inline] invalidate_inode_page+0x250/0x308 mm/truncate.c:255 __invalidate_mapping_pages+0x280/0x664 mm/truncate.c:494 invalidate_mapping_pages+0x38/0x4c mm/truncate.c:533 btrfs_direct_write fs/btrfs/file.c:2064 [inline] btrfs_file_write_iter+0xa34/0xb6c fs/btrfs/file.c:2094 do_iter_readv_writev+0x420/0x5f8 do_iter_write+0x1b8/0x66c fs/read_write.c:855 vfs_iter_write+0x88/0xac fs/read_write.c:896 iter_file_splice_write+0x618/0xc48 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe4/0x1c0 fs/splice.c:936 splice_direct_to_actor+0x408/0x9a0 fs/splice.c:891 do_splice_direct+0x1f4/0x334 fs/splice.c:979 generic_copy_file_range fs/read_write.c:1385 [inline] vfs_copy_file_range+0x940/0x1138 fs/read_write.c:1531 __do_sys_copy_file_range fs/read_write.c:1588 [inline] __se_sys_copy_file_range fs/read_write.c:1551 [inline] __arm64_sys_copy_file_range+0x5f8/0x9d8 fs/read_write.c:1551 __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:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: 2a1503e3 95e83450 d4210000 97908d9d (d4210000) ---[ end trace e1ef845a85aa9ebf ]---