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. 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,5343,0):__ocfs2_journal_access:727 ERROR: Error -5 getting 1 access to buffer! (syz.0.0,5343,0):ocfs2_write_end_nolock:1942 ERROR: status = -5 (syz.0.0,5343,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: 5343 Comm: syz.0.0 Not tainted 6.16.0-rc6-syzkaller #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 ed 7e 1f fe eb 0d 48 ff cb e8 e3 7e 1f fe 48 89 5c 24 08 49 be 00 00 00 00 00 fc ff df e9 cb f4 ff ff e8 ca 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:ffffc9000fd5f4a0 EFLAGS: 00010283 RAX: ffffffff83a0b4a6 RBX: 00000000fffffffb RCX: 0000000000100000 RDX: ffffc9000dd12000 RSI: 0000000000033875 RDI: 0000000000033876 RBP: ffffc9000fd5f640 R08: ffffffff8fa1f5f7 R09: 1ffffffff1f43ebe R10: dffffc0000000000 R11: fffffbfff1f43ebf R12: ffffea0001546980 R13: 0000000000000100 R14: 0000000000000000 R15: 0000000000001000 FS: 00007f5b14d1e6c0(0000) GS:ffff88808d21b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000000d038 CR3: 000000004095e000 CR4: 0000000000352ef0 Call Trace: do_page_mkwrite+0x14a/0x310 mm/memory.c:3378 wp_page_shared mm/memory.c:3779 [inline] do_wp_page+0x268d/0x5800 mm/memory.c:3998 handle_pte_fault mm/memory.c:6085 [inline] __handle_mm_fault+0x1144/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:__put_user_4+0xd/0x20 arch/x86/lib/putuser.S:94 Code: 66 89 01 31 c9 0f 01 ca c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 89 cb 48 c1 fb 3f 48 09 d9 0f 01 cb <89> 01 31 c9 0f 01 ca c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000fd5fc98 EFLAGS: 00050202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000020000000d038 RDX: 0000000000000000 RSI: ffffffff8db8698b RDI: ffffffff8be29d40 RBP: ffffc9000fd5feb0 R08: 0000000000000000 R09: ffffffff820c2cd0 R10: 00000000ffffff97 R11: 0000000000000002 R12: 000020000000d000 R13: 0000000000040000 R14: 0000200000007fc0 R15: 0000000000000141 __sys_sendmmsg+0x25f/0x430 net/socket.c:2714 __do_sys_sendmmsg net/socket.c:2736 [inline] __se_sys_sendmmsg net/socket.c:2733 [inline] __x64_sys_sendmmsg+0xa0/0xc0 net/socket.c:2733 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:0x7f5b13f8e929 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:00007f5b14d1e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f5b141b5fa0 RCX: 00007f5b13f8e929 RDX: 000000000800001d RSI: 0000200000007fc0 RDI: 0000000000000006 RBP: 00007f5b14010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5b141b5fa0 R15: 00007fff7a46c2d8 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 ed 7e 1f fe eb 0d 48 ff cb e8 e3 7e 1f fe 48 89 5c 24 08 49 be 00 00 00 00 00 fc ff df e9 cb f4 ff ff e8 ca 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:ffffc9000fd5f4a0 EFLAGS: 00010283 RAX: ffffffff83a0b4a6 RBX: 00000000fffffffb RCX: 0000000000100000 RDX: ffffc9000dd12000 RSI: 0000000000033875 RDI: 0000000000033876 RBP: ffffc9000fd5f640 R08: ffffffff8fa1f5f7 R09: 1ffffffff1f43ebe R10: dffffc0000000000 R11: fffffbfff1f43ebf R12: ffffea0001546980 R13: 0000000000000100 R14: 0000000000000000 R15: 0000000000001000 FS: 00007f5b14d1e6c0(0000) GS:ffff88808d21b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5b103f59a0 CR3: 000000004095e000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 66 89 01 mov %ax,(%rcx) 3: 31 c9 xor %ecx,%ecx 5: 0f 01 ca clac 8: c3 ret 9: cc int3 a: cc int3 b: cc int3 c: cc int3 d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 48 89 cb mov %rcx,%rbx 20: 48 c1 fb 3f sar $0x3f,%rbx 24: 48 09 d9 or %rbx,%rcx 27: 0f 01 cb stac * 2a: 89 01 mov %eax,(%rcx) <-- trapping instruction 2c: 31 c9 xor %ecx,%ecx 2e: 0f 01 ca clac 31: c3 ret 32: cc int3 33: cc int3 34: cc int3 35: cc int3 36: 90 nop 37: 90 nop 38: 90 nop 39: 90 nop 3a: 90 nop 3b: 90 nop 3c: 90 nop 3d: 90 nop 3e: 90 nop 3f: 90 nop