panic: init died (signal 0, exit 10) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 79920 1 0 0x10000002 0x2000 0K init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8350786a) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fffc88,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fffc88,ffff80002a19c020,ffff80002a19bf70) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c020) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c020) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ab2cd691050, 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}> show kasan No such command ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8350786a) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fffc88,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fffc88,ffff80002a19c020,ffff80002a19bf70) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c020) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c020) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ab2cd691050, count: -6 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a19bdf0 rbx 0xffffffff839aee0f cpu_info_full_primary+0x2e0f rdx 0 rcx 0xffff800045fffc88 rax 0xffffffff839adff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xbe4ccfab1f7e96f0 r11 0xbb846dd32360878b r12 0xffffffff839aec10 cpu_info_full_primary+0x2c10 r13 0 r14 0 r15 0x1 rip 0xffffffff831d43e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a19bde0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (init) tid=79920 pid=1 tcnt=1 stat=onproc flags process=10000002 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffffffff83a46230,0xffff800045fff4d0 process=0xffff800045ffba20 user=0xffff80002a197000, vmspace=0xfffff0800b1f7d58 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 12509 335341 83859 0 3 0x2 0x80 piperd syz-executor 50107 294698 83859 0 3 0x2 0x80 piperd syz-executor 25414 390711 83859 0 3 0x2 0x80 piperd syz-executor 77270 476524 83859 0 3 0x2 0x80 piperd syz-executor 70170 178794 83859 0 3 0x2 0x80 piperd syz-executor 6306 513302 83859 0 3 0x2 0x80 piperd syz-executor 66232 61170 0 0 3 0x14000 0x200 acct acct 51686 297006 41641 0 3 0x100002 0x80 sbwait arp 41641 266880 62509 0 3 0x100002 0x88 sigsusp sh 62509 70756 83859 0 3 0x2 0x80 wait syz-executor 83859 352982 30945 0 3 0x2 0x80 nanoslp syz-executor 30945 124100 60676 0 3 0x100002 0x88 sigsusp ksh 60676 235728 87442 0 3 0x10 0x88 kqread sshd-session 87442 464401 52220 0 3 0x12 0x80 kqread sshd-session 37607 258179 1 0 3 0x100003 0x80 ttyin getty 52220 77509 1 0 3 0 0x88 kqread sshd 92285 170360 72284 74 3 0x1100012 0x80 bpf pflogd 72284 332999 1 0 3 0 0x80 sbwait pflogd 25156 452144 56607 73 3 0x1100010 0x80 kqread syslogd 56607 15511 1 0 3 0x100002 0x80 sbwait syslogd-parent 23594 189417 1 0 3 0x100000 0x80 kqread resolvd 54209 437628 4586 77 3 0x100012 0x80 kqread dhcpleased 42045 445039 4586 77 3 0x100012 0x80 kqread dhcpleased 4586 122509 1 0 3 0 0x80 kqread dhcpleased 16706 138895 0 0 3 0x14000 0x200 bored smr 53901 137654 0 0 3 0x14000 0x200 pgzero zerothread 36176 184073 0 0 3 0x14000 0x200 aiodoned aiodoned 44692 72059 0 0 3 0x14000 0x200 syncer update 60486 70846 0 0 3 0x14000 0x200 cleaner cleaner 92247 205607 0 0 3 0x14000 0x200 reaper reaper 85294 417115 0 0 3 0x14000 0x200 pgdaemon pagedaemon 18932 488269 0 0 3 0x14000 0x200 bored viomb 12935 467313 0 0 3 0x14000 0x40000200 acpi0 acpi0 57509 147792 0 0 7 0x14000 0x40000200 idle1 21067 250901 0 0 3 0x14000 0x200 bored softnet1 7391 113205 0 0 3 0x14000 0x200 bored softnet0 22150 470543 0 0 3 0x14000 0x200 bored systqmp 40274 471682 0 0 3 0x14000 0x200 bored systq 49358 511052 0 0 3 0x14000 0x200 tmoslp softclockmp 90167 502948 0 0 3 0x14000 0x40000200 tmoslp softclock 56415 60074 0 0 3 0x14000 0x40000200 idle0 * 1 79920 0 0 7 0x10000002 0x2000 init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{0}> show all locks Process 1 (init) thread 0xffff800045fffc88 (79920) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a99240) #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:804 #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11081 12094K 12286K 166960K 12616 0 pcb 17 12K 12K 166960K 59 0 rtable 193 6K 7K 166960K 2904 0 pf 32 17K 18K 166960K 236 0 ifaddr 38 7K 7K 166960K 401 0 ifgroup 51 2K 2K 166960K 416 0 sysctl 3 1K 9K 166960K 8 0 counters 68 36K 37K 166960K 258 0 ioctlops 0 0K 4K 166960K 1600 0 iov 0 0K 8K 166960K 7 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1301 82K 82K 166960K 2491 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 13 0K 1K 166960K 91 0 dirhash 15 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12472 0 file desc 11 37K 93K 166960K 1720 0 sigio 0 0K 0K 166960K 5 0 proc 71 115K 164K 166960K 2976 0 subproc 63 3K 5K 166960K 972 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 22 0 in_multi 78 5K 6K 166960K 1036 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 36 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 223 996K 996K 166960K 223 0 exec 0 0K 1K 166960K 1541 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 14 124K 124K 166960K 15 0 UVM amap 180 159K 185K 166960K 12523 0 UVM aobj 15 3K 3K 166960K 16 0 pinsyscall 37 74K 108K 166960K 5079 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 10 0 NDP 15 0K 1K 166960K 291 0 temp 32 9126K 9190K 166960K 38192 0 kqueue 13 20K 24K 166960K 67 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 28 0 0 1 0 1 1 0 8 0 rtpcb 120 210 0 206 1 0 1 1 0 8 0 rtentry 176 1050 0 958 5 0 5 5 0 8 0 unpcb 144 374 0 357 5 4 1 4 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 101 0 97 7 0 7 7 0 8 6 arp 136 189 0 174 1 0 1 1 0 8 0 inpcb 328 787 0 780 18 9 9 12 0 8 8 nd6 152 279 0 261 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 kcovpl 48 108 0 101 1 0 1 1 0 8 0 ppxss 1192 7 0 7 2 2 0 1 0 8 0 pppxif 1576 1 0 1 1 1 0 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 45 0 13 1 0 1 1 0 8 0 pfstkey 128 45 0 13 2 0 2 2 0 8 0 pfstate 448 45 0 13 4 0 4 4 0 8 0 pfrule 1360 24 0 19 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 4234 0 3864 27 3 24 27 0 8 0 art_table 40 4235 0 3864 5 1 4 5 0 8 0 art_node 32 1050 0 967 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 72 86 0 75 1 0 1 1 0 8 0 shmpl 120 13 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 2 3 0 3 3 0 8 0 dino2pl 256 2259 0 556 107 0 107 107 0 8 0 ffsino 296 2259 0 556 132 0 132 132 0 8 0 nchpl 144 2777 0 698 78 0 78 78 0 8 0 vnodes 216 3324 0 0 185 0 185 185 0 8 0 namei 1024 22688 0 22688 6 5 1 4 0 8 1 percpumem 16 145 0 95 1 0 1 1 0 8 0 kstatmem 264 213 0 188 3 1 2 3 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 9137 0 9137 10 9 1 8 1 8 1 plimitpl 152 156 0 139 1 0 1 1 0 8 0 sigapl 424 1821 0 1778 7 1 6 7 0 8 0 knotepl 120 465 0 0 15 0 15 15 0 8 0 kqueuepl 224 93 0 84 1 0 1 1 0 8 0 pipepl 344 436 0 409 4 0 4 4 0 8 0 fdescpl 528 1804 0 1779 3 0 3 3 0 8 0 filepl 160 7367 0 7171 19 5 14 15 0 8 5 lockfpl 104 115 0 113 1 0 1 1 0 8 0 lockfspl 48 48 0 46 1 0 1 1 0 8 0 sessionpl 144 137 0 127 1 0 1 1 0 8 0 pgrppl 48 249 0 232 1 0 1 1 0 8 0 ucredpl 104 1155 0 1142 1 0 1 1 0 8 0 zombiepl 144 1779 0 1778 1 0 1 1 0 8 0 processpl 1240 1821 0 1778 6 1 5 5 0 8 0 procpl 664 2507 0 2464 6 0 6 6 0 8 0 sockpl 752 1385 0 1357 28 17 11 16 0 8 8 mcl64k 65536 2 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 124 0 0 16 0 16 16 0 8 0 mcl2k 2048 26 0 0 4 0 4 4 0 8 0 mextrefs 64 26 0 0 1 0 1 1 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 257 0 0 17 0 17 17 0 8 0 bufpl 272 3049 0 90 198 0 198 198 0 8 0 anonpl 32 5539 0 0 45 0 45 45 0 247 0 amapchunkpl 152 33795 0 33518 25 8 17 25 0 158 1 amappl16 200 1770 0 1762 6 5 1 5 0 8 0 amappl15 192 16 0 16 2 2 0 1 0 8 0 amappl14 184 1495 0 1493 1 0 1 1 0 8 0 amappl13 176 289 0 275 1 0 1 1 0 8 0 amappl12 168 2405 0 2381 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 1 0 1 0 8 0 amappl10 152 67 0 54 1 0 1 1 0 8 0 amappl9 144 284 0 284 1 1 0 1 0 8 0 amappl8 136 436 0 434 1 0 1 1 0 8 0 amappl7 128 313 0 300 1 0 1 1 0 8 0 amappl6 120 632 0 630 1 0 1 1 0 8 0 amappl5 112 476 0 467 1 0 1 1 0 8 0 amappl4 104 552 0 532 1 0 1 1 0 8 0 amappl3 96 7158 0 7084 4 1 3 4 0 8 0 amappl2 88 789 0 730 2 0 2 2 0 8 0 amappl1 80 22394 0 21807 15 0 15 15 0 8 0 amappl 88 10333 0 10229 5 0 5 5 0 92 0 uvmvnodes 80 110 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 15 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1804 0 1779 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1804 0 1779 1 0 1 1 0 8 0 vmmpekpl 168 15513 0 15459 4 1 3 4 0 8 0 vmmpepl 168 123405 0 121868 91 8 83 87 0 357 4 vmsppl 488 1803 0 1779 6 1 5 5 0 8 0 rwobjpl 80 35908 0 34931 25 1 24 25 0 8 0 pdppl 4096 3616 0 3558 190 112 78 88 0 8 20 pvpl 32 11341 0 0 93 1 92 93 0 265 0 pmappl 256 1803 0 1779 4 1 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 592 0 125 14 0 14 14 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(ffffffff8350786a) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fffc88,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fffc88,ffff80002a19c020,ffff80002a19bf70) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c020) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c020) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ab2cd691050, count: -6 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff80002998dff0) 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 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff80002998dff0) at sched_idle+0x391 sys/kern/kern_sched.c:197 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff80002998dff0) 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 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff80002998dff0) at sched_idle+0x391 sys/kern/kern_sched.c:197 end trace frame: 0x0, count: -5