syzbot


WARNING in filldir64

Status: fixed on 2019/11/04 14:50
Subsystems: exfat
[Documentation on labels]
Reported-by: syzbot+3031f712c7ad5dd4d926@syzkaller.appspotmail.com
Fix commit: b9959c7a347d filldir[64]: remove WARN_ON_ONCE() for bad directory entries
First crash: 1721d, last: 1710d
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
WARNING in verify_dirent_name exfat 222 1707d 1719d 0/27 closed as dup on 2019/10/07 19:08
Discussions (8)
Title Replies (including bot) Last reply
[PATCH 4.19 000/114] 4.19.93-stable review 134 (134) 2020/02/07 10:19
[PATCH 3.16 00/63] 3.16.81-rc1 review 68 (68) 2020/01/10 16:01
[PATCH 4.14 0/2] Backport readdir sanity checking patches 14 (14) 2020/01/07 22:09
[PATCH 4.4 000/137] 4.4.208-stable review 143 (143) 2020/01/04 12:32
[PATCH 4.14 00/91] 4.14.162-stable review 99 (99) 2020/01/03 22:01
[PATCH 4.9 000/171] 4.9.208-stable review 176 (176) 2020/01/03 21:51
[PATCH 5.3 000/197] 5.3.8-stable review 203 (203) 2019/10/29 13:03
WARNING in filldir64 4 (5) 2019/10/07 19:24

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 26444 at fs/readdir.c:110 verify_dirent_name fs/readdir.c:110 [inline]
WARNING: CPU: 1 PID: 26444 at fs/readdir.c:110 filldir64+0x4f4/0x5f0 fs/readdir.c:316
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 26444 Comm: syz-executor.0 Not tainted 5.4.0-rc3+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1d8/0x2f8 lib/dump_stack.c:113
 panic+0x264/0x7a9 kernel/panic.c:221
 __warn+0x20e/0x210 kernel/panic.c:582
 report_bug+0x1b6/0x2f0 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 do_error_trap+0xd7/0x440 arch/x86/kernel/traps.c:272
 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:291
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1028
RIP: 0010:verify_dirent_name fs/readdir.c:110 [inline]
RIP: 0010:filldir64+0x4f4/0x5f0 fs/readdir.c:316
Code: 1e 48 8b 45 90 42 8a 04 20 84 c0 0f 85 cf 00 00 00 48 8b 45 c0 44 29 38 31 c0 eb 81 e8 15 25 b9 ff 0f 0b eb 07 e8 0c 25 b9 ff <0f> 0b 49 83 c6 24 4c 89 f0 48 c1 e8 03 42 8a 04 20 84 c0 0f 85 bd
RSP: 0018:ffff8880a0cbfb90 EFLAGS: 00010283
RAX: ffffffff81ba1384 RBX: ffff8880a0cbfd30 RCX: 0000000000040000
RDX: ffffc90005f4d000 RSI: 0000000000001861 RDI: 0000000000001862
RBP: ffff8880a0cbfc10 R08: ffffffff81ba0ec4 R09: 0000000000000004
R10: fffffbfff1120b15 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000004 R14: ffff8880a0cbfe88 R15: 000000000000000c
 dir_emit include/linux/fs.h:3542 [inline]
 __fat_readdir+0x1320/0x1a50 fs/fat/dir.c:677
 fat_readdir+0x46/0x50 fs/fat/dir.c:704
 iterate_dir+0x2a4/0x520 fs/readdir.c:67
 ksys_getdents64+0x1ea/0x3f0 fs/readdir.c:372
 __do_sys_getdents64 fs/readdir.c:391 [inline]
 __se_sys_getdents64 fs/readdir.c:388 [inline]
 __x64_sys_getdents64+0x7a/0x90 fs/readdir.c:388
 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459a59
Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fa0d5912c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459a59
RDX: 0000000000001000 RSI: 00000000200005c0 RDI: 0000000000000006
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa0d59136d4
R13: 00000000004c0535 R14: 00000000004d2d38 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (76):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/10/17 12:37 upstream bc88f85c6c09 8c88c9c1 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/17 02:17 upstream bc88f85c6c09 8c88c9c1 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/16 10:55 upstream 3b1f00aceb7a d4ea592f .config console log report ci-upstream-kasan-gce-smack-root
2019/10/16 09:25 upstream 3b1f00aceb7a d4ea592f .config console log report ci-upstream-kasan-gce-smack-root
2019/10/16 07:27 upstream 3b1f00aceb7a d4ea592f .config console log report ci-upstream-kasan-gce-smack-root
2019/10/15 18:10 upstream 5bc52f64e884 b5268b89 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/15 15:46 upstream 5bc52f64e884 b5268b89 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/15 08:30 upstream 5bc52f64e884 05ad7292 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/14 16:59 upstream 4f5cafb5cb84 05ad7292 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/14 16:19 upstream 4f5cafb5cb84 05ad7292 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/13 19:47 upstream da94001239cc 2f661ec4 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/13 15:50 upstream da94001239cc 2f661ec4 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/12 19:41 upstream 1c0cc5f1ae5e 426631dd .config console log report ci-upstream-kasan-gce-smack-root
2019/10/12 00:51 upstream 9e208aa06c21 426631dd .config console log report ci-upstream-kasan-gce-smack-root
2019/10/11 19:38 upstream 9e208aa06c21 426631dd .config console log report ci-upstream-kasan-gce-smack-root
2019/10/11 19:36 upstream 9e208aa06c21 426631dd .config console log report ci-upstream-kasan-gce-smack-root
2019/10/11 19:36 upstream 9e208aa06c21 426631dd .config console log report ci-upstream-kasan-gce-smack-root
2019/10/11 10:32 upstream fb20da6af705 1a3bad90 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/11 10:31 upstream fb20da6af705 1a3bad90 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/11 10:31 upstream fb20da6af705 1a3bad90 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/11 10:27 upstream fb20da6af705 1a3bad90 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/11 10:24 upstream fb20da6af705 1a3bad90 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/11 10:23 upstream fb20da6af705 1a3bad90 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/11 01:54 upstream fb20da6af705 1a3bad90 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/11 01:53 upstream fb20da6af705 1a3bad90 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/11 01:12 upstream fb20da6af705 1a3bad90 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/11 01:12 upstream fb20da6af705 1a3bad90 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/11 01:06 upstream fb20da6af705 1a3bad90 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/11 01:06 upstream fb20da6af705 1a3bad90 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/09 21:40 upstream e3280b54afed 312c6a5a .config console log report ci-upstream-kasan-gce-smack-root
2019/10/09 11:54 upstream e3280b54afed 312c6a5a .config console log report ci-upstream-kasan-gce-smack-root
2019/10/09 11:46 upstream e3280b54afed 312c6a5a .config console log report ci-upstream-kasan-gce-smack-root
2019/10/09 01:46 upstream eda57a0e4299 b1ebbfef .config console log report ci-upstream-kasan-gce-smack-root
2019/10/09 01:45 upstream eda57a0e4299 b1ebbfef .config console log report ci-upstream-kasan-gce-smack-root
2019/10/09 01:40 upstream eda57a0e4299 b1ebbfef .config console log report ci-upstream-kasan-gce-smack-root
2019/10/09 01:38 upstream eda57a0e4299 b1ebbfef .config console log report ci-upstream-kasan-gce-smack-root
2019/10/09 01:30 upstream eda57a0e4299 b1ebbfef .config console log report ci-upstream-kasan-gce-smack-root
2019/10/09 01:27 upstream eda57a0e4299 b1ebbfef .config console log report ci-upstream-kasan-gce-smack-root
2019/10/09 01:27 upstream eda57a0e4299 b1ebbfef .config console log report ci-upstream-kasan-gce-smack-root
2019/10/07 02:09 upstream b212921b13bd f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/07 02:08 upstream b212921b13bd f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/07 02:07 upstream b212921b13bd f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/07 02:05 upstream b212921b13bd f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/07 02:02 upstream b212921b13bd f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/07 02:02 upstream b212921b13bd f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/06 20:36 upstream 43b815c6a8e7 f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/06 20:35 upstream 43b815c6a8e7 f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/06 20:31 upstream 43b815c6a8e7 f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/06 20:26 upstream 43b815c6a8e7 f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/06 20:24 upstream 43b815c6a8e7 f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/06 10:50 upstream 43b815c6a8e7 f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/06 10:49 upstream 43b815c6a8e7 f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/06 10:26 upstream 43b815c6a8e7 f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/06 09:38 upstream 43b815c6a8e7 f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/06 09:19 upstream 43b815c6a8e7 f3f7d9c8 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.