panic: init died (signal 0, exit 10) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 208832 55021 0 0x2 0 0 syz-executor *433269 1 0 0x2 0x2000 1 init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834eb76c) 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,ffff80002a1ac730,ffff80002a1ac680) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac730) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac730) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c5cf2952cc0, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: init died (signal 0, exit 10) ddb{1}> show kasan No such command ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834eb76c) 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,ffff80002a1ac730,ffff80002a1ac680) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac730) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac730) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c5cf2952cc0, count: -6 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a1ac500 rbx 0xffff80002999ee0f rdx 0 rcx 0xffff800045fffc88 rax 0xffff80002999dff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x12de662321de30a4 r11 0xb927eebd95554c9 r12 0xffff80002999ec10 r13 0 r14 0 r15 0x1 rip 0xffffffff82c46b95 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a1ac4f0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (init) tid=433269 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=0xffffffff83a44970,0xffff800045fff4d0 process=0xffff800045ffba20 user=0xffff80002a1a7000, vmspace=0xfffff9800b1f7d58 estcpu=0, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 35017 328632 59605 0 2 0 0 syz-executor 50140 203164 55021 0 2 0 0 syz-executor 15879 179355 93030 0 2 0x10 0 syz-executor 15879 191225 93030 0 3 0x10 0x4000080 fsleep syz-executor 15879 332290 93030 0 2 0x10 0x4000000 syz-executor 78886 305507 57812 0 2 0x2 0 syz-executor 86155 38876 57812 0 2 0x2 0 syz-executor 59605 222060 57812 0 2 0x2 0xc80 syz-executor 55021 208832 57812 0 7 0x2 0 syz-executor 93030 449382 57812 0 3 0x2 0x80 nanoslp syz-executor 37324 428739 57812 0 2 0x10000002 0xc80 syz-executor 69547 331965 0 0 3 0x14000 0x280 nfsidl nfsio 96475 364564 0 0 3 0x14000 0x280 nfsidl nfsio 94802 262692 0 0 3 0x14000 0x280 nfsidl nfsio 15770 164877 0 0 3 0x14000 0x280 nfsidl nfsio 57335 180232 0 0 3 0x14000 0x280 nfsidl nfsio 11142 331298 0 0 3 0x14000 0x280 nfsidl nfsio 8065 363714 0 0 3 0x14000 0x280 nfsidl nfsio 49853 382806 0 0 3 0x14000 0x280 nfsidl nfsio 83220 401049 0 0 3 0x14000 0x280 nfsidl nfsio 52537 188262 0 0 3 0x14000 0x280 nfsidl nfsio 1976 142315 0 0 3 0x14000 0x280 nfsidl nfsio 54855 37029 0 0 3 0x14000 0x280 nfsidl nfsio 27752 154286 0 0 3 0x14000 0x280 nfsidl nfsio 7964 269148 0 0 3 0x14000 0x280 nfsidl nfsio 659 209183 0 0 3 0x14000 0x280 nfsidl nfsio 89131 79860 0 0 3 0x14000 0x280 nfsidl nfsio 47539 96752 0 0 3 0x14000 0x280 nfsidl nfsio 79673 232559 0 0 3 0x14000 0x280 nfsidl nfsio 24621 201174 0 0 3 0x14000 0x280 nfsidl nfsio 86929 124504 0 0 3 0x14000 0x280 nfsidl nfsio 98097 65348 0 0 3 0x14000 0x200 acct acct 57812 456116 43042 0 3 0x2 0x80 nanoslp syz-executor 43042 262688 66831 0 3 0x100002 0x88 sigsusp ksh 66831 421712 8497 0 3 0x10 0x88 kqread sshd-session 8497 368367 33237 0 3 0x12 0x80 kqread sshd-session 824 59420 1 0 3 0x100003 0x80 ttyopn getty 33237 48888 1 0 3 0 0x88 kqread sshd 74141 466462 38056 74 3 0x1100012 0x80 bpf pflogd 38056 383438 1 0 3 0 0x80 sbwait pflogd 41655 276501 42554 73 3 0x1100010 0x80 kqread syslogd 42554 238955 1 0 3 0x100002 0x80 sbwait syslogd 51500 25394 1 0 3 0x100000 0x80 kqread resolvd 82641 85815 2926 77 3 0x100012 0x80 kqread dhcpleased 42442 363621 2926 77 3 0x100012 0x80 kqread dhcpleased 2926 218141 1 0 3 0 0x80 kqread dhcpleased 63238 19834 0 0 3 0x14000 0x200 bored smr 47160 102529 0 0 2 0x14000 0x200 zerothread 29427 271076 0 0 3 0x14000 0x200 aiodoned aiodoned 97249 67395 0 0 3 0x14000 0x200 syncer update 84191 53972 0 0 3 0x14000 0x200 cleaner cleaner 84493 198518 0 0 3 0x14000 0x200 reaper reaper 42190 104720 0 0 3 0x14000 0x200 pgdaemon pagedaemon 6071 294146 0 0 3 0x14000 0x200 bored viomb 16705 456624 0 0 3 0x14000 0x40000200 acpi0 acpi0 1866 286058 0 0 3 0x14000 0x40000200 idle1 1547 270071 0 0 3 0x14000 0x200 bored softnet1 50827 420334 0 0 3 0x14000 0x200 bored softnet0 36431 485293 0 0 3 0x14000 0x200 bored systqmp 95600 345870 0 0 3 0x14000 0x200 bored systq 40010 253820 0 0 3 0x14000 0x200 tmoslp softclockmp 79932 302486 0 0 3 0x14000 0x40000200 tmoslp softclock 934 6466 0 0 3 0x14000 0x40000200 idle0 * 1 433269 0 0 7 0x2 0x2000 init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 1 (init) thread 0xffff800045fffc88 (433269) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83b21ac0) #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:791 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11046 12078K 12160K 166960K 12681 0 pcb 17 14K 16K 166960K 206 0 rtable 187 6K 8K 166960K 3451 0 pf 29 16K 24K 166960K 288 0 ifaddr 31 6K 7K 166960K 462 0 ifgroup 43 2K 2K 166960K 470 0 sysctl 3 1K 9K 166960K 8 0 counters 64 36K 37K 166960K 280 0 ioctlops 0 0K 4K 166960K 1612 0 iov 0 0K 16K 166960K 14 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1294 81K 82K 166960K 2460 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 12 0 dirhash 15 2K 3K 166960K 18 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 12 41K 97K 166960K 1927 0 sigio 0 0K 0K 166960K 17 0 proc 71 115K 196K 166960K 3435 0 subproc 63 3K 4K 166960K 1008 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 419 0 in_multi 66 4K 6K 166960K 1221 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 41 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 1727 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 182 158K 178K 166960K 13880 0 UVM aobj 11 2K 2K 166960K 13 0 pinsyscall 37 74K 106K 166960K 5735 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 17 0 NDP 15 0K 2K 166960K 337 0 temp 34 9122K 9142K 166960K 31959 0 kqueue 13 20K 24K 166960K 63 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 246 0 243 1 0 1 1 0 8 0 rtentry 176 1237 0 1158 6 1 5 6 0 8 1 unpcb 144 179 0 162 3 2 1 2 0 8 0 syncache 336 5 0 5 1 1 0 1 0 8 0 tcpcb 736 47 0 43 1 0 1 1 0 8 0 arp 136 222 0 210 1 0 1 1 0 8 0 inpcb 328 1097 0 1090 8 6 2 7 0 8 1 nd6 152 330 0 315 1 0 1 1 0 8 0 kcovpl 48 112 0 105 1 0 1 1 0 8 0 ppxss 1192 3 0 3 1 1 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 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 pfanchor 1288 6 0 4 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 53 0 14 1 0 1 1 0 8 0 pfstkey 128 55 0 16 2 0 2 2 0 8 0 pfstate 448 54 0 15 5 0 5 5 0 8 0 pfrule 1360 23 0 18 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 5058 0 4702 36 10 26 31 0 8 3 art_table 40 5059 0 4702 5 0 5 5 0 8 1 art_node 32 1237 0 1166 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 72 10 0 4 1 0 1 1 0 8 0 shmpl 120 10 0 2 1 0 1 1 0 8 0 dirhash 1024 21 0 2 3 0 3 3 0 8 0 dino2pl 256 2155 0 445 107 0 107 107 0 8 0 ffsino 296 2155 0 445 132 0 132 132 0 8 0 nchpl 144 2718 0 636 78 0 78 78 0 8 0 vnodes 216 3247 0 0 181 0 181 181 0 8 0 namei 1024 21716 0 21716 5 4 1 3 0 8 1 percpumem 16 156 0 108 1 0 1 1 0 8 0 kstatmem 264 237 0 216 2 0 2 2 0 8 0 scsiplug 72 2 0 2 2 2 0 1 0 8 0 scxspl 216 25518 0 25518 11 10 1 8 1 8 1 plimitpl 152 167 0 151 1 0 1 1 0 8 0 sigapl 424 2057 0 1993 9 0 9 9 0 8 0 knotepl 120 311 0 0 10 0 10 10 0 8 0 kqueuepl 224 90 0 81 1 0 1 1 0 8 0 pipepl 344 579 0 552 6 2 4 6 0 8 0 fdescpl 528 2020 0 1994 3 0 3 3 0 8 0 filepl 160 6944 0 6752 17 8 9 16 0 8 0 lockfpl 104 414 0 412 1 0 1 1 0 8 0 lockfspl 48 47 0 45 1 0 1 1 0 8 0 sessionpl 144 145 0 136 1 0 1 1 0 8 0 pgrppl 48 258 0 242 1 0 1 1 0 8 0 ucredpl 104 394 0 379 1 0 1 1 0 8 0 zombiepl 144 1995 0 1993 1 0 1 1 0 8 0 processpl 1240 2057 0 1993 6 0 6 6 0 8 0 procpl 664 2677 0 2611 8 1 7 8 0 8 0 sockpl 752 1527 0 1500 13 9 4 10 0 8 1 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 129 0 0 17 0 17 17 0 8 0 mcl2k 2048 45 0 0 6 0 6 6 0 8 0 mextrefs 64 48 0 0 1 0 1 1 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 428 0 0 27 0 27 27 0 8 0 bufpl 272 11301 0 5170 409 0 409 409 0 8 0 anonpl 32 7253 0 0 59 0 59 59 0 247 0 amapchunkpl 152 48230 0 47906 31 14 17 31 0 158 2 amappl16 200 4025 0 4016 38 26 12 14 0 8 10 amappl15 192 16 0 16 1 1 0 1 0 8 0 amappl14 184 1658 0 1657 1 0 1 1 0 8 0 amappl13 176 326 0 314 1 0 1 1 0 8 0 amappl12 168 2693 0 2668 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 1 0 1 0 8 0 amappl10 152 76 0 62 1 0 1 1 0 8 0 amappl9 144 275 0 275 1 1 0 1 0 8 0 amappl8 136 523 0 521 1 0 1 1 0 8 0 amappl7 128 377 0 364 1 0 1 1 0 8 0 amappl6 120 1176 0 1175 1 0 1 1 0 8 0 amappl5 112 95 0 85 1 0 1 1 0 8 0 amappl4 104 602 0 582 1 0 1 1 0 8 0 amappl3 96 6918 0 6853 3 0 3 3 0 8 0 amappl2 88 1741 0 1668 2 0 2 2 0 8 0 amappl1 80 24627 0 24044 15 1 14 15 0 8 0 amappl 88 11377 0 11266 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 12 0 2 1 0 1 1 0 8 0 uaddrrnd 24 2020 0 1994 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2020 0 1994 1 0 1 1 0 8 0 vmmpekpl 168 17489 0 17431 4 0 4 4 0 8 0 vmmpepl 168 139241 0 137624 99 9 90 94 0 357 15 vmsppl 488 2019 0 1994 6 1 5 5 0 8 1 rwobjpl 80 41594 0 40644 29 2 27 28 0 8 2 pdppl 4096 4047 0 3988 215 148 67 87 0 8 8 pvpl 32 14288 0 0 116 0 116 116 0 265 0 pmappl 256 2019 0 1994 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 844 0 166 20 0 20 20 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83954ff0) 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(ffffffff83b212c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83b212c0) at __mp_lock+0x192 sys/kern/kern_lock.c:173 syscall(ffff80002efde5a0) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff80002efde5a0) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79e0fc2a36a0, count: 9 ddb{0}> trace x86_ipi_db(ffffffff83954ff0) 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(ffffffff83b212c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83b212c0) at __mp_lock+0x192 sys/kern/kern_lock.c:173 syscall(ffff80002efde5a0) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff80002efde5a0) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79e0fc2a36a0, count: -6 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834eb76c) 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,ffff80002a1ac730,ffff80002a1ac680) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac730) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac730) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c5cf2952cc0, count: 9 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834eb76c) 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,ffff80002a1ac730,ffff80002a1ac680) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac730) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac730) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c5cf2952cc0, count: -6