------------[ cut here ]------------ kernel BUG at fs/inode.c:628! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 UID: 0 PID: 5388 Comm: btrfs-cleaner Not tainted 6.10.0-syzkaller-12246-g786c8248dbd3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:clear_inode+0x14b/0x160 fs/inode.c:628 Code: 5c 41 5d 41 5e 41 5f c3 cc cc cc cc e8 3e c8 83 ff 90 0f 0b e8 36 c8 83 ff 90 0f 0b e8 2e c8 83 ff 90 0f 0b e8 26 c8 83 ff 90 <0f> 0b e8 1e c8 83 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 RSP: 0018:ffffc900034d7a70 EFLAGS: 00010293 RAX: ffffffff820fbaba RBX: 0000000000000040 RCX: ffff888026bdda00 RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000000000000000 RBP: ffffc900034d7c40 R08: ffffffff820fba48 R09: 1ffffffff1f5cf2d R10: dffffc0000000000 R11: fffffbfff1f5cf2e R12: dffffc0000000000 R13: 1ffff1100b9d54e2 R14: ffff88805ceaa710 R15: ffff88805ceaa640 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd597c00440 CR3: 00000000784cc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_evict_inode+0x78d/0x1040 evict+0x2a8/0x630 fs/inode.c:669 __btrfs_run_defrag_inode fs/btrfs/defrag.c:281 [inline] btrfs_run_defrag_inodes+0xa80/0xdf0 fs/btrfs/defrag.c:327 cleaner_kthread+0x28c/0x3d0 fs/btrfs/disk-io.c:1527 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:clear_inode+0x14b/0x160 fs/inode.c:628 Code: 5c 41 5d 41 5e 41 5f c3 cc cc cc cc e8 3e c8 83 ff 90 0f 0b e8 36 c8 83 ff 90 0f 0b e8 2e c8 83 ff 90 0f 0b e8 26 c8 83 ff 90 <0f> 0b e8 1e c8 83 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 RSP: 0018:ffffc900034d7a70 EFLAGS: 00010293 RAX: ffffffff820fbaba RBX: 0000000000000040 RCX: ffff888026bdda00 RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000000000000000 RBP: ffffc900034d7c40 R08: ffffffff820fba48 R09: 1ffffffff1f5cf2d R10: dffffc0000000000 R11: fffffbfff1f5cf2e R12: dffffc0000000000 R13: 1ffff1100b9d54e2 R14: ffff88805ceaa710 R15: ffff88805ceaa640 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005574ad21c000 CR3: 000000007c5aa000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400