gfs2: fsid=syz:syz.0: H: s:EX f:H e:0 p:5338 [syz-executor.0] gfs2_quota_sync+0x3a4/0x870 fs/gfs2/quota.c:1320 gfs2: fsid=syz:syz.0: I: n:11/2340 t:8 f:0x00 d:0x00000201 s:176 p:0 gfs2: fsid=syz:syz.0: about to withdraw this file system BUG: unable to handle page fault for address: fffffbfff39122b9 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 23ffe4067 P4D 23ffe4067 PUD 23ffe3067 PMD 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5338 Comm: syz-executor.0 Not tainted 6.2.0-rc1-syzkaller-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x7b/0x290 mm/kasan/generic.c:189 Code: 03 49 bb 01 00 00 00 00 fc ff df 4f 8d 34 1a 4c 89 f5 4c 29 cd 48 83 fd 10 7f 26 48 85 ed 0f 84 3a 01 00 00 49 f7 d2 49 01 da <41> 80 39 00 0f 85 c4 01 00 00 49 ff c1 49 ff c2 75 ee e9 1d 01 00 RSP: 0018:ffffc90004f7f158 EFLAGS: 00010086 RAX: 0000000001910e01 RBX: 1ffffffff39122b9 RCX: ffffffff816b0dcf RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9c8915c8 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff39122b9 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888024ee2770 R13: ffff888024ee1d40 R14: fffffbfff39122ba R15: 1ffff110049dc502 FS: 0000555556cc6480(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffbfff39122b9 CR3: 0000000027e55000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] __lock_acquire+0xcbf/0x1f80 kernel/locking/lockdep.c:5025 lock_acquire+0x20b/0x600 kernel/locking/lockdep.c:5668 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xb7/0x100 kernel/locking/spinlock.c:162 prepare_to_wait+0x4a/0x200 kernel/sched/wait.c:269 gfs2_quota_cleanup+0xe4/0x8c0 fs/gfs2/quota.c:1461 gfs2_make_fs_ro+0x50c/0x600 fs/gfs2/super.c:560 gfs2_withdraw+0x63e/0x1550 fs/gfs2/util.c:166 gfs2_inode_refresh+0xb32/0xfa0 fs/gfs2/glops.c:460 gfs2_instantiate+0x18c/0x250 fs/gfs2/glock.c:456 gfs2_glock_wait+0x1df/0x2b0 fs/gfs2/glock.c:1299 gfs2_glock_nq_init fs/gfs2/glock.h:262 [inline] do_sync+0x482/0xc70 fs/gfs2/quota.c:918 gfs2_quota_sync+0x3a4/0x870 fs/gfs2/quota.c:1320 gfs2_sync_fs+0x4d/0xb0 fs/gfs2/super.c:650 sync_filesystem+0xec/0x220 fs/sync.c:56 generic_shutdown_super+0x6f/0x310 fs/super.c:474 kill_block_super+0x7e/0xe0 fs/super.c:1386 deactivate_locked_super+0xa4/0x110 fs/super.c:332 cleanup_mnt+0x490/0x520 fs/namespace.c:1291 task_work_run+0x24a/0x300 kernel/task_work.c:179 exit_to_user_mode_loop+0xd1/0xf0 include/linux/resume_user_mode.h:49 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:203 syscall_exit_to_user_mode+0x54/0x2d0 kernel/entry/common.c:285 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4e3f47db87 Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fff10c75e08 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f4e3f47db87 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007fff10c75ec0 RBP: 00007fff10c75ec0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff10c76f80 R13: 00007f4e3f4d7aa2 R14: 0000000000014550 R15: 0000000000000001 Modules linked in: CR2: fffffbfff39122b9 ---[ end trace 0000000000000000 ]--- RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x7b/0x290 mm/kasan/generic.c:189 Code: 03 49 bb 01 00 00 00 00 fc ff df 4f 8d 34 1a 4c 89 f5 4c 29 cd 48 83 fd 10 7f 26 48 85 ed 0f 84 3a 01 00 00 49 f7 d2 49 01 da <41> 80 39 00 0f 85 c4 01 00 00 49 ff c1 49 ff c2 75 ee e9 1d 01 00 RSP: 0018:ffffc90004f7f158 EFLAGS: 00010086 RAX: 0000000001910e01 RBX: 1ffffffff39122b9 RCX: ffffffff816b0dcf RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9c8915c8 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff39122b9 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888024ee2770 R13: ffff888024ee1d40 R14: fffffbfff39122ba R15: 1ffff110049dc502 FS: 0000555556cc6480(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffbfff39122b9 CR3: 0000000027e55000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 49 bb 01 00 00 00 00 movabs $0xdffffc0000000001,%r11 7: fc ff df a: 4f 8d 34 1a lea (%r10,%r11,1),%r14 e: 4c 89 f5 mov %r14,%rbp 11: 4c 29 cd sub %r9,%rbp 14: 48 83 fd 10 cmp $0x10,%rbp 18: 7f 26 jg 0x40 1a: 48 85 ed test %rbp,%rbp 1d: 0f 84 3a 01 00 00 je 0x15d 23: 49 f7 d2 not %r10 26: 49 01 da add %rbx,%r10 * 29: 41 80 39 00 cmpb $0x0,(%r9) <-- trapping instruction 2d: 0f 85 c4 01 00 00 jne 0x1f7 33: 49 ff c1 inc %r9 36: 49 ff c2 inc %r10 39: 75 ee jne 0x29 3b: e9 .byte 0xe9 3c: 1d .byte 0x1d 3d: 01 00 add %eax,(%rax)