panic: init died (signal 0, exit 10) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 46602 1 0 0x2 0x2000 0K init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8350bc74) 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,ffff80002a19c890,ffff80002a19c7e0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c890) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c890) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7567d6b6b1c0, 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(ffffffff8350bc74) 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,ffff80002a19c890,ffff80002a19c7e0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c890) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c890) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7567d6b6b1c0, count: -6 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a19c660 rbx 0xffffffff8399be0f cpu_info_full_primary+0x2e0f rdx 0 rcx 0xffff800045fffc88 rax 0xffffffff8399aff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x76ddbe1db4a30352 r11 0x78c69c7d9218d67d r12 0xffffffff8399bc10 cpu_info_full_primary+0x2c10 r13 0 r14 0 r15 0x1 rip 0xffffffff81f9deb5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a19c650 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (init) tid=46602 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=0xffffffff83a54f88,0xffff800045fff768 process=0xffff800045ffba20 user=0xffff80002a197000, vmspace=0xffffef800b1f75b8 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 23800 494021 69322 0 3 0x2 0x80 piperd syz-executor 49953 503436 69322 0 3 0x2 0x80 piperd syz-executor 25968 183441 69322 0 3 0x2 0x80 piperd syz-executor 69882 258398 69322 0 3 0x2 0x80 piperd syz-executor 53252 176552 69322 0 3 0x2 0x80 piperd syz-executor 17492 223008 69322 0 3 0x2 0x80 wait syz-executor 21158 267955 0 0 3 0x14000 0x280 nfsidl nfsio 12293 182065 0 0 3 0x14000 0x280 nfsidl nfsio 27221 163016 0 0 3 0x14000 0x280 nfsidl nfsio 60045 456811 0 0 3 0x14000 0x280 nfsidl nfsio 2650 495504 0 0 3 0x14000 0x280 nfsidl nfsio 35873 85196 0 0 3 0x14000 0x280 nfsidl nfsio 41365 102209 0 0 3 0x14000 0x280 nfsidl nfsio 99269 178194 0 0 3 0x14000 0x280 nfsidl nfsio 86717 243990 0 0 3 0x14000 0x280 nfsidl nfsio 45880 314024 0 0 3 0x14000 0x280 nfsidl nfsio 53419 202163 0 0 3 0x14000 0x280 nfsidl nfsio 83488 519724 0 0 3 0x14000 0x280 nfsidl nfsio 14867 61037 0 0 3 0x14000 0x280 nfsidl nfsio 15048 245704 0 0 3 0x14000 0x280 nfsidl nfsio 62224 195522 0 0 3 0x14000 0x280 nfsidl nfsio 21258 392265 0 0 3 0x14000 0x280 nfsidl nfsio 56146 139937 0 0 3 0x14000 0x280 nfsidl nfsio 94385 276726 0 0 3 0x14000 0x280 nfsidl nfsio 34226 403112 0 0 3 0x14000 0x280 nfsidl nfsio 82574 37323 0 0 3 0x14000 0x280 nfsidl nfsio 69322 215872 92187 0 3 0x2 0x80 nanoslp syz-executor 92187 417224 78316 0 3 0x100002 0x88 sigsusp ksh 78316 148620 17589 0 3 0x10 0x88 kqread sshd-session 17589 283327 41668 0 3 0x12 0x80 kqread sshd-session 58126 264068 1 0 3 0x100003 0x80 ttyin getty 41668 225133 1 0 3 0 0x88 kqread sshd 71980 181392 24828 74 3 0x1100012 0x80 bpf pflogd 24828 385075 1 0 3 0 0x80 sbwait pflogd 84755 339215 1471 73 3 0x1100010 0x80 kqread syslogd 1471 345154 1 0 3 0x100002 0x80 sbwait syslogd-parent 94569 477439 1 0 3 0x100000 0x80 kqread resolvd 51496 497931 46937 77 3 0x100012 0x80 kqread dhcpleased 69632 204866 46937 77 3 0x100012 0x80 kqread dhcpleased 46937 407285 1 0 3 0 0x80 kqread dhcpleased 22755 509367 0 0 3 0x14000 0x200 bored smr 99971 105629 0 0 3 0x14000 0x200 pgzero zerothread 74829 17565 0 0 3 0x14000 0x200 aiodoned aiodoned 76424 476343 0 0 3 0x14000 0x200 syncer update 86970 376604 0 0 3 0x14000 0x200 cleaner cleaner 75789 497060 0 0 3 0x14000 0x200 reaper reaper 32989 15843 0 0 3 0x14000 0x200 pgdaemon pagedaemon 76243 255903 0 0 3 0x14000 0x200 bored viomb 24547 202342 0 0 3 0x14000 0x40000200 acpi0 acpi0 13738 260430 0 0 7 0x14000 0x40000200 idle1 30534 378542 0 0 3 0x14000 0x200 bored softnet1 91424 523448 0 0 3 0x14000 0x200 bored softnet0 88147 142408 0 0 3 0x14000 0x200 bored systqmp 24085 259592 0 0 3 0x14000 0x200 bored systq 6252 437998 0 0 3 0x14000 0x200 tmoslp softclockmp 29664 352060 0 0 3 0x14000 0x40000200 tmoslp softclock 68600 244700 0 0 3 0x14000 0x40000200 idle0 * 1 46602 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 (46602) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83b25480) #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 11050 12080K 12214K 166960K 12542 0 pcb 17 12K 12K 166960K 43 0 rtable 192 6K 7K 166960K 2323 0 pf 30 16K 19K 166960K 217 0 ifaddr 35 6K 8K 166960K 327 0 ifgroup 47 2K 2K 166960K 366 0 sysctl 1 1K 9K 166960K 39 0 counters 66 36K 37K 166960K 234 0 ioctlops 0 0K 4K 166960K 1587 0 iov 0 0K 16K 166960K 9 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1301 82K 82K 166960K 2084 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 17 1K 1K 166960K 17 0 dirhash 15 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12472 0 file desc 9 29K 89K 166960K 1293 0 sigio 0 0K 0K 166960K 5 0 proc 72 115K 180K 166960K 2382 0 subproc 54 3K 4K 166960K 657 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 14 0 in_multi 77 5K 6K 166960K 821 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 24 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 1257 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 141K 168K 166960K 10136 0 UVM aobj 8 2K 2K 166960K 9 0 pinsyscall 34 68K 106K 166960K 4159 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 6 0 NDP 20 1K 2K 166960K 238 0 temp 28 9126K 9190K 166960K 16093 0 kqueue 13 20K 26K 166960K 52 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 178 0 175 1 0 1 1 0 8 0 rtentry 176 831 0 742 6 1 5 6 0 8 0 unpcb 144 133 0 116 1 0 1 1 0 8 0 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpcb 736 267 0 263 4 3 1 4 0 8 0 arp 136 149 0 135 1 0 1 1 0 8 0 inpcb 328 825 0 818 7 5 2 7 0 8 1 nd6 152 220 0 202 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 1 0 1 0 8 0 kcovpl 48 73 0 67 1 0 1 1 0 8 0 ppxss 1192 10 0 10 2 1 1 1 0 8 1 pppxif 1584 2 0 2 1 0 1 1 0 8 1 pffrag 232 2 0 0 1 0 1 1 0 482 0 pffrnode 88 2 0 0 1 0 1 1 0 8 0 pffrent 40 2 0 0 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 pfsrclim 320 1 0 1 1 1 0 1 0 8 0 pfstitem 24 30 0 22 1 0 1 1 0 8 0 pfstkey 128 30 0 22 1 0 1 1 0 8 0 pfstate 448 30 0 22 4 1 3 4 0 8 1 pfrule 1360 21 0 15 2 0 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 3345 0 2975 31 2 29 29 0 8 4 art_table 40 3347 0 2975 5 0 5 5 0 8 0 art_node 32 831 0 750 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 4 1 0 1 1 0 8 0 semapl 72 15 0 0 1 0 1 1 0 8 0 shmpl 120 6 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 0 3 0 3 3 0 8 0 dino2pl 256 1987 0 366 102 0 102 102 0 8 0 ffsino 296 1987 0 366 125 0 125 125 0 8 0 nchpl 144 2439 0 495 72 0 72 72 0 8 0 vnodes 216 2729 0 0 152 0 152 152 0 8 0 namei 1024 17274 0 17274 4 2 2 2 0 8 2 percpumem 16 133 0 84 1 0 1 1 0 8 0 kstatmem 264 187 0 164 3 1 2 3 0 8 0 scxspl 216 8588 0 8588 10 9 1 8 1 8 1 plimitpl 152 190 0 174 1 0 1 1 0 8 0 sigapl 424 1499 0 1439 10 1 9 9 0 8 1 knotepl 120 566 0 0 18 0 18 18 0 8 0 kqueuepl 224 77 0 68 1 0 1 1 0 8 0 pipepl 344 327 0 300 4 0 4 4 0 8 1 fdescpl 528 1463 0 1440 3 0 3 3 0 8 0 filepl 160 5957 0 5773 15 3 12 15 0 8 2 lockfpl 104 461 0 459 2 1 1 2 0 8 0 lockfspl 48 46 0 44 1 0 1 1 0 8 0 sessionpl 144 94 0 85 1 0 1 1 0 8 0 pgrppl 48 168 0 152 1 0 1 1 0 8 0 ucredpl 104 443 0 430 1 0 1 1 0 8 0 zombiepl 144 1441 0 1439 1 0 1 1 0 8 0 processpl 1240 1499 0 1439 6 0 6 6 0 8 0 procpl 664 1972 0 1912 8 1 7 8 0 8 0 sockpl 752 1146 0 1119 10 6 4 10 0 8 1 mcl64k 65536 3 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 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 111 0 0 14 0 14 14 0 8 0 mcl2k 2048 23 0 0 3 0 3 3 0 8 0 mextrefs 64 22 0 0 1 0 1 1 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 184 0 0 12 0 12 12 0 8 0 bufpl 272 3035 0 91 197 0 197 197 0 8 0 anonpl 32 5535 0 0 45 0 45 45 0 247 0 amapchunkpl 152 26968 0 26686 26 8 18 26 0 158 3 amappl16 200 1638 0 1631 5 4 1 5 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 1207 0 1206 1 0 1 1 0 8 0 amappl13 176 249 0 237 1 0 1 1 0 8 0 amappl12 168 1972 0 1950 2 0 2 2 0 8 0 amappl11 160 6 0 5 1 0 1 1 0 8 0 amappl10 152 70 0 57 1 0 1 1 0 8 0 amappl9 144 289 0 289 1 1 0 1 0 8 0 amappl8 136 358 0 357 1 0 1 1 0 8 0 amappl7 128 284 0 272 1 0 1 1 0 8 0 amappl6 120 524 0 522 1 0 1 1 0 8 0 amappl5 112 401 0 390 1 0 1 1 0 8 0 amappl4 104 493 0 474 1 0 1 1 0 8 0 amappl3 96 5712 0 5640 4 1 3 4 0 8 0 amappl2 88 717 0 661 2 0 2 2 0 8 0 amappl1 80 19452 0 18887 15 1 14 15 0 8 0 amappl 88 8299 0 8199 5 1 4 5 0 92 0 uvmvnodes 80 106 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 8 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1463 0 1440 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1463 0 1440 1 0 1 1 0 8 0 vmmpekpl 168 12636 0 12592 3 0 3 3 0 8 0 vmmpepl 168 101894 0 100405 87 4 83 87 0 357 5 vmsppl 488 1462 0 1440 6 1 5 5 0 8 1 rwobjpl 80 30367 0 29446 25 2 23 25 0 8 0 pdppl 4096 2934 0 2880 174 104 70 86 0 8 16 pvpl 32 12451 0 0 102 1 101 101 0 265 0 pmappl 256 1462 0 1440 4 1 3 3 0 8 1 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 564 0 116 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(ffffffff8350bc74) 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,ffff80002a19c890,ffff80002a19c7e0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c890) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c890) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7567d6b6b1c0, 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