panic: init died (signal 0, exit 10) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 151300 73008 0 0 0 0 syz-executor * 65350 1 0 0x2 0x2000 1K init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff835060cf) 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,ffff80002a19cc40,ffff80002a19cb90) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19cc40) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19cc40) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d59a2b487b0, 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(ffffffff835060cf) 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,ffff80002a19cc40,ffff80002a19cb90) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19cc40) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19cc40) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d59a2b487b0, count: -6 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a19ca10 rbx 0xffff80002998ee0f rdx 0 rcx 0xffff800045fff9f0 rax 0xffff80002998dff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x65f72e32b37c6bd6 r11 0x5dc3a0cb77d9fad0 r12 0xffff80002998ec10 r13 0 r14 0 r15 0x1 rip 0xffffffff82c99b15 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a19ca00 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (init) tid=65350 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=0xffffffff83a8cdc8,0xffff800045fff768 process=0xffff800045ffba20 user=0xffff80002a197000, vmspace=0xfffffa000b1f7d58 estcpu=0, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 73008 151300 36249 0 7 0 0 syz-executor 73008 327869 36249 0 3 0 0x4000080 semwait syz-executor 89580 523550 55379 0 2 0x2 0 syz-executor 36249 129399 55379 0 3 0x2 0x80 nanoslp syz-executor 73458 335801 55379 0 3 0x2 0x80 piperd syz-executor 55379 339323 9933 0 3 0x2 0x80 wait syz-executor 9933 66402 98133 0 3 0x100002 0x88 sigsusp ksh 98133 436099 91700 0 3 0x10 0x88 kqread sshd-session 91700 61309 96231 0 3 0x12 0x80 kqread sshd-session 90016 402059 1 0 3 0x100003 0x80 ttyin getty 96231 276456 1 0 3 0 0x88 kqread sshd 69766 284177 44424 74 3 0x1100012 0x80 bpf pflogd 44424 165351 1 0 3 0 0x80 sbwait pflogd 50337 506281 85858 73 3 0x1100010 0x80 kqread syslogd 85858 86354 1 0 3 0x100002 0x80 sbwait syslogd-parent 5259 20392 1 0 3 0x100000 0x80 kqread resolvd 15801 475832 75482 77 3 0x100012 0x80 kqread dhcpleased 77256 519127 75482 77 3 0x100012 0x80 kqread dhcpleased 75482 164702 1 0 3 0 0x80 kqread dhcpleased 44484 163223 0 0 3 0x14000 0x200 bored smr 62104 257242 0 0 2 0x14000 0x200 zerothread 41523 122681 0 0 3 0x14000 0x200 aiodoned aiodoned 91906 396768 0 0 3 0x14000 0x200 syncer update 50905 36564 0 0 3 0x14000 0x200 cleaner cleaner 30819 50160 0 0 3 0x14000 0x200 reaper reaper 59059 319349 0 0 3 0x14000 0x200 pgdaemon pagedaemon 43503 312461 0 0 3 0x14000 0x200 bored viomb 64544 434998 0 0 3 0x14000 0x40000200 acpi0 acpi0 17218 348735 0 0 3 0x14000 0x40000200 idle1 54189 346714 0 0 3 0x14000 0x200 bored softnet1 53006 345591 0 0 3 0x14000 0x200 bored softnet0 52639 40408 0 0 3 0x14000 0x200 bored systqmp 41781 21933 0 0 3 0x14000 0x200 bored systq 67622 195782 0 0 3 0x14000 0x200 tmoslp softclockmp 40556 169299 0 0 3 0x14000 0x40000200 tmoslp softclock 59829 373889 0 0 3 0x14000 0x40000200 idle0 * 1 65350 0 0 7 0x2 0x2000 init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 1 (init) thread 0xffff800045fff9f0 (65350) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83b1e1c0) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11064 12085K 12250K 166960K 12632 0 pcb 17 12K 12K 166960K 67 0 rtable 212 7K 7K 166960K 3183 0 pf 35 17K 21K 166960K 273 0 ifaddr 40 7K 7K 166960K 441 0 ifgroup 55 2K 2K 166960K 482 0 sysctl 3 1K 9K 166960K 9 0 counters 70 37K 37K 166960K 292 0 ioctlops 0 0K 4K 166960K 1654 0 iov 0 0K 16K 166960K 70 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1327 83K 84K 166960K 2664 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 18 1K 1K 166960K 61 0 dirhash 18 3K 3K 166960K 24 0 ACPI 1692 195K 286K 166960K 12472 0 file desc 11 37K 89K 166960K 1846 0 sigio 0 0K 0K 166960K 7 0 proc 71 115K 180K 166960K 3222 0 subproc 72 4K 4K 166960K 927 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 32 0 in_multi 88 5K 6K 166960K 1145 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 52 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 1736 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 180 157K 169K 166960K 13578 0 UVM aobj 14 2K 2K 166960K 15 0 pinsyscall 36 72K 102K 166960K 5466 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 10 0 NDP 14 0K 2K 166960K 323 0 temp 34 9130K 9194K 166960K 25970 0 kqueue 13 20K 26K 166960K 57 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 343 0 340 4 3 1 4 0 8 0 rtentry 176 1147 0 1048 6 1 5 6 0 8 0 unpcb 144 474 0 457 11 10 1 11 0 8 0 syncache 336 7 0 7 1 1 0 1 0 8 0 tcpcb 736 83 0 79 1 0 1 1 0 8 0 arp 136 206 0 190 1 0 1 1 0 8 0 inpcb 328 650 0 643 4 3 1 2 0 8 0 nd6 152 307 0 286 1 0 1 1 0 8 0 kcovpl 48 102 0 95 1 0 1 1 0 8 0 ppxss 1192 8 0 8 3 3 0 1 0 8 0 pppxif 1576 2 0 2 1 1 0 1 0 8 0 pffrag 232 7 0 1 1 0 1 1 0 482 0 pffrnode 88 6 0 1 1 0 1 1 0 8 0 pffrent 40 10 0 4 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 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 0 1 0 1 1 0 8 0 pfstitem 24 58 0 22 1 0 1 1 0 8 0 pfstkey 128 58 0 22 2 0 2 2 0 8 0 pfstate 448 58 0 22 6 0 6 6 0 8 0 pfrule 1360 24 0 18 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 4633 0 4218 37 11 26 29 0 8 0 art_table 40 4634 0 4218 5 0 5 5 0 8 0 art_node 32 1147 0 1057 1 0 1 1 0 8 0 semapl 72 44 0 28 1 0 1 1 0 8 0 shmpl 120 12 0 1 1 0 1 1 0 8 0 dirhash 1024 25 0 4 3 0 3 3 0 8 0 dino2pl 256 2400 0 712 106 0 106 106 0 8 0 ffsino 296 2400 0 712 130 0 130 130 0 8 0 nchpl 144 2964 0 909 77 0 77 77 0 8 0 vnodes 216 3538 0 0 197 0 197 197 0 8 0 namei 1024 22012 0 22012 6 5 1 2 0 8 1 percpumem 16 162 0 111 1 0 1 1 0 8 0 kstatmem 264 243 0 214 3 0 3 3 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 9604 0 9604 10 9 1 8 1 8 1 plimitpl 152 170 0 153 1 0 1 1 0 8 0 sigapl 424 1972 0 1931 7 1 6 7 0 8 0 knotepl 120 306 0 0 10 0 10 10 0 8 0 kqueuepl 224 204 0 195 3 2 1 3 0 8 0 pipepl 344 425 0 398 4 1 3 4 0 8 0 fdescpl 528 1956 0 1931 3 0 3 3 0 8 0 filepl 160 7334 0 7132 24 15 9 22 0 8 0 lockfpl 104 138 0 136 1 0 1 1 0 8 0 lockfspl 48 67 0 65 1 0 1 1 0 8 0 sessionpl 144 135 0 126 1 0 1 1 0 8 0 pgrppl 48 239 0 222 1 0 1 1 0 8 0 ucredpl 104 972 0 958 1 0 1 1 0 8 0 zombiepl 144 1936 0 1931 1 0 1 1 0 8 0 processpl 1240 1972 0 1931 6 2 4 5 0 8 0 procpl 664 2660 0 2618 8 3 5 6 0 8 0 sockpl 752 1515 0 1488 34 30 4 30 0 8 1 mcl64k 65536 4 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 32 0 0 4 0 4 4 0 8 0 mextrefs 64 31 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 240 0 0 15 0 15 15 0 8 0 bufpl 272 3121 0 90 203 0 203 203 0 8 0 anonpl 32 7385 0 0 60 0 60 60 0 247 0 amapchunkpl 152 35827 0 35528 24 8 16 21 0 158 2 amappl16 200 2621 0 2612 17 16 1 14 0 8 0 amappl15 192 17 0 17 2 2 0 1 0 8 0 amappl14 184 1551 0 1550 1 0 1 1 0 8 0 amappl13 176 312 0 300 1 0 1 1 0 8 0 amappl12 168 2591 0 2567 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 110 0 98 1 0 1 1 0 8 0 amappl9 144 288 0 288 1 1 0 1 0 8 0 amappl8 136 472 0 468 1 0 1 1 0 8 0 amappl7 128 333 0 321 1 0 1 1 0 8 0 amappl6 120 691 0 689 1 0 1 1 0 8 0 amappl5 112 526 0 516 1 0 1 1 0 8 0 amappl4 104 578 0 560 1 0 1 1 0 8 0 amappl3 96 7816 0 7740 4 0 4 4 0 8 0 amappl2 88 846 0 788 2 0 2 2 0 8 0 amappl1 80 23817 0 23251 14 0 14 14 0 8 1 amappl 88 11233 0 11124 5 1 4 5 0 92 0 uvmvnodes 80 110 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 14 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1956 0 1931 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1956 0 1931 1 0 1 1 0 8 0 vmmpekpl 168 15780 0 15718 4 0 4 4 0 8 0 vmmpepl 168 133486 0 131938 95 16 79 93 0 357 4 vmsppl 488 1955 0 1931 7 3 4 5 0 8 0 rwobjpl 80 38880 0 37924 27 3 24 27 0 8 0 pdppl 4096 3920 0 3862 194 124 70 86 0 8 12 pvpl 32 13962 0 0 114 1 113 113 0 265 0 pmappl 256 1955 0 1931 5 3 2 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 604 0 146 14 0 14 14 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff839e9ff0) 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 end of kernel end trace frame: 0x77f6deb1aef0, count: 12 ddb{0}> trace x86_ipi_db(ffffffff839e9ff0) 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 end of kernel end trace frame: 0x77f6deb1aef0, count: -3 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(ffffffff835060cf) 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,ffff80002a19cc40,ffff80002a19cb90) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19cc40) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19cc40) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d59a2b487b0, count: 9 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff835060cf) 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,ffff80002a19cc40,ffff80002a19cb90) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19cc40) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19cc40) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d59a2b487b0, count: -6