loop0: detected capacity change from 0 to 4096 ntfs3(loop0): Different NTFS sector size (1024) and media sector size (512). ntfs3(loop0): Mark volume as dirty due to NTFS errors ------------[ cut here ]------------ err = 556 WARNING: lib/errseq.c:76 at errseq_set+0xdd/0x110 lib/errseq.c:75, CPU#0: syz.0.0/5325 Modules linked in: CPU: 0 UID: 0 PID: 5325 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 e9 5a 9b ff 06 cc e8 04 d7 f1 fc 41 89 ec eb e5 e8 fa d6 f1 fc 48 8d 3d d3 52 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:ffffc9000efcf280 EFLAGS: 00010283 RAX: ffffffff84d4aad6 RBX: 000000000000022c RCX: 0000000000100000 RDX: ffffc90020001000 RSI: 000000000000022c RDI: ffffffff9062fdb0 RBP: 0000000000000000 R08: ffffea000136d347 R09: 1ffffd400026da68 R10: dffffc0000000000 R11: fffff9400026da69 R12: ffff888041968098 R13: ffffea000136d340 R14: ffff888041968578 R15: ffff888041968570 FS: 00007f7b0e9846c0(0000) GS:ffff88808c54a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa606dae000 CR3: 000000001239b000 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 iter_file_splice_write+0xa31/0x1240 fs/splice.c:736 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0x101/0x160 fs/splice.c:1159 splice_direct_to_actor+0x57b/0xcb0 fs/splice.c:1103 do_splice_direct_actor fs/splice.c:1202 [inline] do_splice_direct+0x195/0x290 fs/splice.c:1228 do_sendfile+0x52e/0x7c0 fs/read_write.c:1371 __do_sys_sendfile64 fs/read_write.c:1432 [inline] __se_sys_sendfile64+0x144/0x1a0 fs/read_write.c:1418 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:0x7f7b0db9de59 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:00007f7b0e983fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f7b0de25fa0 RCX: 00007f7b0db9de59 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000006 RBP: 00007f7b0dc33e6f R08: 0000000000000000 R09: 0000000000000000 R10: 000000000003ffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b0de26038 R14: 00007f7b0de25fa0 R15: 00007ffcd155c458 ---------------- 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: e9 5a 9b ff 06 jmp 0x6ff9b6b 11: cc int3 12: e8 04 d7 f1 fc call 0xfcf1d71b 17: 41 89 ec mov %ebp,%r12d 1a: eb e5 jmp 0x1 1c: e8 fa d6 f1 fc call 0xfcf1d71b 21: 48 8d 3d d3 52 8e 0b lea 0xb8e52d3(%rip),%rdi # 0xb8e52fb 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