OCFS2: ERROR (device loop5): int ocfs2_read_quota_block(struct inode *, u64, struct buffer_head **): Quota file 0 is probably corrupted! Requested to read block 0 but file has size only 10 BUG: spinlock bad magic on CPU#0, syz.5.629/7281 ================================================================== BUG: KASAN: global-out-of-bounds in task_pid_nr include/linux/sched.h:1581 [inline] BUG: KASAN: global-out-of-bounds in spin_dump+0x197/0x1a0 kernel/locking/spinlock_debug.c:67 Read of size 4 at addr ffffffff8b0104d8 by task syz.5.629/7281 CPU: 0 PID: 7281 Comm: syz.5.629 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0xa8/0x210 mm/kasan/report.c:420 kasan_report+0x10b/0x140 mm/kasan/report.c:524 task_pid_nr include/linux/sched.h:1581 [inline] spin_dump+0x197/0x1a0 kernel/locking/spinlock_debug.c:67 spin_bug kernel/locking/spinlock_debug.c:77 [inline] debug_spin_lock_before kernel/locking/spinlock_debug.c:85 [inline] do_raw_spin_lock+0x1de/0x2f0 kernel/locking/spinlock_debug.c:114 spin_lock include/linux/spinlock.h:351 [inline] ocfs2_set_osb_flag fs/ocfs2/ocfs2.h:616 [inline] ocfs2_handle_error+0x4c/0x250 fs/ocfs2/super.c:2533 __ocfs2_error+0x13a/0x1a0 fs/ocfs2/super.c:2573 ocfs2_read_quota_block+0x244/0x3b0 fs/ocfs2/quota_local.c:141 ocfs2_local_check_quota_file+0x11c/0xe70 fs/ocfs2/quota_local.c:175 dquot_load_quota_sb+0x5c8/0xa80 fs/quota/dquot.c:2488 dquot_load_quota_inode+0x2d3/0x5c0 fs/quota/dquot.c:2532 ext4_quota_on+0x4e0/0x930 fs/ext4/super.c:6990 __do_sys_quotactl fs/quota/quota.c:960 [inline] __se_sys_quotactl+0x28b/0x6f0 fs/quota/quota.c:916 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7efcb65a9559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efcb742d028 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 RAX: ffffffffffffffda RBX: 00007efcb6825fa0 RCX: 00007efcb65a9559 RDX: 0000000000000003 RSI: 0000200000006e80 RDI: ffffffff80000201 RBP: 00007efcb6638136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000200000006ec0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007efcb6826038 R14: 00007efcb6825fa0 R15: 00007fff951f3ea8 The buggy address belongs to the variable: .str.1+0x18/0x60 The buggy address belongs to the physical page: page:ffffea00002c0400 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xb010 flags: 0xfff00000001000(reserved|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000001000 ffffea00002c0408 ffffea00002c0408 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not present (never set?) Memory state around the buggy address: ffffffff8b010380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff8b010400: 00 00 00 f9 f9 f9 f9 f9 f9 f9 f9 f9 06 f9 f9 f9 >ffffffff8b010480: 00 00 00 00 00 06 f9 f9 00 00 05 f9 f9 f9 f9 f9 ^ ffffffff8b010500: 00 00 00 00 07 f9 f9 f9 00 00 00 00 00 00 00 00 ffffffff8b010580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================