------------[ cut here ]------------ kernel BUG at fs/bcachefs/quota.c:232! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 7322 Comm: syz.3.102 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : bch2_quota_check_limit+0xb2c/0xb50 fs/bcachefs/quota.c:232 lr : bch2_quota_check_limit+0xb2c/0xb50 fs/bcachefs/quota.c:232 sp : ffff8000a4b07290 x29: ffff8000a4b072a0 x28: dfff800000000000 x27: 0000000000000001 x26: fffffffffffffff8 x25: ffff0000e7880000 x24: fffffffffffffff8 x23: ffff0000f4676400 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff8000a4b073c0 x18: 00000000ffffffff x17: ffff800093524000 x16: ffff80008b0155d8 x15: 0000000000000001 x14: 1ffff00014960e00 x13: 0000000000000000 x12: 0000000000000000 x11: ffff700014960e01 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000cc4fbd00 x7 : ffff800082ab63c8 x6 : 0000000000000001 x5 : fffffffffffffff8 x4 : 0000000000000000 x3 : ffff8000a4b073c0 x2 : ffff0000f4676400 x1 : fffffffffffffff8 x0 : 0000000000000000 Call trace: bch2_quota_check_limit+0xb2c/0xb50 fs/bcachefs/quota.c:232 (P) bch2_quota_acct+0x360/0x6a4 fs/bcachefs/quota.c:299 bch2_evict_inode+0x13c/0x444 fs/bcachefs/fs.c:2178 evict+0x414/0x928 fs/inode.c:810 iput_final fs/inode.c:1897 [inline] iput+0x6e4/0x83c fs/inode.c:1923 dentry_unlink_inode+0x384/0x45c fs/dcache.c:466 __dentry_kill+0x170/0x594 fs/dcache.c:669 dput+0x1b8/0x290 fs/dcache.c:911 __fput+0x51c/0x75c fs/file_table.c:476 ____fput+0x20/0x58 fs/file_table.c:496 task_work_run+0x1dc/0x260 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x524/0x1a14 kernel/exit.c:961 do_group_exit+0x194/0x22c kernel/exit.c:1102 get_signal+0x11dc/0x12f8 kernel/signal.c:3034 arch_do_signal_or_restart+0x1c0/0x4434 arch/arm64/kernel/signal.c:1619 exit_to_user_mode_loop+0x7c/0x168 kernel/entry/common.c:40 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] arm64_exit_to_user_mode arch/arm64/kernel/entry-common.c:103 [inline] el0_da+0x174/0x230 arch/arm64/kernel/entry-common.c:563 el0t_64_sync_handler+0x90/0x12c arch/arm64/kernel/entry-common.c:766 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: aa1303e0 9786dbe1 17fffed8 9771e071 (d4210000) ---[ end trace 0000000000000000 ]---