syzbot


assertion failed: tree_file_is_dir(new_parent)

Status: fixed on 2019/04/30 18:49
Reported-by: syzbot+7e385d5c8a674a08d28a@syzkaller.appspotmail.com
Fix commit: d48eeaff50a4 9ns: ensure the parent of a rename target is a directory
First crash: 2320d, last: 2032d

Sample crash report:
kernel panic at kern/src/ns/tree_file.c:828, from core 1: assertion failed: tree_file_is_dir(new_parent)
Stack Backtrace on Core 1:
#01 [<0xffffffffc200a2dc>] in backtrace at src/kdebug.c:220
#02 [<0xffffffffc2009afd>] in _panic at src/init.c:268
#03 [<0xffffffffc2043c23>] in tree_file_rename at src/ns/tree_file.c:828
#04 [<0xffffffffc2043db7>] in tree_chan_rename at src/ns/tree_file.c:923
#05 [<0xffffffffc20335d8>] in __namec_from at src/ns/chan.c:1294
#06 [<0xffffffffc2033fdf>] in namec at src/ns/chan.c:1516
#07 [<0xffffffffc203de41>] in sysrename at src/ns/sysfile.c:874
#08 [<0xffffffffc2055cc2>] in sys_rename at src/syscall.c:2349
#09 [<0xffffffffc2059409>] in syscall at src/syscall.c:2528
#10 [<0xffffffffc20595d4>] in run_local_syscall at src/syscall.c:2563
#11 [<0xffffffffc2059b09>] in prep_syscalls at src/syscall.c:2583
#12 [<0xffffffffc20ab36a>] in sysenter_callwrapper at arch/x86/trap.c:854

Crashes (2912):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/25 16:41 akaros 8dc899e19d0f 375a3e31 .config console log report syz C ci-akaros-main
2018/07/24 11:35 akaros c5f7000db927 9fe4bdc5 .config console log report syz C ci-akaros-main
2018/07/17 04:42 akaros 93b9607ebeff 13761366 .config console log report syz C ci-akaros-main
2019/04/30 18:01 akaros 2a2a3b425db1 20f16bef .config console log report ci-akaros-main
2019/04/30 12:22 akaros 2a2a3b425db1 20f16bef .config console log report ci-akaros-main
2019/04/30 08:11 akaros 2a2a3b425db1 20f16bef .config console log report ci-akaros-main
2019/04/30 06:28 akaros 2a2a3b425db1 20f16bef .config console log report ci-akaros-main
2019/04/30 05:05 akaros 2a2a3b425db1 f46aabc8 .config console log report ci-akaros-main
2019/04/30 01:21 akaros 2a2a3b425db1 f46aabc8 .config console log report ci-akaros-main
2019/04/29 23:35 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/29 18:31 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/29 16:04 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/29 12:03 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/29 10:19 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/29 07:39 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/29 04:24 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/29 03:18 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/29 01:27 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/28 22:36 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/28 20:28 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/28 17:03 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/28 14:55 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/28 11:36 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/28 08:33 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/28 02:17 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/28 00:42 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/27 23:33 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/27 16:10 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/27 13:39 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/27 09:07 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/27 07:15 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/27 05:50 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/26 21:37 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/26 20:33 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/26 15:57 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/26 14:00 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/26 09:04 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/26 06:26 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/26 02:22 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/26 01:09 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/25 22:45 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/25 20:17 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/25 19:00 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/25 14:25 akaros fbc86e4fb740 f46aabc8 .config console log report ci-akaros-main
2019/04/25 13:00 akaros fbc86e4fb740 8e3c52b1 .config console log report ci-akaros-main
2018/07/16 17:44 akaros 93b9607ebeff 40cb0c9a .config console log report ci-akaros-main
* Struck through repros no longer work on HEAD.