panic: init died (signal 0, exit 10) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 294948 61993 0 0x2 0x1 1 syz-executor *285638 1 0 0x20000002 0x2000 0K init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834ccfe3) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff8000fffffc88,a,0,1) at exit1+0x128 sys/kern/kern_exit.c:135 sys_exit(ffff8000fffffc88,ffff80002a1ac560,ffff80002a1ac4b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac560) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac560) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7202d06400e0, count: 9 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: init died (signal 0, exit 10) ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834ccfe3) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff8000fffffc88,a,0,1) at exit1+0x128 sys/kern/kern_exit.c:135 sys_exit(ffff8000fffffc88,ffff80002a1ac560,ffff80002a1ac4b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac560) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac560) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7202d06400e0, count: -6 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a1ac330 rbx 0xffffffff83914e07 cpu_info_full_primary+0x2e07 rdx 0 rcx 0xffff8000fffffc88 rax 0xffffffff83913ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x65bdf671c7a2fad0 r11 0xad77b21647ffb49b r12 0xffffffff83914c08 cpu_info_full_primary+0x2c08 r13 0 r14 0 r15 0x1 rip 0xffffffff8340d295 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a1ac320 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (init) tid=285638 pid=1 tcnt=1 stat=onproc flags process=20000002 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffffffff83a420e8,0xffff8000fffffa00 process=0xffff8000ffffa1b0 user=0xffff80002a1a7000, vmspace=0xfffffd800b0635b8 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 61977 25674 490 0 3 0x80 nanoslp syz-executor 61977 499458 490 0 3 0x4000080 fsleep syz-executor 61977 278243 490 0 3 0x4000080 ttyretype syz-executor 61977 87790 490 0 3 0x4000080 fsleep syz-executor 37402 442754 25932 60929 2 0xc90 syz-executor 37402 314333 25932 60929 3 0x4000090 piperd syz-executor 37402 126297 25932 60929 3 0x4000090 piperd syz-executor 37402 248194 25932 60929 3 0x4000090 fsleep syz-executor 34776 348405 61993 0 3 0x80 nanoslp syz-executor 34776 81750 61993 0 3 0x4000080 ttyin syz-executor 34776 190807 61993 0 3 0x4000080 fsleep syz-executor 490 421861 92184 0 3 0x82 nanoslp syz-executor 93499 386125 0 0 3 0x14200 acct acct 31999 147313 0 0 3 0x14280 nfsidl nfsio 75595 91768 0 0 3 0x14280 nfsidl nfsio 8012 25377 0 0 3 0x14280 nfsidl nfsio 32844 499159 0 0 3 0x14280 nfsidl nfsio 82956 109732 0 0 3 0x14280 nfsidl nfsio 30442 515085 0 0 3 0x14280 nfsidl nfsio 88423 115251 0 0 3 0x14280 nfsidl nfsio 96735 166541 0 0 3 0x14280 nfsidl nfsio 13689 449116 0 0 3 0x14280 nfsidl nfsio 12945 154346 0 0 3 0x14280 nfsidl nfsio 74184 174326 0 0 3 0x14280 nfsidl nfsio 15094 89789 0 0 3 0x14280 nfsidl nfsio 26878 417092 0 0 3 0x14280 nfsidl nfsio 26385 144615 0 0 3 0x14280 nfsidl nfsio 39174 426850 0 0 3 0x14280 nfsidl nfsio 28679 260328 0 0 3 0x14280 nfsidl nfsio 36410 286456 0 0 3 0x14280 nfsidl nfsio 32804 360757 0 0 3 0x14280 nfsidl nfsio 56904 173457 0 0 3 0x14280 nfsidl nfsio 79193 430670 0 0 3 0x14280 nfsidl nfsio 90596 160016 92184 0 3 0x82 piperd syz-executor 25932 255530 92184 0 2 0xc82 syz-executor 48952 211774 92184 0 3 0x82 piperd syz-executor 34170 288846 92184 0 3 0x82 piperd syz-executor 4600 254648 92184 0 3 0x82 piperd syz-executor 61993 294948 92184 0 7 0x3 syz-executor 92184 153577 34533 0 3 0x82 wait syz-executor 34533 5935 47759 0 3 0x10008a sigsusp ksh 47759 37374 49943 0 3 0x98 kqread sshd-session 49943 349776 98081 0 3 0x92 kqread sshd-session 58103 83013 1 0 3 0x100083 ttyin getty 98081 429617 1 0 3 0x88 kqread sshd 58455 259049 9362 74 3 0x1100092 bpf pflogd 9362 316204 1 0 3 0x80 sbwait pflogd 7283 309860 83049 73 3 0x1100090 kqread syslogd 83049 260550 1 0 3 0x100082 sbwait syslogd 77058 241265 1 0 3 0x100080 kqread resolvd 94883 397181 35088 77 3 0x100092 kqread dhcpleased 84018 261097 35088 77 3 0x100092 kqread dhcpleased 35088 446240 1 0 3 0x80 kqread dhcpleased 13065 334968 0 0 3 0x14200 bored smr 62886 198623 0 0 3 0x14200 pgzero zerothread 10833 303632 0 0 3 0x14200 aiodoned aiodoned 31565 182593 0 0 3 0x14200 syncer update 25081 91617 0 0 3 0x14200 cleaner cleaner 45754 39569 0 0 3 0x14200 reaper reaper 40933 30740 0 0 3 0x14200 pgdaemon pagedaemon 33633 184098 0 0 3 0x14200 bored viomb 94652 193910 0 0 3 0x40014200 acpi0 acpi0 98802 355811 0 0 3 0x40014200 idle1 7385 379450 0 0 3 0x14200 bored softnet1 85679 47602 0 0 3 0x14200 bored softnet0 40990 238638 0 0 3 0x14200 smrbar systqmp 63268 44236 0 0 3 0x14200 bored systq 17315 354487 0 0 3 0x14200 tmoslp softclockmp 48076 57426 0 0 3 0x40014200 tmoslp softclock 99253 324109 0 0 3 0x40014200 idle0 * 1 285638 0 0 7 0x20002002 init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 40990 (systqmp) thread 0xffff8000ffffe298 (238638) shared rwlock systqmp r = 0 (0xffffffff83991058) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 Process 1 (init) thread 0xffff8000fffffc88 (285638) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff839e5f80) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] #1 syscall+0xaf4 sys/arch/amd64/amd64/trap.c:783 #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11082 12177K 13956K 166960K 13541 0 pcb 17 14K 16K 166960K 245 0 rtable 256 10K 11K 166960K 1019 0 pf 37 18K 81K 166960K 323 0 ifaddr 40 7K 8K 166960K 151 0 ifgroup 54 2K 2K 166960K 221 0 sysctl 4 1K 9K 166960K 14 0 counters 68 36K 38K 166960K 172 0 ioctlops 0 0K 4K 166960K 1879 0 iov 0 0K 16K 166960K 36 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1443 91K 91K 166960K 2427 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 5K 166960K 18 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 131 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 13 45K 106K 166960K 1238 0 sigio 0 0K 0K 166960K 6 0 proc 76 131K 148K 166960K 1168 0 subproc 72 4K 4K 166960K 234 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 91 0 in_multi 88 6K 7K 166960K 317 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 20 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 747 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 213 158K 173K 166960K 12011 0 UVM aobj 33 2K 4K 166960K 37 0 pinsyscall 38 76K 104K 166960K 2855 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 44 0 NDP 11 0K 2K 166960K 108 0 temp 67 9121K 9215K 166960K 45476 0 kqueue 14 20K 32K 166960K 133 0 SYN cache 2 16K 24K 166960K 3 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 220 0 215 3 2 1 3 0 8 0 rtentry 176 335 0 228 6 0 6 6 0 8 0 unpcb 144 487 0 465 2 1 1 2 0 8 0 syncache 336 5 0 5 2 2 0 1 0 8 0 tcpcb 736 401 0 397 13 12 1 7 0 8 0 arp 136 58 0 40 1 0 1 1 0 8 0 inpcb 328 1045 0 1036 10 7 3 7 0 8 2 nd6 152 87 0 65 2 0 2 2 0 8 0 pkpcb 40 3 0 3 2 2 0 1 0 8 0 kcovpl 48 26 0 18 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1192 20 0 20 2 1 1 1 0 8 1 pppxif 1576 3 0 3 2 2 0 1 0 8 0 pfstscr 40 11 0 11 2 2 0 1 0 8 0 pffrag 232 11 0 3 1 0 1 1 0 482 0 pffrnode 88 11 0 3 1 0 1 1 0 8 0 pffrent 40 20 0 12 1 0 1 1 0 8 0 pfosfp 40 1428 0 1428 5 5 0 5 0 8 0 pfosfpen 112 1428 0 1428 21 21 0 21 0 8 0 pfsrclim 320 4 0 4 2 2 0 1 0 8 0 pfanchor 1288 45 0 0 4 0 4 4 0 8 0 pftag 88 5 0 0 1 0 1 1 0 8 0 pfstitem 24 102 0 29 1 0 1 1 0 8 0 pfstkey 128 112 0 39 3 0 3 3 0 8 0 pfstate 448 106 0 34 9 0 9 9 0 8 0 pfrule 1360 34 0 28 2 1 1 2 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 1418 0 914 36 3 33 33 0 8 0 art_table 40 1421 0 914 6 0 6 6 0 8 0 art_node 32 334 0 229 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 8 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 72 128 0 118 1 0 1 1 0 8 0 shmpl 112 34 0 4 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 3054 0 1557 94 0 94 94 0 8 0 ffsino 296 3054 0 1557 116 0 116 116 0 8 0 nchpl 144 4403 0 2641 66 0 66 66 0 8 0 rtmask 32 4 0 4 3 2 1 1 0 8 1 vnodes 216 3947 0 0 220 0 220 220 0 8 0 namei 1024 15851 0 15851 3 2 1 2 0 8 1 percpumem 16 101 0 52 1 0 1 1 0 8 0 kstatmem 264 115 0 90 4 2 2 3 0 8 0 scsiplug 72 4 0 4 3 2 1 1 0 8 1 scxspl 216 14520 0 14520 12 11 1 8 1 8 1 plimitpl 152 143 0 124 1 0 1 1 0 8 0 sigapl 424 1534 0 1470 8 0 8 8 0 8 0 knotepl 120 549 0 0 17 0 17 17 0 8 0 kqueuepl 224 270 0 259 2 1 1 2 0 8 0 pipepl 344 363 0 334 14 11 3 9 0 8 0 fdescpl 528 1496 0 1469 3 0 3 3 0 8 0 filepl 160 7706 0 7474 24 12 12 20 0 8 1 lockfpl 104 419 0 417 2 1 1 2 0 8 0 lockfspl 48 193 0 191 1 0 1 1 0 8 0 sessionpl 144 75 0 66 1 0 1 1 0 8 0 pgrppl 48 110 0 93 1 0 1 1 0 8 0 ucredpl 104 1023 0 1008 1 0 1 1 0 8 0 zombiepl 144 1471 0 1470 1 0 1 1 0 8 0 processpl 1232 1534 0 1470 6 0 6 6 0 8 0 procpl 664 2881 0 2809 9 1 8 8 0 8 1 sosppl 176 4 0 4 1 1 0 1 0 8 0 sockpl 752 1788 0 1752 15 9 6 11 0 8 2 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k128 9344 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 125 0 0 16 1 15 16 0 8 0 mcl2k 2048 51 0 0 5 0 5 5 0 8 0 mtagpl 96 7 0 0 1 0 1 1 0 8 0 mbufpl 256 523 0 0 33 0 33 33 0 8 0 bufpl 280 4158 0 113 289 0 289 289 0 8 0 anonpl 32 11742 0 0 95 0 95 95 0 246 0 amapchunkpl 152 37124 0 36720 32 10 22 29 0 158 2 amappl16 200 3574 0 3549 41 38 3 27 0 8 1 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 651 0 650 1 0 1 1 0 8 0 amappl13 176 161 0 149 1 0 1 1 0 8 0 amappl12 168 1817 0 1791 2 0 2 2 0 8 0 amappl11 160 10 0 10 1 1 0 1 0 8 0 amappl10 152 68 0 53 1 0 1 1 0 8 0 amappl9 144 275 0 275 1 1 0 1 0 8 0 amappl8 136 175 0 172 1 0 1 1 0 8 0 amappl7 128 183 0 170 1 0 1 1 0 8 0 amappl6 120 334 0 332 1 0 1 1 0 8 0 amappl5 112 96 0 85 1 0 1 1 0 8 0 amappl4 104 347 0 324 1 0 1 1 0 8 0 amappl3 96 7717 0 7621 4 0 4 4 0 8 0 amappl2 88 688 0 622 2 0 2 2 0 8 0 amappl1 80 16074 0 15487 15 1 14 15 0 8 0 amappl 88 10833 0 10691 5 0 5 5 0 92 0 uvmvnodes 80 126 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 8 0 8 2 2 0 1 0 8 0 dma128 128 254 0 254 2 2 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 36 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1496 0 1469 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1496 0 1469 1 0 1 1 0 8 0 vmmpekpl 168 13427 0 13374 3 0 3 3 0 8 0 vmmpepl 168 100098 0 98369 116 27 89 108 0 357 3 vmsppl 488 1495 0 1469 5 0 5 5 0 8 1 rwobjpl 80 28482 0 27411 38 13 25 33 0 8 0 pdppl 4096 2999 0 2938 119 46 73 85 0 8 12 pvpl 32 19455 0 0 158 1 157 157 0 265 0 pmappl 256 1495 0 1469 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 350 0 72 9 0 9 9 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834ccfe3) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff8000fffffc88,a,0,1) at exit1+0x128 sys/kern/kern_exit.c:135 sys_exit(ffff8000fffffc88,ffff80002a1ac560,ffff80002a1ac4b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac560) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac560) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7202d06400e0, count: -6 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff80002999dff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff839e5780) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff839e5780) at __mp_lock+0x192 sys/kern/kern_lock.c:173 ktrsysret(ffff80002a222a70,b,0,ffff80002a2a8130) at ktrsysret+0xde ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a222a70,b,0,ffff80002a2a8130) at ktrsysret+0xde sys/kern/kern_ktrace.c:209 syscall(ffff80002a2a81e0) at syscall+0xa51 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a2a81e0) at syscall+0xa51 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71fc4b6cfa70, count: 8 ddb{1}> trace x86_ipi_db(ffff80002999dff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff839e5780) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff839e5780) at __mp_lock+0x192 sys/kern/kern_lock.c:173 ktrsysret(ffff80002a222a70,b,0,ffff80002a2a8130) at ktrsysret+0xde ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a222a70,b,0,ffff80002a2a8130) at ktrsysret+0xde sys/kern/kern_ktrace.c:209 syscall(ffff80002a2a81e0) at syscall+0xa51 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a2a81e0) at syscall+0xa51 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71fc4b6cfa70, count: -7