syzbot


WARNING in errseq_set (2)

Status: upstream: reported syz repro on 2025/01/10 12:04
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+57f9327d593d301ce2a2@syzkaller.appspotmail.com
First crash: 8d20h, last: 8d20h
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs3?] WARNING in errseq_set (2) 0 (1) 2025/01/10 12:04
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in errseq_set ntfs3 33 158d 646d 0/28 auto-obsoleted due to no activity on 2024/11/17 16:16

Sample crash report:
------------[ cut here ]------------
err = 556
WARNING: CPU: 0 PID: 8876 at lib/errseq.c:75 errseq_set+0xf8/0x120 lib/errseq.c:74
Modules linked in:
CPU: 0 UID: 0 PID: 8876 Comm: syz.3.725 Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:errseq_set+0xf8/0x120 lib/errseq.c:74
Code: 41 5e 41 5f 5d e9 73 d4 2d 07 e8 83 17 dd fc 44 89 e5 eb e7 e8 79 17 dd fc 90 48 c7 c7 80 6e 5f 8c 44 89 fe e8 39 bb 9d fc 90 <0f> 0b 90 90 44 89 e5 eb c8 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c
RSP: 0018:ffffc9000d71f0f0 EFLAGS: 00010246
RAX: 23ddfda9346a3700 RBX: ffff88805aeab7d8 RCX: ffff88803045bc00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 000000000000022c R08: ffffffff81602a82 R09: 1ffff110170c519a
R10: dffffc0000000000 R11: ffffed10170c519b R12: 0000000000000000
R13: 1ffff1100b5d56fb R14: ffff88805aeab908 R15: 000000000000022c
FS:  00007f359c4306c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5ae0e3af98 CR3: 0000000012bb0000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 __filemap_set_wb_err+0x22/0x210 mm/filemap.c:704
 mapping_set_error include/linux/pagemap.h:244 [inline]
 ntfs_resident_writepage+0x12c/0x220 fs/ntfs3/inode.c:883
 write_cache_pages+0xd2/0x230 mm/page-writeback.c:2659
 do_writepages+0x361/0x880 mm/page-writeback.c:2702
 filemap_fdatawrite_wbc mm/filemap.c:397 [inline]
 __filemap_fdatawrite_range mm/filemap.c:430 [inline]
 file_write_and_wait_range+0x2a3/0x3c0 mm/filemap.c:787
 __generic_file_fsync+0x6f/0x1a0 fs/libfs.c:1532
 generic_file_fsync+0x70/0xf0 fs/libfs.c:1573
 generic_write_sync include/linux/fs.h:2904 [inline]
 ntfs_file_write_iter+0x664/0x7a0 fs/ntfs3/file.c:1273
 iter_file_splice_write+0xbfc/0x1510 fs/splice.c:743
 do_splice_from fs/splice.c:941 [inline]
 direct_splice_actor+0x11d/0x220 fs/splice.c:1164
 splice_direct_to_actor+0x588/0xc80 fs/splice.c:1108
 do_splice_direct_actor fs/splice.c:1207 [inline]
 do_splice_direct+0x289/0x3e0 fs/splice.c:1233
 do_sendfile+0x564/0x8a0 fs/read_write.c:1363
 __do_sys_sendfile64 fs/read_write.c:1424 [inline]
 __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1410
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f359b585d29
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f359c430038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f359b776080 RCX: 00007f359b585d29
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000007
RBP: 00007f359b601b08 R08: 0000000000000000 R09: 0000000000000000
R10: 000000007ffff000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f359b776080 R15: 00007ffde2850328
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/06 11:58 upstream ab75170520d4 f3558dbf .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] [mounted in repro #3] [mounted in repro #4] ci-upstream-kasan-gce-root WARNING in errseq_set
* Struck through repros no longer work on HEAD.