syzbot


WARNING in errseq_set

Status: upstream: reported on 2023/04/10 00:00
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+e08a9f98656d7a208859@syzkaller.appspotmail.com
First crash: 249d, last: 32d
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: 0 PID: 7325 at lib/errseq.c:75 errseq_set+0xf2/0x120 lib/errseq.c:74
Modules linked in:
CPU: 0 PID: 7325 Comm: syz-executor.4 Not tainted 6.6.0-syzkaller-15365-g305230142ae0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/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 77 eb 0b fd 44 89 e5 eb eb e8 6d eb 0b fd 48 c7 c7 00 72 bd 8b 44 89 fe e8 4e a9 d1 fc <0f> 0b 44 89 e5 eb d0 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 2a ff
RSP: 0018:ffffc90014d075f0 EFLAGS: 00010246
RAX: 4d8a37925aba3800 RBX: ffff88803d2bebb8 RCX: 0000000000040000
RDX: ffffc9000b4a9000 RSI: 000000000001f2cb RDI: 000000000001f2cc
RBP: 000000000000022c R08: ffffffff81547c82 R09: 1ffff11017305172
R10: dffffc0000000000 R11: ffffed1017305173 R12: 0000000000000000
R13: 1ffff11007a57d77 R14: ffff88803d2bed80 R15: 000000000000022c
FS:  00007f00bc62d6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555557488938 CR3: 000000001e661000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __filemap_set_wb_err+0x22/0x1e0 mm/filemap.c:695
 mapping_set_error include/linux/pagemap.h:229 [inline]
 ntfs_resident_writepage+0x90/0x150 fs/ntfs3/inode.c:865
 write_cache_pages+0x827/0x13f0 mm/page-writeback.c:2474
 do_writepages+0x3a6/0x670 mm/page-writeback.c:2553
 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:387
 __filemap_fdatawrite_range mm/filemap.c:420 [inline]
 file_write_and_wait_range+0x20f/0x300 mm/filemap.c:778
 __generic_file_fsync+0x72/0x190 fs/libfs.c:1440
 generic_file_fsync+0x73/0xf0 fs/libfs.c:1481
 generic_write_sync include/linux/fs.h:2653 [inline]
 ntfs_file_write_iter+0x5c6/0x6d0 fs/ntfs3/file.c:1088
 call_write_iter include/linux/fs.h:2020 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x792/0xb20 fs/read_write.c:584
 ksys_write+0x1a0/0x2c0 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f00bb87cae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f00bc62d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f00bb99bf80 RCX: 00007f00bb87cae9
RDX: 000000000000000b RSI: 0000000020002280 RDI: 0000000000000000
RBP: 00007f00bb8c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f00bb99bf80 R15: 00007fff9c3c37f8
 </TASK>

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/08 21:01 upstream 305230142ae0 b93f63e8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in errseq_set
2023/11/07 17:11 upstream be3ca57cfb77 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in errseq_set
2023/11/05 10:25 upstream aea6bf908d73 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in errseq_set
2023/11/01 15:06 upstream 89ed67ef126c 69904c9f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in errseq_set
2023/07/26 15:58 upstream 18b44bc5a672 41fe1bae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in errseq_set
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.