netbsd boot error: assert failed: curlwp->l_pflag & LP_BOUND

0 views
Skip to first unread message

syzbot

unread,
Mar 24, 2022, 5:04:20 AM3/24/22
to syzkaller-...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 365de6249647 Add initial support for Intel GPIO chips
git tree: netbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=151308a5700000
kernel config: https://syzkaller.appspot.com/x/.config?x=739e57438eb9ed9e
dashboard link: https://syzkaller.appspot.com/bug?extid=ad6408154611a8bce03e
compiler: Debian clang version 11.0.1-2

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

[ 1.1250784] panic: kernel diagnostic assertion "curlwp->l_pflag & LP_BOUND" failed: file "/syzkaller/managers/ci2-netbsd-kmsan/kernel/sys/kern/kern_entropy.c", line 740
[ 1.1410346] cpu0: Begin traceback...
[ 1.1538094] vpanic() at netbsd:vpanic+0x9ec
[ 1.1938584] kern_assert() at netbsd:kern_assert+0x228
[ 1.2339174] entropy_account_cpu() at netbsd:entropy_account_cpu+0x50a
[ 1.2739671] xc_broadcast() at netbsd:xc_broadcast+0x2fc
[ 1.3040123] rnd_init_softint() at netbsd:rnd_init_softint+0x239 entropy_init_late sys/kern/kern_entropy.c:471 [inline]
[ 1.3040123] rnd_init_softint() at netbsd:rnd_init_softint+0x239 sys/kern/kern_entropy.c:2488
[ 1.3440613] main() at netbsd:main+0xbe4 sys/kern/init_main.c:559
[ 1.3540751] cpu0: End traceback...
[ 1.3540751] fatal breakpoint trap in supervisor mode
[ 1.3658082] trap type 1 code 0 rip 0xffffffff8022288d cs 0x8 rflags 0x286 cr2 0 ilevel 0 rsp 0xffffffff86c61af0
[ 1.3777848] curlwp 0xffffffff8686ab00 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
entropy_account_cpu() at netbsd:entropy_account_cpu+0x50a
xc_broadcast() at netbsd:xc_broadcast+0x2fc
rnd_init_softint() at netbsd:rnd_init_softint+0x239 entropy_init_late sys/kern/kern_entropy.c:471 [inline]
rnd_init_softint() at netbsd:rnd_init_softint+0x239 sys/kern/kern_entropy.c:2488
main() at netbsd:main+0xbe4 sys/kern/init_main.c:559
ds 9918
es ebd3
fs 1ae0
gs 0
rdi 5
rsi 0
rbp ffffffff86c61af0
rbx 0
rdx 1
rcx 1910
rax ffffffff86889918 msan_lwp0+0x1918
r8 0
r9 0
r10 5
r11 66d2fc0
--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.

Taylor R Campbell

unread,
Mar 29, 2022, 8:06:19 AM3/29/22
to syzbot+ad6408...@syzkaller.appspotmail.com, syzkaller-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages