panic: init died (signal 0, exit 10) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *116064 1 0 0x2 0x2000 0K init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8350ebc1) 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,ffff80002a19c230,ffff80002a19c180) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c230) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c230) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ac06ab9dbb0, 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(ffffffff8350ebc1) 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,ffff80002a19c230,ffff80002a19c180) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c230) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c230) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ac06ab9dbb0, count: -6 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a19c000 rbx 0xffffffff83993e0f cpu_info_full_primary+0x2e0f rdx 0 rcx 0xffff800045fffc88 rax 0xffffffff83992ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xbfb73da2681b01a7 r11 0x752ed41db746216f r12 0xffffffff83993c10 cpu_info_full_primary+0x2c10 r13 0 r14 0 r15 0x1 rip 0xffffffff82cbf5e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a19bff0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (init) tid=116064 pid=1 tcnt=1 stat=onproc flags process=2 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffffffff83b6a1b8,0xffff800045fff768 process=0xffff800045ffba20 user=0xffff80002a197000, vmspace=0xfffffc000b1f7d58 estcpu=0, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 56839 414089 19048 0 3 0x2 0x80 piperd syz-executor 683 496453 19048 0 3 0x2 0x80 piperd syz-executor 99242 411073 19048 0 3 0x2 0x80 piperd syz-executor 51184 523799 19048 0 3 0x2 0x80 piperd syz-executor 44389 428396 19048 0 3 0x2 0x80 piperd syz-executor 77199 179899 19048 0 3 0x2 0x80 piperd syz-executor 15823 345998 19048 0 3 0x2 0x80 piperd syz-executor 43198 484945 0 0 3 0x14000 0x200 acct acct 6681 351958 1 0 3 0x100003 0x80 ttyin getty 19048 369555 34396 0 3 0x2 0x80 nanoslp syz-executor 34396 63163 69066 0 3 0x100002 0x88 sigsusp ksh 69066 228983 86085 0 3 0x10 0x88 kqread sshd-session 86085 258129 83861 0 3 0x12 0x80 kqread sshd-session 83861 40589 1 0 3 0 0x88 kqread sshd 92083 121719 55322 74 3 0x1100012 0x80 bpf pflogd 55322 405223 1 0 3 0 0x80 sbwait pflogd 80731 346494 70951 73 3 0x1100010 0x80 kqread syslogd 70951 479743 1 0 3 0x100002 0x80 sbwait syslogd-parent 20802 32388 1 0 3 0x100000 0x80 kqread resolvd 90118 34124 99838 77 3 0x100012 0x80 kqread dhcpleased 54867 65537 99838 77 3 0x100012 0x80 kqread dhcpleased 99838 373367 1 0 3 0 0x80 kqread dhcpleased 45393 94651 0 0 3 0x14000 0x200 bored smr 22011 237838 0 0 3 0x14000 0x200 pgzero zerothread 83422 440507 0 0 3 0x14000 0x200 aiodoned aiodoned 76991 415140 0 0 3 0x14000 0x200 syncer update 19123 232560 0 0 3 0x14000 0x200 cleaner cleaner 56498 394171 0 0 3 0x14000 0x200 reaper reaper 7684 446170 0 0 3 0x14000 0x200 pgdaemon pagedaemon 28625 44382 0 0 3 0x14000 0x200 bored viomb 31211 373624 0 0 3 0x14000 0x40000200 acpi0 acpi0 80802 338757 0 0 7 0x14000 0x40000200 idle1 26676 311186 0 0 3 0x14000 0x200 bored softnet1 32727 161736 0 0 3 0x14000 0x200 bored softnet0 27829 380367 0 0 3 0x14000 0x200 bored systqmp 22097 463875 0 0 3 0x14000 0x200 bored systq 95739 399999 0 0 3 0x14000 0x200 tmoslp softclockmp 89411 120718 0 0 3 0x14000 0x40000200 tmoslp softclock 17447 229800 0 0 3 0x14000 0x40000200 idle0 * 1 116064 0 0 7 0x2 0x2000 init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{0}> show all locks Process 1 (init) thread 0xffff800045fffc88 (116064) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83b5aac0) #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 11070 12093K 12238K 166960K 12958 0 pcb 17 12K 12K 166960K 69 0 rtable 218 7K 8K 166960K 2549 0 pf 34 17K 19K 166960K 209 0 ifaddr 41 7K 8K 166960K 349 0 ifgroup 55 2K 2K 166960K 367 0 sysctl 4 1K 9K 166960K 11 0 counters 70 37K 37K 166960K 228 0 ioctlops 0 0K 4K 166960K 1930 0 iov 0 0K 12K 166960K 75 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1357 85K 86K 166960K 2407 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 13 0 VM map 2 1K 1K 166960K 2 0 sem 20 1K 1K 166960K 34 0 dirhash 15 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12472 0 file desc 9 29K 97K 166960K 1557 0 sigio 0 0K 0K 166960K 2 0 proc 72 115K 196K 166960K 2634 0 subproc 63 3K 4K 166960K 729 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 15 0 in_multi 88 5K 6K 166960K 903 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 27 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 1386 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 169 149K 186K 166960K 11728 0 UVM aobj 84 5K 5K 166960K 86 0 pinsyscall 34 68K 106K 166960K 4595 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 7 0 NDP 22 1K 1K 166960K 253 0 temp 33 9130K 9202K 166960K 19383 0 kqueue 13 20K 30K 166960K 78 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 328 0 325 3 2 1 3 0 8 0 rtentry 176 915 0 814 6 0 6 6 0 8 1 unpcb 144 655 0 638 4 1 3 4 0 8 2 syncache 336 5 0 5 2 2 0 1 0 8 0 tcpcb 736 328 0 324 10 3 7 7 0 8 6 arp 136 164 0 148 1 0 1 1 0 8 0 inpcb 328 872 0 865 12 5 7 7 0 8 6 nd6 152 244 0 222 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 2 0 1 0 8 0 kcovpl 48 81 0 74 1 0 1 1 0 8 0 ppxss 1192 3 0 3 2 2 0 1 0 8 0 pffrag 232 3 0 1 1 0 1 1 0 482 0 pffrnode 88 3 0 1 1 0 1 1 0 8 0 pffrent 40 4 0 2 1 0 1 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 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 1 1 1 0 1 0 8 0 pfstitem 24 56 0 15 1 0 1 1 0 8 0 pfstkey 128 56 0 15 2 0 2 2 0 8 0 pfstate 448 56 0 15 5 0 5 5 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 3688 0 3271 32 3 29 32 0 8 0 art_table 40 3689 0 3271 6 0 6 6 0 8 0 art_node 32 915 0 824 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 0 1 0 1 1 0 8 0 semapl 72 28 0 10 1 0 1 1 0 8 0 shmpl 120 83 0 2 3 0 3 3 0 8 0 dirhash 1024 23 0 4 3 0 3 3 0 8 0 dino2pl 256 2394 0 734 104 0 104 104 0 8 0 ffsino 296 2394 0 734 128 0 128 128 0 8 0 nchpl 144 3117 0 1106 75 0 75 75 0 8 0 vnodes 216 3304 0 0 184 0 184 184 0 8 0 namei 1024 20981 0 20981 4 3 1 3 0 8 1 percpumem 16 130 0 79 1 0 1 1 0 8 0 kstatmem 264 187 0 158 3 1 2 3 0 8 0 scsiplug 72 3 0 3 2 2 0 1 0 8 0 scxspl 216 10699 0 10699 10 8 2 8 1 8 2 plimitpl 152 340 0 324 1 0 1 1 0 8 0 sigapl 424 1717 0 1677 8 1 7 7 0 8 1 knotepl 120 534 0 0 17 0 17 17 0 8 0 kqueuepl 224 172 0 163 3 0 3 3 0 8 2 pipepl 344 394 0 367 4 0 4 4 0 8 0 fdescpl 528 1700 0 1677 3 0 3 3 0 8 0 filepl 160 7842 0 7647 22 9 13 22 0 8 3 lockfpl 104 537 0 535 1 0 1 1 0 8 0 lockfspl 48 77 0 75 1 0 1 1 0 8 0 sessionpl 144 110 0 101 1 0 1 1 0 8 0 pgrppl 48 200 0 184 1 0 1 1 0 8 0 ucredpl 104 810 0 797 1 0 1 1 0 8 0 zombiepl 144 1677 0 1677 1 0 1 1 0 8 1 processpl 1240 1717 0 1677 6 1 5 5 0 8 0 procpl 664 2443 0 2403 6 0 6 6 0 8 0 sockpl 752 1874 0 1847 18 8 10 16 0 8 7 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 124 0 0 16 0 16 16 0 8 0 mcl2k 2048 40 0 0 4 0 4 4 0 8 0 mextrefs 64 34 0 0 1 0 1 1 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 2987 0 0 187 0 187 187 0 8 0 bufpl 272 4668 0 90 306 0 306 306 0 8 0 anonpl 32 7543 0 0 61 0 61 61 0 247 0 amapchunkpl 152 33052 0 32791 35 7 28 32 0 158 12 amappl16 200 2339 0 2329 24 16 8 14 0 8 6 amappl15 192 11 0 11 2 2 0 1 0 8 0 amappl14 184 1289 0 1288 1 0 1 1 0 8 0 amappl13 176 292 0 280 1 0 1 1 0 8 0 amappl12 168 2235 0 2212 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 67 0 55 1 0 1 1 0 8 0 amappl9 144 286 0 286 1 1 0 1 0 8 0 amappl8 136 386 0 383 1 0 1 1 0 8 0 amappl7 128 297 0 285 1 0 1 1 0 8 0 amappl6 120 553 0 551 1 0 1 1 0 8 0 amappl5 112 429 0 419 1 0 1 1 0 8 0 amappl4 104 508 0 488 1 0 1 1 0 8 0 amappl3 96 7001 0 6933 5 1 4 4 0 8 0 amappl2 88 742 0 685 2 0 2 2 0 8 0 amappl1 80 20968 0 20404 16 2 14 15 0 8 0 amappl 88 9738 0 9639 5 1 4 5 0 92 0 uvmvnodes 80 121 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 255 0 255 3 3 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 85 0 2 2 0 2 2 0 8 0 uaddrrnd 24 1700 0 1677 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1700 0 1677 1 0 1 1 0 8 0 vmmpekpl 168 14431 0 14381 4 0 4 4 0 8 0 vmmpepl 168 115587 0 114124 100 7 93 95 0 357 13 vmsppl 488 1699 0 1677 6 1 5 5 0 8 1 rwobjpl 80 34292 0 33274 33 7 26 28 0 8 2 pdppl 4096 3408 0 3354 212 134 78 88 0 8 24 pvpl 32 13139 0 0 108 2 106 107 0 265 0 pmappl 256 1699 0 1677 4 1 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 898 0 149 22 0 22 22 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(ffffffff8350ebc1) 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,ffff80002a19c230,ffff80002a19c180) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c230) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c230) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ac06ab9dbb0, 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