netbsd boot error: fault in supervisor mode

6 views
Skip to first unread message

syzbot

unread,
Apr 2, 2022, 3:54:33 AM4/2/22
to syzkaller-...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 862c3a89c264 lint: add type details to message about 'size..
git tree: netbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=14ef966f700000
kernel config: https://syzkaller.appspot.com/x/.config?x=fab579639ba4bf0a
dashboard link: https://syzkaller.appspot.com/bug?extid=8628fc57e2ce939b23e5
compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+8628fc...@syzkaller.appspotmail.com

[ 1.0000000] fatal privileged instruction fault in supervisor mode
[ 1.0000000] trap type 0 code 0 rip 0xffffffff8022f4ab cs 0x8 rflags 0x10246 cr2 0 ilevel 0x8 rsp 0xffffffff838674c0
[ 1.0000000] curlwp 0xffffffff8333bd40 pid 0.0 lowest kstack 0xffffffff838602c0
kernel: privileged instruction fault trap, code=0
Stopped in pid 0.0 (system) at netbsd:xrstor+0x1b: fxsavel
xrstor() at netbsd:xrstor+0x1b sys/arch/amd64/compile/obj/GENERIC_SYZKALLER/./x86/cpufunc.h:480
fpu_area_restore() at netbsd:fpu_area_restore+0x159 sys/arch/x86/x86/fpu.c:295
fpu_kern_leave() at netbsd:fpu_kern_leave+0xc4 sys/arch/x86/x86/fpu.c:431
aesni_probe() at netbsd:aesni_probe+0x11e sys/crypto/aes/arch/x86/aes_ni.c:304
aes_selftest() at netbsd:aes_selftest+0x98 sys/crypto/aes/aes_selftest.c:547
aes_modcmd() at netbsd:aes_modcmd+0x311 aes_select sys/crypto/aes/aes_impl.c:108 [inline]
aes_modcmd() at netbsd:aes_modcmd+0x311 sys/crypto/aes/aes_impl.c:136
module_do_builtin() at netbsd:module_do_builtin+0x3f3 sys/kern/kern_module.c:940
module_do_builtin() at netbsd:module_do_builtin+0x327 sys/kern/kern_module.c:925
module_do_builtin() at netbsd:module_do_builtin+0x327 sys/kern/kern_module.c:925
module_init_class() at netbsd:module_init_class+0x2f1 sys/kern/kern_module.c:596
main() at netbsd:main+0x433 configure sys/kern/init_main.c:775 [inline]
main() at netbsd:main+0x433 sys/kern/init_main.c:550
ds 74e0
es 9a40
fs 8
gs d480
rdi ffffffff82010b80 zero_fpu.0
rsi 7
rbp ffffffff838674d0
rbx 7
rdx 0
rcx ffffffff8022fa1f fpu_area_restore+0x130
--db_more--


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
Reply all
Reply to author
Forward
0 new messages