NetBSD/amd64 (ci2-netbsd-kmsan-0.c.syzkaller.internal) (constty) Jun 1 01:17:06 ci2-netbsd-kmsan-0 getty[1082]: /dev/ttyE2: Device not configured login: Jun 1 01:17:06 ci2-netbsd-kmsan-0 getty[1184]: /dev/ttyE1: Device not configured Jun 1 01:17:06 ci2-netbsd-kmsan-0 getty[1222]: /dev/ttyE3: Device not configured Warning: Permanently added '10.128.1.1' (ECDSA) to the list of known hosts. 2023/06/01 01:17:15 ignoring optional flag "sandboxArg"="0" 2023/06/01 01:17:15 parsed 1 programs 2023/06/01 01:17:16 executed programs: 0 2023/06/01 01:17:21 executed programs: 99 2023/06/01 01:17:26 executed programs: 200 2023/06/01 01:17:31 executed programs: 300 [ 61.6993259] panic: kernel diagnostic assertion "ks->ks_pshared_proc == NULL" failed: file "/syzkaller/managers/ci2-netbsd-kmsan/kernel/sys/kern/uipc_sem.c", line 501 [ 61.6993259] cpu0: Begin traceback... [ 61.7193151] vpanic() at netbsd:vpanic+0xc9d [ 61.7693169] kern_assert() at netbsd:kern_assert+0x228 [ 61.8193194] ksem_free() at netbsd:ksem_free+0x6a6 [ 61.8693185] do_ksem_init() at netbsd:do_ksem_init+0xf81 [ 61.9193172] sys___syscall() at netbsd:sys___syscall+0x2ae [ 61.9793150] syscall() at netbsd:syscall+0x60c [ 61.9893185] --- syscall (number 247 via SYS_syscall) --- [ 62.0093138] netbsd:syscall+0x60c: [ 62.0093138] cpu0: End traceback... [ 62.0216524] fatal breakpoint trap in supervisor mode [ 62.0216524] trap type 1 code 0 rip 0xffffffff8023686d cs 0x8 rflags 0x282 cr2 0x20000000 ilevel 0 rsp 0xffffae80c7acba30 [ 62.0371078] curlwp 0xffffae8013451140 pid 3923.3768 lowest kstack 0xffffae80c7ac42c0 Stopped in pid 3923.3768 (syz-executor.0) at netbsd:breakpoint+0x5: leave ? breakpoint() at netbsd:breakpoint+0x5 vpanic() at netbsd:vpanic+0xc9d kern_assert() at netbsd:kern_assert+0x228 ksem_free() at netbsd:ksem_free+0x6a6 do_ksem_init() at netbsd:do_ksem_init+0xf81 sys___syscall() at netbsd:sys___syscall+0x2ae syscall() at netbsd:syscall+0x60c --- syscall (number 247 via SYS_syscall) --- netbsd:syscall+0x60c: Panic string: kernel diagnostic assertion "ks->ks_pshared_proc == NULL" failed: file "/syzkaller/managers/ci2-netbsd-kmsan/kernel/sys/kern/uipc_sem.c", line 501 PID LID S CPU FLAGS STRUCT LWP * NAME WAIT 3923 >3768 7 0 0 ffffae8013451140 syz-executor.0 3923 3265 3 0 180 ffffae801342f980 syz-executor.0 parked 3923 >3923 7 1 10000000 ffffae801342f540 syz-executor.0 1244 1244 2 1 140 ffffae8012c63940 syz-executor.0 813 829 3 1 180 ffffae801342f100 syz-execprog parked 813 1132 3 1 180 ffffae8012c63500 syz-execprog kqueue 813 1113 3 1 180 ffffae8012c630c0 syz-execprog parked 813 942 3 0 180 ffffae8012ba3900 syz-execprog parked 813 1239 3 0 180 ffffae8012ba34c0 syz-execprog parked 813 1242 3 0 180 ffffae8012ba3080 syz-execprog wait 813 1120 3 0 180 ffffae80122ffb00 syz-execprog parked 813 813 3 0 180 ffffae80122ff6c0 syz-execprog parked 1237 1237 3 0 180 ffffae801251d300 sshd select 1222 1222 3 0 180 ffffae80122ff280 getty nanoslp 1082 1082 3 0 180 ffffae80125fe780 getty nanoslp 1184 1184 3 1 180 ffffae80121feac0 getty nanoslp 1193 1193 3 1 1c0 ffffae80121fb200 getty ttyraw 1102 1102 3 0 180 ffffae8012b738c0 sshd select 1088 1088 3 0 180 ffffae8012b73480 powerd kqueue 700 700 3 1 180 ffffae801251d740 syslogd kqueue 746 746 3 0 180 ffffae8012b73040 dhcpcd poll 747 747 3 0 180 ffffae801238f2c0 dhcpcd poll 466 466 3 0 180 ffffae801238f700 dhcpcd poll 598 598 3 0 180 ffffae80125febc0 dhcpcd poll 292 292 3 0 180 ffffae80125fe340 dhcpcd poll 485 485 3 1 180 ffffae801238fb40