syzbot


WARNING in errseq_set

Status: upstream: reported on 2023/04/10 00:00
Labels: ntfs3 (incorrect?)
Reported-by: syzbot+e08a9f98656d7a208859@syzkaller.appspotmail.com
First crash: 56d, last: 25d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs3?] WARNING in errseq_set 0 (1) 2023/04/10 00:00

Sample crash report:
------------[ cut here ]------------
err = 556
WARNING: CPU: 1 PID: 11315 at lib/errseq.c:75 errseq_set+0xf2/0x120 lib/errseq.c:74
Modules linked in:
CPU: 1 PID: 11315 Comm: syz-executor.5 Not tainted 6.3.0-rc7-syzkaller-00043-gaf67688dca57 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
RIP: 0010:errseq_set+0xf2/0x120 lib/errseq.c:74
Code: fd 89 e8 5b 41 5c 41 5e 41 5f 5d c3 e8 07 37 5a fd 44 89 e5 eb eb e8 fd 36 5a fd 48 c7 c7 40 c1 37 8b 44 89 fe e8 ae 3d 22 fd <0f> 0b 44 89 e5 eb d0 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 2a ff
RSP: 0018:ffffc900038ef610 EFLAGS: 00010246
RAX: dec29012a8c1ae00 RBX: ffff8880798e7a78 RCX: 0000000000040000
RDX: ffffc9000ae52000 RSI: 0000000000023442 RDI: 0000000000023443
RBP: 000000000000022c R08: ffffffff81528012 R09: ffffed101730515b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 1ffff1100f31cf4f R14: ffff8880798e7c40 R15: 000000000000022c
FS:  00007ff40446d700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00e4a7000 CR3: 0000000077f1e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __filemap_set_wb_err+0x22/0x1e0 mm/filemap.c:698
 mapping_set_error include/linux/pagemap.h:224 [inline]
 ntfs_resident_writepage+0x90/0x150 fs/ntfs3/inode.c:848
 write_cache_pages+0x89e/0x12c0 mm/page-writeback.c:2473
 do_writepages+0x3a6/0x670 mm/page-writeback.c:2551
 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:390
 __filemap_fdatawrite_range mm/filemap.c:423 [inline]
 file_write_and_wait_range+0x20f/0x300 mm/filemap.c:781
 __generic_file_fsync+0x72/0x190 fs/libfs.c:1132
 generic_file_fsync+0x73/0xf0 fs/libfs.c:1173
 generic_write_sync include/linux/fs.h:2452 [inline]
 ntfs_file_write_iter+0x5c6/0x6d0 fs/ntfs3/file.c:1075
 call_write_iter include/linux/fs.h:1851 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x7b2/0xbb0 fs/read_write.c:584
 ksys_write+0x1a0/0x2c0 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff40368c169
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff40446d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ff4037abf80 RCX: 00007ff40368c169
RDX: 000000000000002f RSI: 0000000020000040 RDI: 0000000000000004
RBP: 00007ff4036e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcfac387af R14: 00007ff40446d300 R15: 0000000000022000
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Manager Title
2023/04/18 19:44 upstream af67688dca57 d931e9f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in errseq_set
2023/04/05 23:52 upstream 99ddf2254feb 8b834965 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in errseq_set
2023/05/06 08:35 linux-next 83e5775d7afd 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in errseq_set
* Struck through repros no longer work on HEAD.