EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback. OCFS2: ERROR (device loop0): 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.0.784/9154 ================================================================== BUG: KASAN: global-out-of-bounds in string_nocheck lib/vsprintf.c:645 [inline] BUG: KASAN: global-out-of-bounds in string+0x204/0x290 lib/vsprintf.c:727 Read of size 1 at addr ffffffff8b3ec978 by task syz.0.784/9154 CPU: 0 PID: 9154 Comm: syz.0.784 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0xa8/0x210 mm/kasan/report.c:468 kasan_report+0x117/0x150 mm/kasan/report.c:581 string_nocheck lib/vsprintf.c:645 [inline] string+0x204/0x290 lib/vsprintf.c:727 vsnprintf+0xf72/0x1ba0 lib/vsprintf.c:2823 vprintk_store+0x3d9/0xd50 kernel/printk/printk.c:2226 vprintk_emit+0x117/0x610 kernel/printk/printk.c:2322 _printk+0xde/0x130 kernel/printk/printk.c:2366 spin_dump+0x101/0x1a0 kernel/locking/spinlock_debug.c:63 spin_bug kernel/locking/spinlock_debug.c:77 [inline] debug_spin_lock_before kernel/locking/spinlock_debug.c:85 [inline] do_raw_spin_lock+0x1bf/0x2b0 kernel/locking/spinlock_debug.c:114 spin_lock include/linux/spinlock.h:351 [inline] ocfs2_set_osb_flag fs/ocfs2/ocfs2.h:642 [inline] ocfs2_handle_error+0x4c/0x250 fs/ocfs2/super.c:2532 __ocfs2_error+0x13e/0x1a0 fs/ocfs2/super.c:2572 ocfs2_read_quota_block+0x248/0x3c0 fs/ocfs2/quota_local.c:141 ocfs2_local_check_quota_file+0x120/0xe70 fs/ocfs2/quota_local.c:175 dquot_load_quota_sb+0x5d1/0xb30 fs/quota/dquot.c:2485 dquot_load_quota_inode+0x2d7/0x5c0 fs/quota/dquot.c:2529 ext4_quota_on+0x349/0x770 fs/ext4/super.c:7083 __do_sys_quotactl fs/quota/quota.c:962 [inline] __se_sys_quotactl+0x29c/0x980 fs/quota/quota.c:918 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f784c7a94d9 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:00007f784d5e1028 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 RAX: ffffffffffffffda RBX: 00007f784ca25fa0 RCX: 00007f784c7a94d9 RDX: 0000000000000003 RSI: 0000200000006e80 RDI: ffffffff80000201 RBP: 00007f784c838136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000200000006ec0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f784ca26038 R14: 00007f784ca25fa0 R15: 00007ffd9e01c5c8 The buggy address belongs to the variable: .str.3+0x38/0x40 The buggy address belongs to the physical page: page:ffffea00002cfb00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xb3ec flags: 0xfff00000004000(reserved|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000004000 ffffea00002cfb08 ffffea00002cfb08 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: ffffffff8b3ec800: 00 04 f9 f9 f9 f9 f9 f9 00 00 00 00 f9 f9 f9 f9 ffffffff8b3ec880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffffff8b3ec900: 00 00 00 01 f9 f9 f9 f9 00 00 00 01 f9 f9 f9 f9 ^ ffffffff8b3ec980: 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 00 00 00 00 ffffffff8b3eca00: 00 00 00 00 03 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 ==================================================================