panic: init died (signal 0, exit 12) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *340771 1 0 0x2 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(ffff800045fff758,c,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fff758,ffff80002a19cbf0,ffff80002a19cb40) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19cbf0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19cbf0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ad125d05710, 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 12) 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(ffff800045fff758,c,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fff758,ffff80002a19cbf0,ffff80002a19cb40) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19cbf0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19cbf0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ad125d05710, count: -6 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a19c9c0 rbx 0xffffffff839aee0f cpu_info_full_primary+0x2e0f rdx 0 rcx 0xffff800045fff758 rax 0xffffffff839adff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x2f2304707916fc0a r11 0x58a10b6fb3edcb8d r12 0xffffffff839aec10 cpu_info_full_primary+0x2c10 r13 0 r14 0 r15 0x1 rip 0xffffffff831d43e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a19c9b0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (init) tid=340771 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=0xffffffff83a46230,0xffff800045ffefa0 process=0xffff800045ffba20 user=0xffff80002a197000, vmspace=0xfffff1800b1f7b70 estcpu=0, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 84369 429144 22678 0 3 0x2 0x80 piperd syz-executor 48199 19349 22678 0 3 0x2 0x80 piperd syz-executor 14026 268093 22678 0 3 0x2 0x80 piperd syz-executor 92924 329215 22678 0 3 0x2 0x80 piperd syz-executor 12640 15091 22678 0 3 0x2 0x80 piperd syz-executor 22678 306411 13796 0 3 0x2 0x80 nanoslp syz-executor 13796 459843 23378 0 3 0x100002 0x88 sigsusp ksh 23378 170392 7881 0 3 0x10 0x88 kqread sshd-session 7881 304248 39374 0 3 0x12 0x80 kqread sshd-session 76750 356532 1 0 3 0x100003 0x80 ttyin getty 39374 204216 1 0 3 0 0x88 kqread sshd 84721 24423 94582 74 3 0x1100012 0x80 bpf pflogd 94582 414330 1 0 3 0 0x80 sbwait pflogd 8732 189084 48784 73 3 0x1100010 0x80 kqread syslogd 48784 90524 1 0 3 0x100002 0x80 sbwait syslogd-parent 13648 125871 1 0 3 0x100000 0x80 kqread resolvd 97649 159567 81604 77 3 0x100012 0x80 kqread dhcpleased 66115 491239 81604 77 3 0x100012 0x80 kqread dhcpleased 81604 2168 1 0 3 0 0x80 kqread dhcpleased 75278 519911 0 0 3 0x14000 0x200 bored smr 14574 435918 0 0 3 0x14000 0x200 pgzero zerothread 83219 46190 0 0 3 0x14000 0x200 aiodoned aiodoned 57056 466754 0 0 3 0x14000 0x200 syncer update 69364 259642 0 0 3 0x14000 0x200 cleaner cleaner 25416 158036 0 0 3 0x14000 0x200 reaper reaper 80009 44639 0 0 3 0x14000 0x200 pgdaemon pagedaemon 79693 509202 0 0 3 0x14000 0x200 bored viomb 71305 16396 0 0 3 0x14000 0x40000200 acpi0 acpi0 93406 77665 0 0 7 0x14000 0x40000200 idle1 63506 406201 0 0 3 0x14000 0x200 bored softnet1 18446 112879 0 0 3 0x14000 0x200 bored softnet0 89698 175208 0 0 3 0x14000 0x200 bored systqmp 72294 513064 0 0 3 0x14000 0x200 bored systq 88254 199846 0 0 3 0x14000 0x200 tmoslp softclockmp 27073 106465 0 0 3 0x14000 0x40000200 tmoslp softclock 57466 322922 0 0 3 0x14000 0x40000200 idle0 * 1 340771 0 0 7 0x2 0x2000 init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{0}> show all locks Process 1 (init) thread 0xffff800045fff758 (340771) 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 11058 12084K 12225K 166960K 12476 0 pcb 17 13K 14K 166960K 95 0 rtable 171 6K 8K 166960K 1656 0 pf 30 16K 18K 166960K 140 0 ifaddr 32 5K 8K 166960K 225 0 ifgroup 47 2K 2K 166960K 237 0 sysctl 1 1K 9K 166960K 6 0 counters 66 36K 37K 166960K 164 0 ioctlops 0 0K 4K 166960K 1544 0 iov 0 0K 20K 166960K 14 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1294 81K 82K 166960K 1913 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 18 0 dirhash 15 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12472 0 file desc 7 21K 81K 166960K 995 0 proc 73 115K 196K 166960K 1785 0 subproc 45 2K 4K 166960K 459 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 66 4K 6K 166960K 574 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 14 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 1056 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 155 140K 175K 166960K 8629 0 UVM aobj 6 2K 2K 166960K 6 0 pinsyscall 32 64K 99K 166960K 3289 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 14 0 NDP 16 0K 2K 166960K 161 0 temp 25 9130K 9194K 166960K 21056 0 kqueue 13 20K 26K 166960K 56 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 134 0 131 1 0 1 1 0 8 0 rtentry 176 586 0 508 6 1 5 6 0 8 0 unpcb 144 140 0 123 2 1 1 2 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 54 0 50 1 0 1 1 0 8 0 arp 136 104 0 92 1 0 1 1 0 8 0 inpcb 328 502 0 495 7 6 1 7 0 8 0 nd6 152 155 0 139 1 0 1 1 0 8 0 kcovpl 48 51 0 46 1 0 1 1 0 8 0 ppxss 1192 3 0 3 2 2 0 1 0 8 0 pffrag 232 3 0 0 1 0 1 1 0 482 0 pffrnode 88 3 0 0 1 0 1 1 0 8 0 pffrent 40 4 0 0 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 5 16 21 0 8 16 pfstitem 24 51 0 16 1 0 1 1 0 8 0 pfstkey 128 51 0 16 2 0 2 2 0 8 0 pfstate 448 51 0 16 5 0 5 5 0 8 0 pfrule 1360 23 0 17 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2364 0 2035 35 6 29 32 0 8 5 art_table 40 2365 0 2035 6 1 5 6 0 8 0 art_node 32 586 0 515 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 8 1 1 0 1 0 8 0 semapl 72 16 0 6 1 0 1 1 0 8 0 shmpl 120 3 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 0 3 0 3 3 0 8 0 dino2pl 256 2041 0 472 99 0 99 99 0 8 0 ffsino 296 2041 0 472 121 0 121 121 0 8 0 nchpl 144 2547 0 686 69 0 69 69 0 8 0 vnodes 216 2591 0 0 144 0 144 144 0 8 0 namei 1024 14386 0 14386 3 2 1 2 0 8 1 percpumem 16 98 0 49 1 0 1 1 0 8 0 kstatmem 264 123 0 98 3 0 3 3 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 8733 0 8733 10 9 1 8 1 8 1 plimitpl 152 100 0 84 1 0 1 1 0 8 0 sigapl 424 1225 0 1186 6 0 6 6 0 8 0 knotepl 120 506 0 0 16 0 16 16 0 8 0 kqueuepl 224 100 0 91 1 0 1 1 0 8 0 pipepl 344 276 0 249 4 0 4 4 0 8 0 fdescpl 528 1209 0 1188 3 0 3 3 0 8 0 filepl 160 4596 0 4427 12 2 10 12 0 8 1 lockfpl 104 100 0 98 1 0 1 1 0 8 0 lockfspl 48 45 0 43 1 0 1 1 0 8 0 sessionpl 144 76 0 67 1 0 1 1 0 8 0 pgrppl 48 128 0 112 1 0 1 1 0 8 0 ucredpl 104 317 0 304 1 0 1 1 0 8 0 zombiepl 144 1188 0 1186 1 0 1 1 0 8 0 processpl 1240 1225 0 1186 5 1 4 5 0 8 0 procpl 664 1720 0 1681 7 1 6 7 0 8 0 sockpl 752 780 0 753 10 6 4 10 0 8 1 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl9k128 9344 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 120 0 0 15 0 15 15 0 8 0 mcl2k 2048 18 0 0 3 0 3 3 0 8 0 mextrefs 64 17 0 0 1 0 1 1 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 191 0 0 12 0 12 12 0 8 0 bufpl 272 2951 0 91 191 0 191 191 0 8 0 anonpl 32 7449 0 0 60 0 60 60 0 247 0 amapchunkpl 152 23692 0 23458 30 11 19 27 0 158 5 amappl16 200 2375 0 2366 17 15 2 14 0 8 0 amappl15 192 71 0 71 1 1 0 1 0 8 0 amappl14 184 942 0 941 1 0 1 1 0 8 0 amappl13 176 203 0 191 1 0 1 1 0 8 0 amappl12 168 1640 0 1620 2 0 2 2 0 8 0 amappl11 160 12 0 12 2 2 0 1 0 8 0 amappl10 152 78 0 66 1 0 1 1 0 8 0 amappl9 144 283 0 283 1 1 0 1 0 8 0 amappl8 136 267 0 265 1 0 1 1 0 8 0 amappl7 128 234 0 222 1 0 1 1 0 8 0 amappl6 120 382 0 381 1 0 1 1 0 8 0 amappl5 112 310 0 301 1 0 1 1 0 8 0 amappl4 104 426 0 408 1 0 1 1 0 8 0 amappl3 96 4924 0 4860 4 0 4 4 0 8 0 amappl2 88 631 0 573 2 0 2 2 0 8 0 amappl1 80 16740 0 16186 15 2 13 14 0 8 0 amappl 88 7156 0 7070 5 1 4 5 0 92 0 uvmvnodes 80 111 0 0 3 0 3 3 0 8 0 dma8192 8192 1 0 1 1 1 0 1 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 9 0 9 2 2 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1209 0 1188 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1209 0 1188 1 0 1 1 0 8 0 vmmpekpl 168 10886 0 10840 3 0 3 3 0 8 0 vmmpepl 168 86075 0 84683 94 10 84 94 0 357 9 vmsppl 488 1208 0 1188 6 1 5 5 0 8 0 rwobjpl 80 26612 0 25715 27 4 23 27 0 8 0 pdppl 4096 2426 0 2376 140 70 70 80 0 8 20 pvpl 32 13352 0 0 108 0 108 108 0 265 0 pmappl 256 1208 0 1188 4 1 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 522 0 83 13 0 13 13 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(ffff800045fff758,c,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fff758,ffff80002a19cbf0,ffff80002a19cb40) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19cbf0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19cbf0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ad125d05710, 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