panic: init died (signal 0, exit 10) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 183716 14330 0 0x2 0x1 1 syz-executor * 14535 1 0 0x40000002 0x2000 0K init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834d1b57) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fff9f0,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fff9f0,ffff80002a1acd90,ffff80002a1acce0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1acd90) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1acd90) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7577a6401710, 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(ffffffff834d1b57) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fff9f0,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fff9f0,ffff80002a1acd90,ffff80002a1acce0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1acd90) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1acd90) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7577a6401710, count: -6 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a1acb60 rbx 0xffffffff83983e07 cpu_info_full_primary+0x2e07 rdx 0 rcx 0xffff800045fff9f0 rax 0xffffffff83982ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x1d8a4fbf76513a59 r11 0x4221e4d38b88e85c r12 0xffffffff83983c08 cpu_info_full_primary+0x2c08 r13 0 r14 0 r15 0x1 rip 0xffffffff822dd0c5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a1acb50 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (init) tid=14535 pid=1 tcnt=1 stat=onproc flags process=40000002 proc=2000 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffffffff83af8428,0xffff800045fff768 process=0xffff800045ffb9c0 user=0xffff80002a1a7000, vmspace=0xfffff4000b1cb3d0 estcpu=0, cpticks=2, pctcpu=0.1, user=0, sys=1, intr=1 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 86460 196962 4615 0 2 0 0 syz-executor 43746 448810 14330 0 2 0 0 syz-executor 43746 402647 14330 0 3 0 0x4000080 fsleep syz-executor 17042 463109 82232 0 2 0 0 syz-executor 17042 447809 82232 0 2 0 0x4000000 syz-executor 69012 478123 84673 0 2 0 0 syz-executor 69012 121340 84673 0 3 0 0x4000080 ttyout syz-executor 69012 78671 84673 0 2 0 0x4000000 syz-executor 92523 438621 73063 0 3 0 0x80 nanoslp syz-executor 92523 222672 73063 0 3 0 0x4000080 bell syz-executor 92523 142004 73063 0 3 0 0x4000080 fsleep syz-executor 98629 239141 87863 0 3 0 0x80 nanoslp syz-executor 98629 505103 87863 0 3 0 0x4000080 msgwait syz-executor 98629 69741 87863 0 3 0 0x4000080 fsleep syz-executor 61766 421822 27168 0 2 0x2 0 syz-executor 74739 73762 1 0 3 0x100003 0x80 ttyin getty 73063 236052 27168 0 3 0x2 0x80 nanoslp syz-executor 87863 242737 27168 0 2 0x2 0 syz-executor 31308 202193 27168 0 2 0x2 0 syz-executor 84673 114639 27168 0 3 0x2 0x80 nanoslp syz-executor 82232 37994 27168 0 3 0x2 0x80 nanoslp syz-executor 4615 369282 27168 0 2 0x2 0xc80 syz-executor 14330 183716 27168 0 7 0x2 0x1 syz-executor 27168 59856 1 0 3 0x2 0x80 kqread syz-executor 42534 323397 0 0 3 0x14000 0x200 bored smr 11204 88211 0 0 3 0x14000 0x200 pgzero zerothread 29766 351181 0 0 3 0x14000 0x200 aiodoned aiodoned 47009 285238 0 0 3 0x14000 0x200 syncer update 27540 457612 0 0 3 0x14000 0x200 cleaner cleaner 40078 372158 0 0 3 0x14000 0x200 reaper reaper 48004 64516 0 0 3 0x14000 0x200 pgdaemon pagedaemon 97713 511832 0 0 3 0x14000 0x200 bored viomb 23023 452080 0 0 3 0x14000 0x40000200 acpi0 acpi0 4550 452169 0 0 3 0x14000 0x40000200 idle1 18616 386317 0 0 3 0x14000 0x200 bored softnet1 62122 394660 0 0 3 0x14000 0x200 bored softnet0 54723 510387 0 0 3 0x14000 0x200 bored systqmp 52907 402605 0 0 3 0x14000 0x200 bored systq 23499 41199 0 0 3 0x14000 0x200 tmoslp softclockmp 17575 166909 0 0 3 0x14000 0x40000200 tmoslp softclock 12858 383395 0 0 3 0x14000 0x40000200 idle0 * 1 14535 0 0 7 0x40000002 0x2000 init 0 0 -1 0 3 0x10010000 0x200 scheduler swapper ddb{0}> show all locks Process 1 (init) thread 0xffff800045fff9f0 (14535) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83b34800) #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 11050 12019K 12279K 166960K 12522 0 pcb 17 12K 12K 166960K 63 0 rtable 250 7K 8K 166960K 414 0 pf 35 17K 37K 166960K 89 0 ifaddr 45 8K 8K 166960K 58 0 ifgroup 55 2K 2K 166960K 72 0 sysctl 4 1K 9K 166960K 9 0 counters 70 37K 37K 166960K 82 0 ioctlops 0 0K 4K 166960K 1531 0 iov 0 0K 16K 166960K 77 0 mount 1 1K 1K 166960K 1 0 log 1 0K 0K 166960K 5 0 vnodes 1351 85K 85K 166960K 1619 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 9 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 17 65K 252K 166960K 378 0 sigio 0 0K 0K 166960K 1 0 proc 21 33K 164K 166960K 615 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 77 0 in_multi 107 7K 7K 166960K 118 0 ether_multi 1 0K 0K 166960K 2 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 428 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 129 84K 198K 166960K 5112 0 UVM aobj 7 2K 2K 166960K 9 0 pinsyscall 20 40K 106K 166960K 1581 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 48 0 NDP 12 0K 2K 166960K 36 0 temp 40 9119K 9164K 166960K 18647 0 kqueue 3 2K 30K 166960K 73 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 43 0 43 1 0 1 1 0 8 1 rtentry 176 126 0 13 6 0 6 6 0 8 0 unpcb 144 267 0 134 5 0 5 5 0 8 0 syncache 336 7 0 7 1 0 1 1 0 8 1 tcpcb 736 62 0 61 1 0 1 1 0 8 0 arp 136 20 0 2 1 0 1 1 0 8 0 inpcb 328 225 0 223 2 0 2 2 0 8 0 nd6 152 29 0 3 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1192 4 0 4 1 0 1 1 0 8 1 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pffrag 232 6 0 0 1 0 1 1 0 482 0 pffrnode 88 6 0 0 1 0 1 1 0 8 0 pffrent 40 7 0 1 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 3 0 3 1 0 1 1 0 8 1 pfanchor 1288 1 0 1 1 0 1 1 0 8 1 pftag 88 2 0 1 1 0 1 1 0 8 0 pfstitem 24 26 0 0 1 0 1 1 0 8 0 pfstkey 128 28 0 2 1 0 1 1 0 8 0 pfstate 448 27 0 1 3 0 3 3 0 8 0 pfrule 1360 28 0 27 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 511 0 44 30 0 30 30 0 8 0 art_table 40 512 0 44 5 0 5 5 0 8 0 art_node 32 125 0 23 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semapl 72 7 0 1 1 0 1 1 0 8 0 shmpl 112 6 0 2 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1993 0 516 93 0 93 93 0 8 0 ffsino 296 1993 0 516 115 0 115 115 0 8 0 nchpl 144 2486 0 782 64 0 64 64 0 8 0 vnodes 216 2265 0 0 126 0 126 126 0 8 0 namei 1024 8527 0 8527 2 0 2 2 0 8 2 percpumem 16 57 0 6 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 1 1 0 1 1 0 8 1 kstatmem 264 39 0 12 2 0 2 2 0 8 0 scxspl 216 16282 0 16282 9 1 8 8 1 8 8 plimitpl 152 53 0 42 1 0 1 1 0 8 0 sigapl 424 687 0 651 7 0 7 7 0 8 2 knotepl 120 745 0 0 23 0 23 23 0 8 0 kqueuepl 224 89 0 86 1 0 1 1 0 8 0 pipepl 344 147 0 120 3 0 3 3 0 8 0 fdescpl 528 671 0 651 3 0 3 3 0 8 0 filepl 160 3507 0 3140 16 0 16 16 0 8 0 lockfpl 104 110 0 109 1 0 1 1 0 8 0 lockfspl 48 48 0 47 1 0 1 1 0 8 0 sessionpl 144 37 0 34 1 0 1 1 0 8 0 pgrppl 48 49 0 38 1 0 1 1 0 8 0 ucredpl 104 328 0 325 1 0 1 1 0 8 0 zombiepl 144 653 0 651 1 0 1 1 0 8 0 processpl 1232 687 0 651 5 0 5 5 0 8 0 procpl 664 1055 0 1011 6 0 6 6 0 8 1 sosppl 176 2 0 2 1 0 1 1 0 8 1 sockpl 752 546 0 411 14 0 14 14 0 8 0 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 125 0 0 16 0 16 16 0 8 0 mcl2k 2048 30 0 0 4 0 4 4 0 8 0 mextrefs 64 26 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 228 0 0 15 0 15 15 0 8 0 bufpl 272 8656 0 2525 409 0 409 409 0 8 0 anonpl 32 10078 0 0 82 0 82 82 0 247 0 amapchunkpl 152 15782 0 15231 28 0 28 28 0 158 6 amappl16 200 3096 0 3027 28 12 16 27 0 8 5 amappl15 192 1 0 1 1 1 0 1 0 8 0 amappl14 184 447 0 447 1 0 1 1 0 8 1 amappl13 176 142 0 141 1 0 1 1 0 8 0 amappl12 168 928 0 909 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 1 0 1 0 8 0 amappl10 152 95 0 95 1 0 1 1 0 8 1 amappl9 144 276 0 276 1 1 0 1 0 8 0 amappl8 136 102 0 101 1 0 1 1 0 8 0 amappl7 128 154 0 152 1 0 1 1 0 8 0 amappl6 120 169 0 168 1 0 1 1 0 8 0 amappl5 112 105 0 105 1 0 1 1 0 8 1 amappl4 104 331 0 328 1 0 1 1 0 8 0 amappl3 96 2757 0 2697 3 0 3 3 0 8 0 amappl2 88 828 0 804 3 0 3 3 0 8 1 amappl1 80 14392 0 14273 18 1 17 17 0 8 7 amappl 88 4251 0 4137 5 0 5 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 2 1 0 1 1 0 8 0 uaddrrnd 24 671 0 651 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 671 0 651 1 0 1 1 0 8 0 vmmpekpl 168 8090 0 8051 3 0 3 3 0 8 0 vmmpepl 168 56350 0 55429 104 1 103 103 0 357 54 vmsppl 488 670 0 651 5 0 5 5 0 8 1 rwobjpl 80 21198 0 20730 30 1 29 29 0 8 2 pdppl 4096 1349 0 1302 99 50 49 87 0 8 2 pvpl 32 14759 0 0 120 0 120 120 0 265 0 pmappl 256 670 0 651 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 687 0 53 19 0 19 19 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(ffffffff834d1b57) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fff9f0,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fff9f0,ffff80002a1acd90,ffff80002a1acce0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1acd90) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1acd90) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7577a6401710, 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(ffffffff83b34000) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83b34000) at __mp_lock+0x192 sys/kern/kern_lock.c:173 ktrsyscall(ffff800045ffdc90,b,20,ffff80002a2a85e0) at ktrsyscall+0x2c7 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff800045ffdc90,b,20,ffff80002a2a85e0) at ktrsyscall+0x2c7 sys/kern/kern_ktrace.c:183 syscall(ffff80002a2a85e0) at syscall+0x305 mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a2a85e0) at syscall+0x305 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x790fe918ab50, count: 8 ddb{1}>