panic: init died (signal 0, exit 10) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 420716 18366 0 0 0x4000000 1 syz-executor *193754 1 0 0x50000002 0x2000 0K init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834d1f01) 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,ffff80002a1acba0,ffff80002a1acaf0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1acba0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1acba0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78c8412654d0, 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(ffffffff834d1f01) 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,ffff80002a1acba0,ffff80002a1acaf0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1acba0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1acba0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78c8412654d0, count: -6 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a1ac970 rbx 0xffffffff8393ee07 cpu_info_full_primary+0x2e07 rdx 0 rcx 0xffff800045fffc88 rax 0xffffffff8393dff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xf049069fb607fbc4 r11 0x8e56264ad97dafa4 r12 0xffffffff8393ec08 cpu_info_full_primary+0x2c08 r13 0 r14 0 r15 0x1 rip 0xffffffff82d62675 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a1ac960 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (init) tid=193754 pid=1 tcnt=1 stat=onproc flags process=50000002 proc=2000 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffffffff839f0388,0xffff800045fffa00 process=0xffff800045ffb9c0 user=0xffff80002a1a7000, vmspace=0xfffff6000b1cbd58 estcpu=0, cpticks=3, pctcpu=0.0, user=0, sys=3, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 18366 192598 41628 0 2 0 0 syz-executor 18366 420716 41628 0 7 0 0x4000000 syz-executor 27652 210080 84074 0 2 0 0 syz-executor 27652 38204 84074 0 3 0 0x4000080 fsleep syz-executor 21195 106910 46091 0 2 0 0 syz-executor 21195 454128 46091 0 3 0 0x4000080 fsleep syz-executor 21195 61105 46091 0 2 0 0x4000000 syz-executor 2234 31271 2663 0 2 0 0 syz-executor 2234 392332 2663 0 2 0 0x4000000 syz-executor 92446 469688 56360 0 2 0 0 syz-executor 92446 22069 56360 0 3 0 0x4000080 piperd syz-executor 53280 338548 72974 0 2 0 0 syz-executor 53280 344595 72974 0 3 0 0x4000080 fsleep syz-executor 53280 104575 72974 0 3 0 0x4000080 fsleep syz-executor 57372 34616 36505 0 3 0 0x80 nanoslp syz-executor 57372 246500 36505 0 3 0 0x4000080 piperd syz-executor 57372 149842 36505 0 3 0 0x4000080 piperd syz-executor 57372 405342 36505 0 3 0 0x4000080 fsleep syz-executor 15379 479737 16996 0 4 0x40000000 0x8000000 syz-executor 15379 236341 16996 0 4 0x40000000 0xc000000 syz-executor 15379 476552 16996 0 4 0x40000000 0xc000000 syz-executor 2663 223985 39571 0 3 0x2 0x80 nanoslp syz-executor 72974 21843 39571 0 3 0x2 0x80 nanoslp syz-executor 27275 63331 0 0 3 0x14000 0x280 nfsidl nfsio 70247 265829 0 0 3 0x14000 0x280 nfsidl nfsio 71494 97005 0 0 3 0x14000 0x280 nfsidl nfsio 11087 509042 0 0 3 0x14000 0x280 nfsidl nfsio 3154 244478 0 0 3 0x14000 0x280 nfsidl nfsio 8348 330604 0 0 3 0x14000 0x280 nfsidl nfsio 70615 238032 0 0 3 0x14000 0x280 nfsidl nfsio 21820 153177 0 0 3 0x14000 0x280 nfsidl nfsio 67464 458734 0 0 3 0x14000 0x280 nfsidl nfsio 33553 302976 0 0 3 0x14000 0x280 nfsidl nfsio 16676 185915 0 0 3 0x14000 0x280 nfsidl nfsio 98986 109225 0 0 3 0x14000 0x280 nfsidl nfsio 45252 114027 0 0 3 0x14000 0x280 nfsidl nfsio 78185 233299 0 0 3 0x14000 0x280 nfsidl nfsio 17001 43392 0 0 3 0x14000 0x280 nfsidl nfsio 94047 51047 0 0 3 0x14000 0x280 nfsidl nfsio 74622 116408 0 0 3 0x14000 0x280 nfsidl nfsio 6820 197740 0 0 3 0x14000 0x280 nfsidl nfsio 50831 392247 0 0 3 0x14000 0x280 nfsidl nfsio 7527 41865 0 0 3 0x14000 0x280 nfsidl nfsio 56360 498209 39571 0 3 0x2 0x80 nanoslp syz-executor 84074 343131 39571 0 3 0x2 0x80 nanoslp syz-executor 41628 322411 39571 0 3 0x2 0x80 nanoslp syz-executor 46091 309965 39571 0 2 0x2 0 syz-executor 16996 4939 39571 0 3 0x2 0x80 nanoslp syz-executor 36505 68396 39571 0 3 0x2 0x80 nanoslp syz-executor 39571 139972 1 0 3 0x2 0x80 kqread syz-executor 31310 251660 0 0 3 0x14000 0x200 bored smr 7621 260060 0 0 2 0x14000 0x200 zerothread 65375 217480 0 0 3 0x14000 0x200 aiodoned aiodoned 73436 209667 0 0 3 0x14000 0x200 syncer update 5217 461292 0 0 3 0x14000 0x200 cleaner cleaner 8403 209567 0 0 3 0x14000 0x200 reaper reaper 4483 285293 0 0 3 0x14000 0x200 pgdaemon pagedaemon 89338 389481 0 0 3 0x14000 0x200 bored viomb 42516 78664 0 0 3 0x14000 0x40000200 acpi0 acpi0 74681 403287 0 0 3 0x14000 0x40000200 idle1 1225 293171 0 0 3 0x14000 0x200 bored softnet1 12922 503301 0 0 3 0x14000 0x200 bored softnet0 21647 25306 0 0 3 0x14000 0x200 bored systqmp 19707 419893 0 0 3 0x14000 0x200 bored systq 22633 201452 0 0 3 0x14000 0x200 tmoslp softclockmp 51292 503768 0 0 3 0x14000 0x40000200 tmoslp softclock 70386 452880 0 0 3 0x14000 0x40000200 idle0 * 1 193754 0 0 7 0x50000002 0x2000 init 0 0 -1 0 3 0x10010000 0x200 scheduler swapper ddb{0}> show all locks Process 1 (init) thread 0xffff800045fffc88 (193754) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83abe180) #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 11068 12109K 12487K 166960K 13237 0 pcb 17 12K 12K 166960K 111 0 rtable 159 14K 17K 166960K 516 0 pf 39 18K 25K 166960K 155 0 ifaddr 30 4K 7K 166960K 87 0 ifgroup 58 2K 3K 166960K 142 0 sysctl 4 1K 9K 166960K 22 0 counters 70 37K 38K 166960K 148 0 ioctlops 0 0K 4K 166960K 1632 0 iov 0 0K 17K 166960K 58 0 mount 1 1K 1K 166960K 1 0 log 3 4K 4K 166960K 9 0 vnodes 1392 87K 88K 166960K 2375 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 20K 24K 166960K 19 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 40 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 17 65K 232K 166960K 816 0 sigio 0 0K 0K 166960K 12 0 proc 12 17K 147K 166960K 667 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 152 0 in_multi 50 3K 6K 166960K 143 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 13 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 625 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 130 78K 175K 166960K 8864 0 UVM aobj 29 2K 2K 166960K 30 0 pinsyscall 18 36K 108K 166960K 2045 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 25 0 NDP 12 0K 1K 166960K 58 0 temp 75 9128K 9178K 166960K 34109 0 kqueue 5 6K 28K 166960K 135 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 79 0 79 1 0 1 1 0 8 1 rtentry 176 156 0 97 6 0 6 6 0 8 0 unpcb 144 445 0 442 3 0 3 3 0 8 2 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 300 0 299 7 1 6 7 0 8 5 arp 136 27 0 19 1 0 1 1 0 8 0 inpcb 328 703 0 698 7 1 6 7 0 8 5 nd6 152 34 0 24 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 0 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1192 26 0 26 1 0 1 1 0 8 1 pppxif 1576 5 0 5 1 0 1 1 0 8 1 pfstscr 40 10 0 7 1 0 1 1 0 8 0 pffrag 232 6 0 1 1 0 1 1 0 482 0 pffrnode 88 6 0 1 1 0 1 1 0 8 0 pffrent 40 11 0 6 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 8 0 8 1 0 1 1 0 8 1 pfstlim 224 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 4 0 4 1 1 0 1 0 8 0 pftag 88 4 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 0 1 0 1 1 0 8 0 pfstitem 24 24 0 0 1 0 1 1 0 8 0 pfstkey 128 32 0 9 1 0 1 1 0 8 0 pfstate 448 27 0 4 3 0 3 3 0 8 0 pfrule 1360 32 0 31 2 1 1 2 0 8 0 art_heap8 4096 3 0 2 3 0 3 3 0 8 2 art_heap4 256 642 0 383 29 2 27 29 0 8 6 art_table 40 645 0 385 5 0 5 5 0 8 0 art_node 32 156 0 102 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 5 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 72 34 0 24 1 0 1 1 0 8 0 shmpl 112 27 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2807 0 1335 93 0 93 93 0 8 0 ffsino 296 2807 0 1335 114 0 114 114 0 8 0 nchpl 144 3878 0 2164 64 0 64 64 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 vnodes 216 3618 0 0 201 0 201 201 0 8 0 namei 1024 12930 0 12930 2 0 2 2 0 8 2 percpumem 16 90 0 39 1 0 1 1 0 8 0 kstatmem 264 81 0 50 3 0 3 3 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 14422 0 14422 11 3 8 8 1 8 8 plimitpl 152 120 0 102 1 0 1 1 0 8 0 sigapl 424 1147 0 1079 9 1 8 8 0 8 0 knotepl 120 506 0 0 16 0 16 16 0 8 0 kqueuepl 224 196 0 192 1 0 1 1 0 8 0 pipepl 344 279 0 250 3 0 3 3 0 8 0 fdescpl 528 1110 0 1091 3 0 3 3 0 8 0 filepl 160 6388 0 6225 21 3 18 19 0 8 7 lockfpl 104 348 0 348 2 1 1 2 0 8 1 lockfspl 48 160 0 160 1 0 1 1 0 8 1 sessionpl 144 123 0 114 1 0 1 1 0 8 0 pgrppl 48 143 0 125 1 0 1 1 0 8 0 ucredpl 104 1055 0 1041 1 0 1 1 0 8 0 zombiepl 144 1092 0 1079 2 1 1 1 0 8 0 processpl 1232 1147 0 1079 6 0 6 6 0 8 0 procpl 664 2177 0 2096 8 0 8 8 0 8 0 sosppl 176 3 0 3 1 0 1 1 0 8 1 sockpl 752 1358 0 1350 14 6 8 14 0 8 6 mcl64k 65536 5 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 mcl9k128 9344 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 124 0 0 16 0 16 16 0 8 0 mcl2k 2048 28 0 0 4 0 4 4 0 8 0 mextrefs 64 25 0 0 1 0 1 1 0 8 0 mtagpl 96 6 0 0 1 0 1 1 0 8 0 mbufpl 256 207 0 0 13 0 13 13 0 8 0 bufpl 272 5333 0 107 349 0 349 349 0 8 0 anonpl 32 7773 0 0 63 0 63 63 0 247 0 amapchunkpl 152 28449 0 28075 34 0 34 34 0 158 18 amappl16 200 3107 0 3079 25 10 15 15 0 8 11 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 467 0 467 1 0 1 1 0 8 1 amappl13 176 129 0 129 1 0 1 1 0 8 1 amappl12 168 1386 0 1368 2 0 2 2 0 8 0 amappl11 160 6 0 5 1 0 1 1 0 8 0 amappl10 152 97 0 97 1 0 1 1 0 8 1 amappl9 144 274 0 274 1 1 0 1 0 8 0 amappl8 136 115 0 114 1 0 1 1 0 8 0 amappl7 128 157 0 156 1 0 1 1 0 8 0 amappl6 120 190 0 189 1 0 1 1 0 8 0 amappl5 112 100 0 99 1 0 1 1 0 8 0 amappl4 104 306 0 304 1 0 1 1 0 8 0 amappl3 96 5240 0 5175 3 0 3 3 0 8 0 amappl2 88 1238 0 1213 2 0 2 2 0 8 0 amappl1 80 13438 0 13345 15 2 13 15 0 8 8 amappl 88 7948 0 7828 5 0 5 5 0 92 0 uvmvnodes 80 113 0 0 3 0 3 3 0 8 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 dma4096 4096 2 0 2 2 1 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 1 0 1 1 0 1 1 0 8 1 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 29 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1110 0 1091 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1110 0 1091 1 0 1 1 0 8 0 vmmpekpl 168 10565 0 10518 3 0 3 3 0 8 0 vmmpepl 168 77404 0 76555 88 1 87 87 0 357 45 vmsppl 488 1109 0 1091 5 1 4 5 0 8 0 rwobjpl 80 22893 0 22462 24 1 23 24 0 8 1 pdppl 4096 2227 0 2182 109 64 45 85 0 8 0 pvpl 32 12735 0 0 103 0 103 103 0 265 0 pmappl 256 1109 0 1091 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 646 0 71 17 0 17 17 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}>