syzbot


netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM

Status: fixed on 2022/04/19 15:06
Reported-by: syzbot+e9b3550af985b6557414@syzkaller.appspotmail.com
Fix commit: 22a2be59f9a4 cgd(4): Remove recently added dependency on adiantum.
First crash: 965d, last: 965d

Sample crash report:
[   1.0000000] panic: kernel diagnostic assertion "ci->ci_ilevel <= IPL_VM" failed: file "/syzkaller/managers/ci2-netbsd-kmsan/kernel/sys/arch/x86/x86/fpu.c", line 383 ilevel=8
[   1.0000000] cpu0: Begin traceback...
[   1.0000000] vpanic() at netbsd:vpanic+0x9ec
[   1.0000000] kern_assert() at netbsd:kern_assert+0x228
[   1.0000000] fpu_kern_enter() at netbsd:fpu_kern_enter+0x749
[   1.0000000] aesni_probe() at netbsd:aesni_probe+0x9a
[   1.0000000] aes_selftest() at netbsd:aes_selftest+0x6f sys/crypto/aes/aes_selftest.c:547
[   1.0000000] aes_modcmd() at netbsd:aes_modcmd+0x75d aes_select sys/crypto/aes/aes_impl.c:108 [inline]
[   1.0000000] aes_modcmd() at netbsd:aes_modcmd+0x75d sys/crypto/aes/aes_impl.c:136
[   1.0000000] module_do_builtin() at netbsd:module_do_builtin+0x1739 sys/kern/kern_module.c:940
[   1.0000000] module_do_builtin() at netbsd:module_do_builtin+0xe67 sys/kern/kern_module.c:925
[   1.0000000] module_do_builtin() at netbsd:module_do_builtin+0xe67 sys/kern/kern_module.c:925
[   1.0000000] module_init_class() at netbsd:module_init_class+0x393 sys/kern/kern_module.c:596
[   1.0000000] main() at netbsd:main+0xab7 configure sys/kern/init_main.c:775 [inline]
[   1.0000000] main() at netbsd:main+0xab7 sys/kern/init_main.c:550
[   1.0000000] cpu0: End traceback...
[   1.0000000] fatal breakpoint trap in supervisor mode
[   1.0000000] trap type 1 code 0 rip 0xffffffff8022288d cs 0x8 rflags 0x282 cr2 0 ilevel 0x8 rsp 0xffffffff86c61190
[   1.0000000] curlwp 0xffffffff8686ab80 pid 0.0 lowest kstack 0xffffffff86c5a2c0
Stopped in pid 0.0 (system) at  netbsd:breakpoint+0x5:  leave
breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd:vpanic+0x9ec
kern_assert() at netbsd:kern_assert+0x228
fpu_kern_enter() at netbsd:fpu_kern_enter+0x749
aesni_probe() at netbsd:aesni_probe+0x9a
aes_selftest() at netbsd:aes_selftest+0x6f sys/crypto/aes/aes_selftest.c:547
aes_modcmd() at netbsd:aes_modcmd+0x75d aes_select sys/crypto/aes/aes_impl.c:108 [inline]
aes_modcmd() at netbsd:aes_modcmd+0x75d sys/crypto/aes/aes_impl.c:136
module_do_builtin() at netbsd:module_do_builtin+0x1739 sys/kern/kern_module.c:940
module_do_builtin() at netbsd:module_do_builtin+0xe67 sys/kern/kern_module.c:925
module_do_builtin() at netbsd:module_do_builtin+0xe67 sys/kern/kern_module.c:925
module_init_class() at netbsd:module_init_class+0x393 sys/kern/kern_module.c:596
main() at netbsd:main+0xab7 configure sys/kern/init_main.c:775 [inline]
main() at netbsd:main+0xab7 sys/kern/init_main.c:550
ds          a918
es          46e3
fs          1180
gs          0
rdi         5
rsi         0
rbp         ffffffff86c61190
rbx         0
rdx         1
rcx         1910
--db_more--

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/04/01 02:07 netbsd 74849b7b725a 68fc921a .config console log report ci2-netbsd-kmsan netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/04/01 02:07 netbsd 74849b7b725a 68fc921a .config console log report ci2-netbsd-kmsan netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/04/01 02:07 netbsd 74849b7b725a 68fc921a .config console log report ci2-netbsd-kmsan netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/04/01 01:20 netbsd 74849b7b725a 68fc921a .config console log report ci2-netbsd-kubsan netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/04/01 01:20 netbsd 74849b7b725a 68fc921a .config console log report ci2-netbsd-kubsan netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/04/01 01:20 netbsd 74849b7b725a 68fc921a .config console log report ci2-netbsd-kubsan netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/04/01 01:00 netbsd 74849b7b725a 68fc921a .config console log report ci2-netbsd netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/04/01 01:00 netbsd 74849b7b725a 68fc921a .config console log report ci2-netbsd netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/04/01 01:00 netbsd 74849b7b725a 68fc921a .config console log report ci2-netbsd netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/04/01 00:22 netbsd 74849b7b725a c4c32d8c .config console log report ci2-netbsd-kmsan netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/04/01 00:22 netbsd 74849b7b725a c4c32d8c .config console log report ci2-netbsd-kmsan netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/04/01 00:22 netbsd 74849b7b725a c4c32d8c .config console log report ci2-netbsd-kmsan netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/03/31 23:37 netbsd 74849b7b725a c4c32d8c .config console log report ci2-netbsd netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/03/31 23:37 netbsd 74849b7b725a c4c32d8c .config console log report ci2-netbsd netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/03/31 23:37 netbsd 74849b7b725a c4c32d8c .config console log report ci2-netbsd netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/03/31 23:17 netbsd 74849b7b725a c4c32d8c .config console log report ci2-netbsd-kubsan netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/03/31 23:17 netbsd 74849b7b725a c4c32d8c .config console log report ci2-netbsd-kubsan netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
2022/03/31 23:17 netbsd 74849b7b725a c4c32d8c .config console log report ci2-netbsd-kubsan netbsd boot error: assert failed: ci->ci_ilevel <= IPL_VM
* Struck through repros no longer work on HEAD.