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. ======================================================= JBD2: Ignoring recovery information on journal ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. (syz.0.0,5355,0):ocfs2_dio_end_io:2420 ERROR: Direct IO failed, bytes = -28 usb 5-1: USB disconnect, device number 2 loop0: detected capacity change from 32768 to 0 Buffer I/O error on dev loop0, logical block 19104, async page read Buffer I/O error on dev loop0, logical block 19105, async page read Buffer I/O error on dev loop0, logical block 19106, async page read Buffer I/O error on dev loop0, logical block 19107, async page read Buffer I/O error on dev loop0, logical block 19108, async page read Buffer I/O error on dev loop0, logical block 19109, async page read Buffer I/O error on dev loop0, logical block 19110, async page read Buffer I/O error on dev loop0, logical block 19111, async page read (syz.0.0,5355,0):__ocfs2_journal_access:739 ERROR: Error -30 getting 1 access to buffer! (syz.0.0,5355,0):ocfs2_write_end_nolock:1945 ERROR: status = -30 (syz.0.0,5355,0):ocfs2_commit_trans:411 ERROR: status = -5 ------------[ cut here ]------------ kernel BUG at fs/ocfs2/mmap.c:106! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5355 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:__ocfs2_page_mkwrite fs/ocfs2/mmap.c:106 [inline] RIP: 0010:ocfs2_page_mkwrite+0xb59/0xb60 fs/ocfs2/mmap.c:143 Code: 16 42 fe e9 27 fd ff ff e8 a4 79 07 08 e8 2f c7 c8 fd 4c 89 e7 48 c7 c6 00 24 77 8c e8 60 cb 27 fd 90 0f 0b e8 18 c7 c8 fd 90 <0f> 0b cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000ddb7180 EFLAGS: 00010283 RAX: ffffffff84005b58 RBX: 00000000ffffffe2 RCX: 0000000000100000 RDX: ffffc9000ef02000 RSI: 000000000000185d RDI: 000000000000185e RBP: ffffc9000ddb7308 R08: ffffffff91be2ebf R09: 1ffffffff237c5d7 R10: dffffc0000000000 R11: fffffbfff237c5d8 R12: dffffc0000000000 R13: 0000000000005000 R14: 0000000000000000 R15: 0000000000001000 FS: 00007ffada8956c0(0000) GS:ffff88808a9fd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000055f0 CR3: 000000001f974000 CR4: 0000000000352ef0 Call Trace: do_page_mkwrite+0x147/0x310 mm/memory.c:3889 wp_page_shared mm/memory.c:4295 [inline] do_wp_page+0x1a77/0x4c30 mm/memory.c:4518 handle_pte_fault mm/memory.c:6692 [inline] __handle_mm_fault mm/memory.c:6817 [inline] handle_mm_fault+0x19c9/0x2f80 mm/memory.c:6984 do_user_addr_fault+0x7f6/0x1480 arch/x86/mm/fault.c:1394 handle_page_fault arch/x86/mm/fault.c:1483 [inline] exc_page_fault+0x6a/0xc0 arch/x86/mm/fault.c:1536 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:595 RIP: 0010:__put_user_4+0xd/0x30 arch/x86/lib/putuser.S:74 Code: 01 ca e9 86 ab 03 00 90 90 90 90 90 90 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 e9 57 ab 03 00 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000ddb78d8 EFLAGS: 00050206 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00002000000055f0 RDX: ffff888034b7cb00 RSI: 0000000000000300 RDI: 00000000ffffffff RBP: ffffc9000ddb7a50 R08: ffffffff8228b2ef R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff237c5d8 R12: dffffc0000000000 R13: 0000000000000300 R14: 1ffff92001bb6fa1 R15: 1ffff92001bb6f28 ____sys_recvmsg+0x2f3/0x530 net/socket.c:2948 ___sys_recvmsg+0x213/0x5a0 net/socket.c:2977 do_recvmmsg+0x31a/0x800 net/socket.c:3072 __sys_recvmmsg net/socket.c:3146 [inline] __do_sys_recvmmsg net/socket.c:3169 [inline] __se_sys_recvmmsg net/socket.c:3162 [inline] __x64_sys_recvmmsg+0x198/0x250 net/socket.c:3162 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ffad999fb19 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffada894fe8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007ffad9c25fa0 RCX: 00007ffad999fb19 RDX: 000000000400023c RSI: 00002000000055c0 RDI: 000000000000000c RBP: 00007ffad9a37b70 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000300 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffad9c26038 R14: 00007ffad9c25fa0 R15: 00007fffa4121e18 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__ocfs2_page_mkwrite fs/ocfs2/mmap.c:106 [inline] RIP: 0010:ocfs2_page_mkwrite+0xb59/0xb60 fs/ocfs2/mmap.c:143 Code: 16 42 fe e9 27 fd ff ff e8 a4 79 07 08 e8 2f c7 c8 fd 4c 89 e7 48 c7 c6 00 24 77 8c e8 60 cb 27 fd 90 0f 0b e8 18 c7 c8 fd 90 <0f> 0b cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000ddb7180 EFLAGS: 00010283 RAX: ffffffff84005b58 RBX: 00000000ffffffe2 RCX: 0000000000100000 RDX: ffffc9000ef02000 RSI: 000000000000185d RDI: 000000000000185e RBP: ffffc9000ddb7308 R08: ffffffff91be2ebf R09: 1ffffffff237c5d7 R10: dffffc0000000000 R11: fffffbfff237c5d8 R12: dffffc0000000000 R13: 0000000000005000 R14: 0000000000000000 R15: 0000000000001000 FS: 00007ffada8956c0(0000) GS:ffff88808a9fd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000080 CR3: 000000001f974000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 01 ca add %ecx,%edx 2: e9 86 ab 03 00 jmp 0x3ab8d 7: 90 nop 8: 90 nop 9: 90 nop a: 90 nop b: 90 nop c: 90 nop 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: e9 57 ab 03 00 jmp 0x3ab8d 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