loop0: detected capacity change from 0 to 32768 ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 1 CPU: 0 UID: 0 PID: 5326 Comm: syz.0.0 Not tainted 6.15.0-rc2-syzkaller-00400-g3088d26962e8 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 fail_dump lib/fault-inject.c:73 [inline] should_fail_ex+0x424/0x570 lib/fault-inject.c:174 prepare_alloc_pages+0x220/0x610 mm/page_alloc.c:4757 __alloc_frozen_pages_noprof+0x162/0x5b0 mm/page_alloc.c:4971 alloc_pages_mpol+0x339/0x690 mm/mempolicy.c:2301 alloc_frozen_pages_noprof mm/mempolicy.c:2372 [inline] alloc_pages_noprof+0x121/0x190 mm/mempolicy.c:2392 folio_alloc_noprof+0x1e/0x30 mm/mempolicy.c:2402 filemap_alloc_folio_noprof+0xe4/0x550 mm/filemap.c:1007 __filemap_get_folio+0x423/0xb40 mm/filemap.c:1969 ocfs2_grab_folios_for_write+0x566/0xdc0 fs/ocfs2/aops.c:1068 ocfs2_write_begin_nolock+0x34b0/0x4e80 fs/ocfs2/aops.c:1776 ocfs2_write_begin+0x207/0x3a0 fs/ocfs2/aops.c:1882 generic_perform_write+0x329/0xa10 mm/filemap.c:4103 ocfs2_file_write_iter+0x190f/0x20d0 fs/ocfs2/file.c:2469 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x70f/0xd10 fs/read_write.c:684 ksys_write+0x19d/0x2d0 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6f72b8e169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6f739fe038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f6f72db5fa0 RCX: 00007f6f72b8e169 RDX: 000000000000fd14 RSI: 0000200000000080 RDI: 0000000000000005 RBP: 00007f6f739fe090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 00007f6f72db5fa0 R15: 00007ffcd9ec2238 (syz.0.0,5326,0):ocfs2_grab_folios_for_write:1073 ERROR: status = -12 (syz.0.0,5326,0):ocfs2_write_begin_nolock:1791 ERROR: status = -12 BUG: unable to handle page fault for address: fffffffffffffffc #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD eb3c067 P4D eb3c067 PUD eb3e067 PMD 0 Oops: Oops: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5326 Comm: syz.0.0 Not tainted 6.15.0-rc2-syzkaller-00400-g3088d26962e8 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:const_folio_flags include/linux/page-flags.h:347 [inline] RIP: 0010:folio_test_locked include/linux/page-flags.h:547 [inline] RIP: 0010:folio_unlock+0x3b/0x170 mm/filemap.c:1498 Code: 49 bf 00 00 00 00 00 fc ff df e8 c0 be c5 ff 4d 8d 66 08 4d 89 e5 49 c1 ed 03 43 80 7c 3d 00 00 74 08 4c 89 e7 e8 95 fd 2f 00 <49> 8b 1c 24 48 89 de 48 83 e6 01 31 ff e8 73 c3 c5 ff 48 83 e3 01 RSP: 0018:ffffc9000d59f0e8 EFLAGS: 00010246 RAX: ffffffff81fcfd40 RBX: 1ffff11003c48006 RCX: ffff888000368000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: fffffffffffffff4 RBP: ffff88801e240030 R08: ffffffff83bf6b62 R09: 1ffff1100884150f R10: dffffc0000000000 R11: ffffed1008841510 R12: fffffffffffffffc R13: 1fffffffffffffff R14: fffffffffffffff4 R15: dffffc0000000000 FS: 00007f6f739fe6c0(0000) GS:ffff88808c59a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffffc CR3: 00000000426fc000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_unlock_and_free_folios+0x71/0x1a0 fs/ocfs2/aops.c:765 ocfs2_free_write_ctxt fs/ocfs2/aops.c:813 [inline] ocfs2_write_begin_nolock+0x3942/0x4e80 fs/ocfs2/aops.c:1830 ocfs2_write_begin+0x207/0x3a0 fs/ocfs2/aops.c:1882 generic_perform_write+0x329/0xa10 mm/filemap.c:4103 ocfs2_file_write_iter+0x190f/0x20d0 fs/ocfs2/file.c:2469 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x70f/0xd10 fs/read_write.c:684 ksys_write+0x19d/0x2d0 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6f72b8e169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6f739fe038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f6f72db5fa0 RCX: 00007f6f72b8e169 RDX: 000000000000fd14 RSI: 0000200000000080 RDI: 0000000000000005 RBP: 00007f6f739fe090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 00007f6f72db5fa0 R15: 00007ffcd9ec2238 Modules linked in: CR2: fffffffffffffffc ---[ end trace 0000000000000000 ]--- RIP: 0010:const_folio_flags include/linux/page-flags.h:347 [inline] RIP: 0010:folio_test_locked include/linux/page-flags.h:547 [inline] RIP: 0010:folio_unlock+0x3b/0x170 mm/filemap.c:1498 Code: 49 bf 00 00 00 00 00 fc ff df e8 c0 be c5 ff 4d 8d 66 08 4d 89 e5 49 c1 ed 03 43 80 7c 3d 00 00 74 08 4c 89 e7 e8 95 fd 2f 00 <49> 8b 1c 24 48 89 de 48 83 e6 01 31 ff e8 73 c3 c5 ff 48 83 e3 01 RSP: 0018:ffffc9000d59f0e8 EFLAGS: 00010246 RAX: ffffffff81fcfd40 RBX: 1ffff11003c48006 RCX: ffff888000368000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: fffffffffffffff4 RBP: ffff88801e240030 R08: ffffffff83bf6b62 R09: 1ffff1100884150f R10: dffffc0000000000 R11: ffffed1008841510 R12: fffffffffffffffc R13: 1fffffffffffffff R14: fffffffffffffff4 R15: dffffc0000000000 FS: 00007f6f739fe6c0(0000) GS:ffff88808c59a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffffc CR3: 00000000426fc000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 7: fc ff df a: e8 c0 be c5 ff call 0xffc5becf f: 4d 8d 66 08 lea 0x8(%r14),%r12 13: 4d 89 e5 mov %r12,%r13 16: 49 c1 ed 03 shr $0x3,%r13 1a: 43 80 7c 3d 00 00 cmpb $0x0,0x0(%r13,%r15,1) 20: 74 08 je 0x2a 22: 4c 89 e7 mov %r12,%rdi 25: e8 95 fd 2f 00 call 0x2ffdbf * 2a: 49 8b 1c 24 mov (%r12),%rbx <-- trapping instruction 2e: 48 89 de mov %rbx,%rsi 31: 48 83 e6 01 and $0x1,%rsi 35: 31 ff xor %edi,%edi 37: e8 73 c3 c5 ff call 0xffc5c3af 3c: 48 83 e3 01 and $0x1,%rbx