loop0: detected capacity change from 0 to 4096 ntfs3(loop0): Different NTFS sector size (2048) and media sector size (512). ntfs3(loop0): Failed to initialize $Extend/$ObjId. ------------[ cut here ]------------ err = 556 WARNING: lib/errseq.c:76 at errseq_set+0xe4/0x110 lib/errseq.c:75, CPU#0: syz.0.0/5322 Modules linked in: CPU: 0 UID: 0 PID: 5322 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:errseq_set+0xe6/0x110 lib/errseq.c:75 Code: 11 fd 44 89 e5 89 e8 5b 41 5c 41 5e 41 5f 5d e9 10 18 fa 06 cc e8 3a f3 11 fd eb e9 e8 33 f3 11 fd 48 8d 3d 1c f0 87 0b 89 de <67> 48 0f b9 3a eb d4 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 35 ff RSP: 0018:ffffc9000f6b7720 EFLAGS: 00010293 RAX: ffffffff84b3e09d RBX: 000000000000022c RCX: ffff88801f81ca00 RDX: 0000000000000000 RSI: 000000000000022c RDI: ffffffff903bd0c0 RBP: 0000000000000000 R08: ffffc9000f6b7707 R09: 1ffff92001ed6ee0 R10: dffffc0000000000 R11: fffff52001ed6ee1 R12: ffffea0001579f00 R13: ffff888011f05268 R14: ffff888011f05390 R15: 000000000000022c FS: 00007fde2fe326c0(0000) GS:ffff88808c87f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5af3949000 CR3: 000000001f0ce000 CR4: 0000000000352ef0 Call Trace: __filemap_set_wb_err+0x24/0x1e0 mm/filemap.c:704 mapping_set_error include/linux/pagemap.h:244 [inline] ntfs_resident_writepage fs/ntfs3/inode.c:1016 [inline] ntfs_writepages+0x3dd/0x5e0 fs/ntfs3/inode.c:1043 do_writepages+0x32e/0x550 mm/page-writeback.c:2571 filemap_writeback mm/filemap.c:388 [inline] filemap_fdatawrite_range mm/filemap.c:413 [inline] file_write_and_wait_range+0x36e/0x440 mm/filemap.c:787 ntfs_file_fsync+0xf9/0x250 fs/ntfs3/file.c:1494 generic_write_sync+0x1b3/0x290 include/linux/fs.h:2654 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x61d/0xb90 fs/read_write.c:688 ksys_pwrite64 fs/read_write.c:795 [inline] __do_sys_pwrite64 fs/read_write.c:803 [inline] __se_sys_pwrite64 fs/read_write.c:800 [inline] __x64_sys_pwrite64+0x199/0x230 fs/read_write.c:800 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fde2ef9ce59 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:00007fde2fe31fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007fde2f215fa0 RCX: 00007fde2ef9ce59 RDX: 0000000000000001 RSI: 0000200000000280 RDI: 0000000000000006 RBP: 00007fde2f032d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fde2f216038 R14: 00007fde2f215fa0 R15: 00007ffeef70acd8 ---------------- Code disassembly (best guess): 0: 11 fd adc %edi,%ebp 2: 44 89 e5 mov %r12d,%ebp 5: 89 e8 mov %ebp,%eax 7: 5b pop %rbx 8: 41 5c pop %r12 a: 41 5e pop %r14 c: 41 5f pop %r15 e: 5d pop %rbp f: e9 10 18 fa 06 jmp 0x6fa1824 14: cc int3 15: e8 3a f3 11 fd call 0xfd11f354 1a: eb e9 jmp 0x5 1c: e8 33 f3 11 fd call 0xfd11f354 21: 48 8d 3d 1c f0 87 0b lea 0xb87f01c(%rip),%rdi # 0xb87f044 28: 89 de mov %ebx,%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: eb d4 jmp 0x5 31: 44 89 f1 mov %r14d,%ecx 34: 80 e1 07 and $0x7,%cl 37: 80 c1 03 add $0x3,%cl 3a: 38 c1 cmp %al,%cl 3c: 0f .byte 0xf 3d: 8c .byte 0x8c 3e: 35 .byte 0x35 3f: ff .byte 0xff