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 writeback data mode. FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 1 CPU: 0 UID: 0 PID: 5315 Comm: syz.0.0 Not tainted 6.15.0-rc4-syzkaller-00208-g00b827f0cffa #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_lvl+0x189/0x250 lib/dump_stack.c:120 fail_dump lib/fault-inject.c:73 [inline] should_fail_ex+0x414/0x560 lib/fault-inject.c:174 prepare_alloc_pages+0x213/0x610 mm/page_alloc.c:4745 __alloc_frozen_pages_noprof+0x123/0x370 mm/page_alloc.c:4959 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2301 alloc_frozen_pages_noprof mm/mempolicy.c:2372 [inline] alloc_pages_noprof+0xa9/0x190 mm/mempolicy.c:2392 folio_alloc_noprof+0x1e/0x30 mm/mempolicy.c:2402 filemap_alloc_folio_noprof+0xdf/0x470 mm/filemap.c:1007 __filemap_get_folio+0x3f2/0xaf0 mm/filemap.c:1969 ocfs2_grab_folios_for_write+0x4ce/0xd80 fs/ocfs2/aops.c:1068 ocfs2_write_begin_nolock+0x2cbc/0x4340 fs/ocfs2/aops.c:1776 ocfs2_dio_wr_get_block+0xb6f/0x1770 fs/ocfs2/aops.c:2211 get_more_blocks fs/direct-io.c:648 [inline] do_direct_IO fs/direct-io.c:936 [inline] __blockdev_direct_IO+0x1649/0x3310 fs/direct-io.c:1243 ocfs2_direct_IO+0x25f/0x2d0 fs/ocfs2/aops.c:2438 generic_file_direct_write+0x1d8/0x3e0 mm/filemap.c:4037 __generic_file_write_iter+0x11d/0x230 mm/filemap.c:4206 ocfs2_file_write_iter+0x157a/0x1d10 fs/ocfs2/file.c:2469 iter_file_splice_write+0x937/0x1000 fs/splice.c:738 do_splice_from fs/splice.c:935 [inline] direct_splice_actor+0xfe/0x160 fs/splice.c:1158 splice_direct_to_actor+0x5a5/0xcc0 fs/splice.c:1102 do_splice_direct_actor fs/splice.c:1201 [inline] do_splice_direct+0x181/0x270 fs/splice.c:1227 do_sendfile+0x4da/0x7d0 fs/read_write.c:1368 __do_sys_sendfile64 fs/read_write.c:1429 [inline] __se_sys_sendfile64+0x13e/0x190 fs/read_write.c:1415 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc11578e969 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:00007fc116601038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fc1159b5fa0 RCX: 00007fc11578e969 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007fc116601090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000800000009 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 00007fc1159b5fa0 R15: 00007fff13c0ad48 (syz.0.0,5315,0):ocfs2_grab_folios_for_write:1073 ERROR: status = -12 (syz.0.0,5315,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 dd3a067 P4D dd3a067 PUD dd3c067 PMD 0 Oops: Oops: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5315 Comm: syz.0.0 Not tainted 6.15.0-rc4-syzkaller-00208-g00b827f0cffa #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+0x3a/0x160 mm/filemap.c:1498 Code: fb 49 bf 00 00 00 00 00 fc ff df e8 30 5d c9 ff 4c 8d 73 08 4d 89 f4 49 c1 ec 03 43 80 3c 3c 00 74 08 4c 89 f7 e8 e6 51 2b 00 <4d> 8b 2e 4c 89 ee 48 83 e6 01 31 ff e8 e5 61 c9 ff 49 83 e5 01 0f RSP: 0018:ffffc9000eea6828 EFLAGS: 00010246 RAX: ffffffff81f66320 RBX: fffffffffffffff4 RCX: ffff88801f70c880 RDX: 0000000000000000 RSI: 0000000000000002 RDI: fffffffffffffff4 RBP: 0000000000000002 R08: ffffffff8f7ed577 R09: 1ffffffff1efdaae R10: dffffc0000000000 R11: fffffbfff1efdaaf R12: 1fffffffffffffff R13: 0000000000000008 R14: fffffffffffffffc R15: dffffc0000000000 FS: 00007fc1166016c0(0000) GS:ffff88808d6cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffffc CR3: 000000004305a000 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+0x3078/0x4340 fs/ocfs2/aops.c:1830 ocfs2_dio_wr_get_block+0xb6f/0x1770 fs/ocfs2/aops.c:2211 get_more_blocks fs/direct-io.c:648 [inline] do_direct_IO fs/direct-io.c:936 [inline] __blockdev_direct_IO+0x1649/0x3310 fs/direct-io.c:1243 ocfs2_direct_IO+0x25f/0x2d0 fs/ocfs2/aops.c:2438 generic_file_direct_write+0x1d8/0x3e0 mm/filemap.c:4037 __generic_file_write_iter+0x11d/0x230 mm/filemap.c:4206 ocfs2_file_write_iter+0x157a/0x1d10 fs/ocfs2/file.c:2469 iter_file_splice_write+0x937/0x1000 fs/splice.c:738 do_splice_from fs/splice.c:935 [inline] direct_splice_actor+0xfe/0x160 fs/splice.c:1158 splice_direct_to_actor+0x5a5/0xcc0 fs/splice.c:1102 do_splice_direct_actor fs/splice.c:1201 [inline] do_splice_direct+0x181/0x270 fs/splice.c:1227 do_sendfile+0x4da/0x7d0 fs/read_write.c:1368 __do_sys_sendfile64 fs/read_write.c:1429 [inline] __se_sys_sendfile64+0x13e/0x190 fs/read_write.c:1415 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc11578e969 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:00007fc116601038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fc1159b5fa0 RCX: 00007fc11578e969 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007fc116601090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000800000009 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 00007fc1159b5fa0 R15: 00007fff13c0ad48 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+0x3a/0x160 mm/filemap.c:1498 Code: fb 49 bf 00 00 00 00 00 fc ff df e8 30 5d c9 ff 4c 8d 73 08 4d 89 f4 49 c1 ec 03 43 80 3c 3c 00 74 08 4c 89 f7 e8 e6 51 2b 00 <4d> 8b 2e 4c 89 ee 48 83 e6 01 31 ff e8 e5 61 c9 ff 49 83 e5 01 0f RSP: 0018:ffffc9000eea6828 EFLAGS: 00010246 RAX: ffffffff81f66320 RBX: fffffffffffffff4 RCX: ffff88801f70c880 RDX: 0000000000000000 RSI: 0000000000000002 RDI: fffffffffffffff4 RBP: 0000000000000002 R08: ffffffff8f7ed577 R09: 1ffffffff1efdaae R10: dffffc0000000000 R11: fffffbfff1efdaaf R12: 1fffffffffffffff R13: 0000000000000008 R14: fffffffffffffffc R15: dffffc0000000000 FS: 00007fc1166016c0(0000) GS:ffff88808d6cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffffc CR3: 000000004305a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: fb sti 1: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 8: fc ff df b: e8 30 5d c9 ff call 0xffc95d40 10: 4c 8d 73 08 lea 0x8(%rbx),%r14 14: 4d 89 f4 mov %r14,%r12 17: 49 c1 ec 03 shr $0x3,%r12 1b: 43 80 3c 3c 00 cmpb $0x0,(%r12,%r15,1) 20: 74 08 je 0x2a 22: 4c 89 f7 mov %r14,%rdi 25: e8 e6 51 2b 00 call 0x2b5210 * 2a: 4d 8b 2e mov (%r14),%r13 <-- trapping instruction 2d: 4c 89 ee mov %r13,%rsi 30: 48 83 e6 01 and $0x1,%rsi 34: 31 ff xor %edi,%edi 36: e8 e5 61 c9 ff call 0xffc96220 3b: 49 83 e5 01 and $0x1,%r13 3f: 0f .byte 0xf