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/$Reparse. ------------[ cut here ]------------ err = 556 WARNING: lib/errseq.c:76 at errseq_set+0xdd/0x110 lib/errseq.c:75, CPU#0: syz.0.0/5331 Modules linked in: CPU: 0 UID: 0 PID: 5331 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+0xdf/0x110 lib/errseq.c:75 Code: fc 44 89 e0 5b 41 5c 41 5e 41 5f 5d c3 cc cc cc cc cc e8 54 ad f1 fc 41 89 ec eb e5 e8 4a ad f1 fc 48 8d 3d 23 30 8e 0b 89 de <67> 48 0f b9 3a 41 89 ec eb cd 44 89 f1 80 e1 07 80 c1 03 38 c1 0f RSP: 0018:ffffc9000dd27700 EFLAGS: 00010293 RAX: ffffffff84d4d486 RBX: 000000000000022c RCX: ffff88801aef2540 RDX: 0000000000000000 RSI: 000000000000022c RDI: ffffffff906304b0 RBP: 0000000000000000 R08: ffffea00014953c7 R09: 1ffffd4000292a78 R10: dffffc0000000000 R11: fffff94000292a79 R12: ffff888052837898 R13: ffffea00014953c0 R14: ffff888052837d78 R15: ffff888052837d70 FS: 00007f5322e996c0(0000) GS:ffff88808c549000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f49d056e000 CR3: 0000000044135000 CR4: 0000000000352ef0 Call Trace: __filemap_set_wb_err+0x24/0x1e0 mm/filemap.c:703 mapping_set_error include/linux/pagemap.h:244 [inline] ntfs_writepages+0x2c6/0x480 fs/ntfs3/inode.c:1022 do_writepages+0x338/0x560 mm/page-writeback.c:2571 filemap_writeback mm/filemap.c:387 [inline] filemap_fdatawrite_range mm/filemap.c:412 [inline] file_write_and_wait_range+0x36e/0x440 mm/filemap.c:786 ntfs_file_fsync+0xf9/0x250 fs/ntfs3/file.c:1504 generic_write_sync+0x1b3/0x270 include/linux/fs.h:2666 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5321f9de99 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:00007f5322e98fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5322225fa0 RCX: 00007f5321f9de99 RDX: 0000000000000004 RSI: 0000200000000000 RDI: 000000000000000c RBP: 00007f5322033eaf R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5322226038 R14: 00007f5322225fa0 R15: 00007fffec8cc5e8 ---------------- Code disassembly (best guess): 0: fc cld 1: 44 89 e0 mov %r12d,%eax 4: 5b pop %rbx 5: 41 5c pop %r12 7: 41 5e pop %r14 9: 41 5f pop %r15 b: 5d pop %rbp c: c3 ret d: cc int3 e: cc int3 f: cc int3 10: cc int3 11: cc int3 12: e8 54 ad f1 fc call 0xfcf1ad6b 17: 41 89 ec mov %ebp,%r12d 1a: eb e5 jmp 0x1 1c: e8 4a ad f1 fc call 0xfcf1ad6b 21: 48 8d 3d 23 30 8e 0b lea 0xb8e3023(%rip),%rdi # 0xb8e304b 28: 89 de mov %ebx,%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 41 89 ec mov %ebp,%r12d 32: eb cd jmp 0x1 34: 44 89 f1 mov %r14d,%ecx 37: 80 e1 07 and $0x7,%cl 3a: 80 c1 03 add $0x3,%cl 3d: 38 c1 cmp %al,%cl 3f: 0f .byte 0xf