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. Aborting journal on device loop0-75. Buffer I/O error on dev loop0, logical block 640, lost sync page write JBD2: I/O error when updating journal superblock for loop0-75. (syz.0.0,5350,0):__ocfs2_journal_access:727 ERROR: Error -5 getting 1 access to buffer! (syz.0.0,5350,0):ocfs2_write_end_nolock:1942 ERROR: status = -5 (syz.0.0,5350,0):ocfs2_commit_trans:404 ERROR: status = -5 ------------[ cut here ]------------ kernel BUG at fs/ocfs2/mmap.c:107! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5350 Comm: syz.0.0 Not tainted 6.16.0-rc5-syzkaller-00266-g3f31a806a62e #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:__ocfs2_page_mkwrite fs/ocfs2/mmap.c:107 [inline] RIP: 0010:ocfs2_page_mkwrite+0xc37/0xc40 fs/ocfs2/mmap.c:144 Code: 07 e8 dd 7e 1f fe eb 0d 48 ff cb e8 d3 7e 1f fe 48 89 5c 24 08 49 be 00 00 00 00 00 fc ff df e9 cb f4 ff ff e8 ba 7e 1f fe 90 <0f> 0b cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d45f0c0 EFLAGS: 00010283 RAX: ffffffff83a0b4b6 RBX: 00000000fffffffb RCX: 0000000000100000 RDX: ffffc9000e17a000 RSI: 0000000000010aac RDI: 0000000000010aad RBP: ffffc9000d45f260 R08: ffffffff8fa1f5f7 R09: 1ffffffff1f43ebe R10: dffffc0000000000 R11: fffffbfff1f43ebf R12: ffffea00014101c0 R13: 0000000000000100 R14: 0000000000000000 R15: 0000000000001000 FS: 00007f61a0fbd6c0(0000) GS:ffff88808d21b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000001a000 CR3: 000000003fc4d000 CR4: 0000000000352ef0 Call Trace: do_page_mkwrite+0x14d/0x310 mm/memory.c:3378 do_shared_fault mm/memory.c:5666 [inline] do_fault mm/memory.c:5728 [inline] do_pte_missing mm/memory.c:4251 [inline] handle_pte_fault mm/memory.c:6069 [inline] __handle_mm_fault+0x1a60/0x5620 mm/memory.c:6212 handle_mm_fault+0x40a/0x8e0 mm/memory.c:6381 do_user_addr_fault+0x764/0x1390 arch/x86/mm/fault.c:1387 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x76/0xf0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:rep_movs_alternative+0x4a/0x90 arch/x86/lib/copy_user_64.S:74 Code: cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 db 83 f9 08 73 e8 eb c5 a4 c3 cc cc cc cc 48 8b 06 48 89 07 48 8d 47 08 48 83 e0 f8 48 RSP: 0018:ffffc9000d45f6f8 EFLAGS: 00050206 RAX: ffffffff84bf6101 RBX: ffff88805041c000 RCX: 00000000000007c0 RDX: 0000000000000000 RSI: ffff88805041c840 RDI: 000020000001a000 RBP: ffffc9000d45f848 R08: ffff88805041cfff R09: 1ffff1100a0839ff R10: dffffc0000000000 R11: ffffed100a083a00 R12: 1ffff92001a8bfaf R13: 00002000000197c0 R14: ffffc9000d45fd88 R15: 0000000000001000 copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:147 [inline] copy_to_user_iter lib/iov_iter.c:25 [inline] iterate_ubuf include/linux/iov_iter.h:30 [inline] iterate_and_advance2 include/linux/iov_iter.h:300 [inline] iterate_and_advance include/linux/iov_iter.h:328 [inline] _copy_to_iter+0x24c/0x16f0 lib/iov_iter.c:185 copy_page_to_iter+0x10c/0x1c0 lib/iov_iter.c:362 copy_folio_to_iter include/linux/uio.h:204 [inline] filemap_read+0xa18/0x11a0 mm/filemap.c:2762 ocfs2_file_read_iter+0x3fa/0xa80 fs/ocfs2/file.c:2589 new_sync_read fs/read_write.c:491 [inline] vfs_read+0x4d0/0x980 fs/read_write.c:572 ksys_read+0x145/0x250 fs/read_write.c:715 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f61a018e929 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:00007f61a0fbd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f61a03b5fa0 RCX: 00007f61a018e929 RDX: 00000000ffffff44 RSI: 00002000000017c0 RDI: 0000000000000007 RBP: 00007f61a0210b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f61a03b5fa0 R15: 00007fff93c80b98 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__ocfs2_page_mkwrite fs/ocfs2/mmap.c:107 [inline] RIP: 0010:ocfs2_page_mkwrite+0xc37/0xc40 fs/ocfs2/mmap.c:144 Code: 07 e8 dd 7e 1f fe eb 0d 48 ff cb e8 d3 7e 1f fe 48 89 5c 24 08 49 be 00 00 00 00 00 fc ff df e9 cb f4 ff ff e8 ba 7e 1f fe 90 <0f> 0b cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d45f0c0 EFLAGS: 00010283 RAX: ffffffff83a0b4b6 RBX: 00000000fffffffb RCX: 0000000000100000 RDX: ffffc9000e17a000 RSI: 0000000000010aac RDI: 0000000000010aad RBP: ffffc9000d45f260 R08: ffffffff8fa1f5f7 R09: 1ffffffff1f43ebe R10: dffffc0000000000 R11: fffffbfff1f43ebf R12: ffffea00014101c0 R13: 0000000000000100 R14: 0000000000000000 R15: 0000000000001000 FS: 00007f61a0fbd6c0(0000) GS:ffff88808d21b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f61a0f9bfc8 CR3: 000000003fc4d000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: cc int3 1: cc int3 2: cc int3 3: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) a: 00 00 00 d: 0f 1f 00 nopl (%rax) 10: 48 8b 06 mov (%rsi),%rax 13: 48 89 07 mov %rax,(%rdi) 16: 48 83 c6 08 add $0x8,%rsi 1a: 48 83 c7 08 add $0x8,%rdi 1e: 83 e9 08 sub $0x8,%ecx 21: 74 db je 0xfffffffe 23: 83 f9 08 cmp $0x8,%ecx 26: 73 e8 jae 0x10 28: eb c5 jmp 0xffffffef * 2a: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi) <-- trapping instruction 2c: c3 ret 2d: cc int3 2e: cc int3 2f: cc int3 30: cc int3 31: 48 8b 06 mov (%rsi),%rax 34: 48 89 07 mov %rax,(%rdi) 37: 48 8d 47 08 lea 0x8(%rdi),%rax 3b: 48 83 e0 f8 and $0xfffffffffffffff8,%rax 3f: 48 rex.W