panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff800014886678,ffff800014886700,f6) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:951 sbflush(ffff800014886678,ffff800014886700) at sbflush+0x93 sys/kern/uipc_socket2.c:932 sbrelease(ffff800014886678,ffff800014886700) at sbrelease+0x2e sys/kern/uipc_socket2.c:526 sorflush(fffffd803b36f600) at sorflush+0x13d sys/kern/uipc_socket.c:1105 sofree(fffffd803b36f600,42) at sofree+0x147 sys/kern/uipc_socket.c:241 soclose(fffffd803b36f600,0) at soclose+0x268 sys/kern/uipc_socket.c:313 soo_close(fffffd803756b4b0,ffff8000ffff8008) at soo_close+0x40 fdrop(fffffd803756b4b0,ffff8000ffff8008) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd803756b4b0,ffff8000ffff8008) at closef+0x118 sys/kern/kern_descrip.c:1257 fdfree(ffff8000ffff8008) at fdfree+0x100 sys/kern/kern_descrip.c:1189 exit1(ffff8000ffff8008,100,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff8000ffff8008,ffff800014886ac0,ffff800014886b10) at sys_exit+0x17 sys/kern/kern_exit.c:94 end trace frame: 0xffff800014886b80, count: 0 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic sbdrop ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff800014886678,ffff800014886700,f6) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:951 sbflush(ffff800014886678,ffff800014886700) at sbflush+0x93 sys/kern/uipc_socket2.c:932 sbrelease(ffff800014886678,ffff800014886700) at sbrelease+0x2e sys/kern/uipc_socket2.c:526 sorflush(fffffd803b36f600) at sorflush+0x13d sys/kern/uipc_socket.c:1105 sofree(fffffd803b36f600,42) at sofree+0x147 sys/kern/uipc_socket.c:241 soclose(fffffd803b36f600,0) at soclose+0x268 sys/kern/uipc_socket.c:313 soo_close(fffffd803756b4b0,ffff8000ffff8008) at soo_close+0x40 fdrop(fffffd803756b4b0,ffff8000ffff8008) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd803756b4b0,ffff8000ffff8008) at closef+0x118 sys/kern/kern_descrip.c:1257 fdfree(ffff8000ffff8008) at fdfree+0x100 sys/kern/kern_descrip.c:1189 exit1(ffff8000ffff8008,100,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff8000ffff8008,ffff800014886ac0,ffff800014886b10) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff800014886b90) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,1,0,1,45e8c7e6,1) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe30c0, count: -16 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff8000148864c0 rbx 0xffff800014886570 rdx 0x2 rcx 0 rax 0 r8 0xffff800014886480 r9 0x1 r10 0 r11 0x9f796513d3f7366c r12 0x3000000008 r13 0xffff8000148864d0 r14 0x100 r15 0x1 rip 0xffffffff812b7168 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000148864b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=337996 stat=onproc flags process=8 proc=2000 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8ed8,0xffff8000ffff8508 process=0xffff8000ffff6010 user=0xffff800014881000, vmspace=0xfffffd803f013660 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 43159 45732 25125 0 2 0x2 syz-executor.1 71200 428076 25125 0 3 0x82 piperd syz-executor.0 1147 106294 1 0 3 0x100083 ttyin getty 4540 284412 0 0 3 0x14200 bored sosplice 25125 232826 23908 0 3 0x82 thrsleep syz-fuzzer 25125 288640 23908 0 3 0x4000082 nanosleep syz-fuzzer 25125 478049 23908 0 3 0x4000082 kqread syz-fuzzer 25125 225162 23908 0 3 0x4000082 thrsleep syz-fuzzer 25125 211398 23908 0 3 0x4000082 thrsleep syz-fuzzer 25125 49696 23908 0 3 0x4000082 thrsleep syz-fuzzer 25125 472202 23908 0 3 0x4000082 thrsleep syz-fuzzer 23908 114865 54274 0 3 0x10008a pause ksh 54274 501969 90368 0 3 0x92 select sshd 90368 311636 1 0 3 0x80 select sshd 76277 407267 24945 73 3 0x100090 kqread syslogd 24945 103402 1 0 3 0x100082 netio syslogd 24154 451871 1 77 2 0x100090 dhclient 70210 511138 0 0 2 0x14200 zerothread 44458 133169 0 0 3 0x14200 aiodoned aiodoned 81011 302021 0 0 3 0x14200 syncer update 22691 250620 0 0 3 0x14200 cleaner cleaner 54919 317997 0 0 3 0x14200 reaper reaper 45412 99434 0 0 3 0x14200 pgdaemon pagedaemon 9892 116395 0 0 3 0x14200 bored crynlk 703 280443 0 0 3 0x14200 bored crypto 25740 315451 0 0 3 0x40014200 acpi0 acpi0 65573 271496 0 0 3 0x14200 bored softnet 87421 50553 0 0 3 0x14200 bored systqmp 15745 211931 0 0 3 0x14200 bored systq 45579 117088 0 0 3 0x40014200 bored softclock 81299 89704 0 0 3 0x40014200 idle0 87460 512399 0 0 3 0x14200 bored smr 1 294966 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9521 6340K 7174K 78643K 13657 0 0 pcb 13 10K 12K 78643K 113 0 0 rtable 74 3K 4K 78643K 580 0 0 ifaddr 59 12K 15K 78643K 175 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 45 0 0 iov 0 0K 16K 78643K 138 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1227 77K 77K 78643K 2307 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 6 0 0 VM map 2 0K 0K 78643K 6 0 0 sem 12 0K 0K 78643K 135 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 4 9K 25K 78643K 602 0 0 sigio 0 0K 0K 78643K 25 0 0 proc 48 38K 63K 78643K 533 0 0 subproc 33 2K 2K 78643K 102 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 26 0 0 in_multi 11 0K 2K 78643K 82 0 0 ether_multi 1 0K 0K 78643K 3 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 60 265K 265K 78643K 60 0 0 exec 0 0K 1K 78643K 275 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 93 21K 30K 78643K 2350 0 0 UVM aobj 33 2K 2K 78643K 35 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 83 0 0 NDP 14 0K 0K 78643K 51 0 0 temp 185 3539K 3606K 78643K 12003 0 0 kqueue 0 0K 0K 78643K 5 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 21 0 19 1 0 1 1 0 8 0 rtpcb 80 69 0 68 1 0 1 1 0 8 0 rtentry 112 112 0 88 2 0 2 2 0 8 0 unpcb 120 791 0 784 1 0 1 1 0 8 0 syncache 264 9 0 9 4 4 0 1 0 8 0 tcpqe 32 29 0 29 2 2 0 1 0 8 0 tcpcb 544 603 0 599 15 14 1 15 0 8 0 ipq 40 7 0 7 2 2 0 1 0 8 0 ipqe 40 22 0 22 2 2 0 1 0 8 0 inpcb 280 974 0 969 9 8 1 9 0 8 0 nd6 48 11 0 11 2 1 1 1 0 8 1 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 12 0 12 3 2 1 1 0 8 1 art_heap8 4096 3 0 2 3 2 1 3 0 8 0 art_heap4 256 480 0 358 20 4 16 16 0 8 7 art_table 32 483 0 360 2 0 2 2 0 8 0 art_node 16 111 0 89 1 0 1 1 0 8 0 sysvmsgpl 40 58 0 41 1 0 1 1 0 8 0 semapl 112 129 0 119 1 0 1 1 0 8 0 shmpl 112 33 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2297 0 905 46 0 46 46 0 8 0 ffsino 240 2297 0 905 83 0 83 83 0 8 0 nchpl 144 3352 0 1754 60 0 60 60 0 8 0 uvmvnodes 72 3270 0 0 60 0 60 60 0 8 0 vnodes 208 3270 0 0 173 0 173 173 0 8 0 namei 1024 10916 0 10916 2 1 1 1 0 8 1 vmpool 520 4 0 4 2 2 0 1 0 8 0 scsiplug 64 2 0 2 1 1 0 1 0 8 0 scxspl 192 9584 0 9584 13 12 1 7 0 8 1 plimitpl 152 67 0 60 1 0 1 1 0 8 0 sigapl 432 762 0 750 2 0 2 2 0 8 0 futexpl 56 18621 0 18621 1 0 1 1 0 8 1 knotepl 112 239 0 218 1 0 1 1 0 8 0 kqueuepl 104 437 0 435 4 3 1 4 0 8 0 pipepl 112 1332 0 1313 4 3 1 2 0 8 0 fdescpl 424 763 0 750 2 0 2 2 0 8 0 filepl 120 7530 0 7437 12 8 4 11 0 8 1 lockfpl 104 216 0 215 1 0 1 1 0 8 0 lockfspl 48 68 0 67 1 0 1 1 0 8 0 sessionpl 112 22 0 12 1 0 1 1 0 8 0 pgrppl 48 202 0 192 1 0 1 1 0 8 0 ucredpl 96 683 0 676 1 0 1 1 0 8 0 zombiepl 144 751 0 750 2 1 1 1 0 8 0 processpl 864 778 0 750 4 0 4 4 0 8 0 procpl 632 1495 0 1461 4 0 4 4 0 8 0 sockpl 384 1850 0 1836 16 13 3 14 0 8 1 mcl64k 65536 328 0 328 32 11 21 32 0 8 21 mcl16k 16384 13 0 13 2 2 0 1 0 8 0 mcl12k 12288 17 0 17 2 1 1 1 0 8 1 mcl9k 9216 14 0 14 2 2 0 1 0 8 0 mcl8k 8192 39 0 39 2 1 1 1 0 8 1 mcl4k 4096 67 0 67 3 2 1 1 0 8 1 mcl2k2 2112 3 0 3 1 1 0 1 0 8 0 mcl2k 2048 65222 0 65178 22 15 7 19 0 8 0 mtagpl 80 24 0 24 3 3 0 1 0 8 0 mbufpl 256 108277 0 108203 32 18 14 24 0 8 6 bufpl 256 7914 0 2590 333 0 333 333 0 8 0 anonpl 16 101629 0 88803 79 8 71 78 0 62 0 amapchunkpl 152 3992 0 3887 14 7 7 10 0 158 2 amappl16 192 4273 0 3313 72 16 56 61 0 8 6 amappl15 184 3 0 2 2 1 1 1 0 8 0 amappl14 176 45 0 42 2 1 1 1 0 8 0 amappl13 168 253 0 253 1 0 1 1 0 8 1 amappl12 160 55 0 52 1 0 1 1 0 8 0 amappl11 152 59 0 46 1 0 1 1 0 8 0 amappl10 144 16 0 14 1 0 1 1 0 8 0 amappl9 136 793 0 787 1 0 1 1 0 8 0 amappl8 128 350 0 319 2 0 2 2 0 8 0 amappl7 120 52 0 44 1 0 1 1 0 8 0 amappl6 112 82 0 69 1 0 1 1 0 8 0 amappl5 104 209 0 199 1 0 1 1 0 8 0 amappl4 96 1230 0 1205 1 0 1 1 0 8 0 amappl3 88 128 0 123 1 0 1 1 0 8 0 amappl2 80 5137 0 5082 4 2 2 3 0 8 0 amappl1 72 23519 0 23138 25 16 9 20 0 8 0 amappl 80 1792 0 1758 1 0 1 1 0 84 0 dma4096 4096 1 0 1 1 1 0 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 17 0 17 1 1 0 1 0 8 0 aobjpl 64 34 0 2 1 0 1 1 0 8 0 uaddrrnd 24 767 0 750 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 767 0 750 1 0 1 1 0 8 0 vmmpekpl 168 11146 0 11122 2 0 2 2 0 8 0 vmmpepl 168 99845 0 97957 167 42 125 125 0 357 33 vmsppl 272 762 0 750 2 1 1 2 0 8 0 pdppl 4096 1540 0 1508 6 1 5 6 0 8 0 pvpl 32 283855 0 268098 192 23 169 184 0 265 5 pmappl 200 766 0 754 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 562 0 74 15 0 15 15 0 8 0