------------[ cut here ]------------ kernel BUG at fs/bcachefs/quota.c:232! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 7147 Comm: syz.1.95 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 : ffff8000a3417270 x29: ffff8000a3417280 x28: dfff800000000000 x27: 0000000000000001 x26: ffffffffffffff80 x25: ffff0000fdd00000 x24: fffffffffffffff8 x23: ffff0000ce3ba800 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff8000a34173a0 x18: 00000000ffffffff x17: ffff800093523000 x16: ffff80008b00ff28 x15: 0000000000000001 x14: 1ffff00014682dfc x13: 0000000000000000 x12: 0000000000000000 x11: ffff700014682dfd x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d88b8000 x7 : ffff800082ab4e38 x6 : 0000000000000001 x5 : ffffffffffffff80 x4 : 0000000000000000 x3 : ffff8000a34173a0 x2 : ffff0000ce3ba800 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 do_signal+0x274/0x4434 arch/arm64/kernel/signal.c:1618 do_notify_resume+0xb0/0x1f4 arch/arm64/kernel/entry-common.c:152 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:173 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:182 [inline] el0_svc+0xb8/0x180 arch/arm64/kernel/entry-common.c:880 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: aa1303e0 9786e238 17fffed8 9771e6c3 (d4210000) ---[ end trace 0000000000000000 ]---