syzbot


assertion failed: n >= sizeof(struct kdirent)

Status: fixed on 2019/04/03 04:38
Reported-by: syzbot+fbc1784c73dfdf878652@syzkaller.appspotmail.com
Fix commit: 823453caedeb Remove unnecessary panic() in rread()
First crash: 2331d, last: 2060d

Sample crash report:
kernel panic at kern/src/ns/sysfile.c:719, from core 0: assertion failed: n >= sizeof(struct kdirent)
Stack Backtrace on Core 0:
#01 [<0xffffffffc200a2dc>] in backtrace at src/kdebug.c:220
#02 [<0xffffffffc2009afd>] in _panic at src/init.c:268
#03 [<0xffffffffc203f72b>] in rread at src/ns/sysfile.c:719
#04 [<0xffffffffc203f81b>] in sysread at src/ns/sysfile.c:821
#05 [<0xffffffffc2055f51>] in sys_read at src/syscall.c:1779
#06 [<0xffffffffc2059409>] in syscall at src/syscall.c:2528
#07 [<0xffffffffc20595d4>] in run_local_syscall at src/syscall.c:2563
#08 [<0xffffffffc2059b09>] in prep_syscalls at src/syscall.c:2583
#09 [<0xffffffffc20ab36a>] in sysenter_callwrapper at arch/x86/trap.c:854

Crashes (8834):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/25 16:03 akaros 8dc899e19d0f 375a3e31 .config console log report syz C ci-akaros-main
2018/07/24 20:42 akaros c5f7000db927 9fe4bdc5 .config console log report syz C ci-akaros-main
2018/07/24 20:30 akaros c5f7000db927 9fe4bdc5 .config console log report syz C ci-akaros-main
2018/07/24 15:01 akaros c5f7000db927 9fe4bdc5 .config console log report syz C ci-akaros-main
2018/07/24 14:18 akaros c5f7000db927 9fe4bdc5 .config console log report syz C ci-akaros-main
2018/07/24 13:43 akaros c5f7000db927 9fe4bdc5 .config console log report syz C ci-akaros-main
2018/07/17 04:25 akaros 93b9607ebeff 13761366 .config console log report syz C ci-akaros-main
2018/07/06 12:18 akaros 94fd376914ee 8c2335a2 .config console log report syz C ci-akaros-main
2018/07/06 12:14 akaros 94fd376914ee 8c2335a2 .config console log report syz C ci-akaros-main
2019/04/03 04:10 akaros 5fe486edbcc0 dfd3394d .config console log report ci-akaros-main
2019/04/03 02:50 akaros 5fe486edbcc0 dfd3394d .config console log report ci-akaros-main
2019/04/03 01:37 akaros 5fe486edbcc0 dfd3394d .config console log report ci-akaros-main
2019/04/02 23:20 akaros 5fe486edbcc0 dfd3394d .config console log report ci-akaros-main
2019/04/02 22:09 akaros 5fe486edbcc0 dfd3394d .config console log report ci-akaros-main
2019/04/02 21:18 akaros 5fe486edbcc0 dfd3394d .config console log report ci-akaros-main
2019/04/02 19:54 akaros 5fe486edbcc0 dfd3394d .config console log report ci-akaros-main
2019/04/02 18:51 akaros 5fe486edbcc0 dfd3394d .config console log report ci-akaros-main
2019/04/02 17:01 akaros 5fe486edbcc0 dfd3394d .config console log report ci-akaros-main
2019/04/02 12:40 akaros 5fe486edbcc0 dfd3394d .config console log report ci-akaros-main
2019/04/02 11:20 akaros 5fe486edbcc0 a9ca43d4 .config console log report ci-akaros-main
2019/04/02 09:44 akaros 5fe486edbcc0 a9ca43d4 .config console log report ci-akaros-main
2019/04/02 08:16 akaros 5fe486edbcc0 a9ca43d4 .config console log report ci-akaros-main
2019/04/02 06:38 akaros 5fe486edbcc0 a9ca43d4 .config console log report ci-akaros-main
2019/04/02 04:43 akaros 5fe486edbcc0 a9ca43d4 .config console log report ci-akaros-main
2019/04/02 02:58 akaros 5fe486edbcc0 a9ca43d4 .config console log report ci-akaros-main
2019/04/02 01:45 akaros 5fe486edbcc0 a9ca43d4 .config console log report ci-akaros-main
2019/04/01 23:47 akaros 5fe486edbcc0 a9ca43d4 .config console log report ci-akaros-main
2019/04/01 22:21 akaros 5fe486edbcc0 44fe9159 .config console log report ci-akaros-main
2019/04/01 20:24 akaros 5fe486edbcc0 44fe9159 .config console log report ci-akaros-main
2019/04/01 19:14 akaros 5fe486edbcc0 44fe9159 .config console log report ci-akaros-main
2019/04/01 18:40 akaros 5fe486edbcc0 44fe9159 .config console log report ci-akaros-main
2019/04/01 17:03 akaros 5fe486edbcc0 44fe9159 .config console log report ci-akaros-main
2019/04/01 15:45 akaros 5fe486edbcc0 44fe9159 .config console log report ci-akaros-main
2019/04/01 13:43 akaros 5fe486edbcc0 44fe9159 .config console log report ci-akaros-main
2019/04/01 12:24 akaros 5fe486edbcc0 44fe9159 .config console log report ci-akaros-main
2019/04/01 09:38 akaros 5fe486edbcc0 ccf2355a .config console log report ci-akaros-main
2019/04/01 08:37 akaros 5fe486edbcc0 ccf2355a .config console log report ci-akaros-main
2019/04/01 07:53 akaros 5fe486edbcc0 ccf2355a .config console log report ci-akaros-main
2019/04/01 06:41 akaros 5fe486edbcc0 ccf2355a .config console log report ci-akaros-main
2019/04/01 05:35 akaros 5fe486edbcc0 ccf2355a .config console log report ci-akaros-main
2019/04/01 03:42 akaros 5fe486edbcc0 ccf2355a .config console log report ci-akaros-main
2019/04/01 02:29 akaros 5fe486edbcc0 ccf2355a .config console log report ci-akaros-main
2019/04/01 01:26 akaros 5fe486edbcc0 ccf2355a .config console log report ci-akaros-main
2019/04/01 00:07 akaros 5fe486edbcc0 ccf2355a .config console log report ci-akaros-main
2019/03/31 22:33 akaros 5fe486edbcc0 ccf2355a .config console log report ci-akaros-main
2019/03/31 19:39 akaros 5fe486edbcc0 0c624d4d .config console log report ci-akaros-main
2019/03/31 17:29 akaros 5fe486edbcc0 0c624d4d .config console log report ci-akaros-main
2019/03/31 16:06 akaros 5fe486edbcc0 0c624d4d .config console log report ci-akaros-main
2019/03/31 14:22 akaros 5fe486edbcc0 0c624d4d .config console log report ci-akaros-main
2019/03/31 12:30 akaros 5fe486edbcc0 0c624d4d .config console log report ci-akaros-main
2019/03/31 11:02 akaros 5fe486edbcc0 0c624d4d .config console log report ci-akaros-main
2019/03/31 10:42 akaros 5fe486edbcc0 0c624d4d .config console log report ci-akaros-main
2019/03/31 09:34 akaros 5fe486edbcc0 0c624d4d .config console log report ci-akaros-main
2019/03/31 08:07 akaros 5fe486edbcc0 0c624d4d .config console log report ci-akaros-main
2018/07/06 12:09 akaros 94fd376914ee 8c2335a2 .config console log report ci-akaros-main
* Struck through repros no longer work on HEAD.