`‹¨+'þ¿8panic: 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(ffffffff821fe631) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff80001d8209d8,ffff80001d820a60,a00) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 sbflush(ffff80001d8209d8,ffff80001d820a60) at sbflush+0x93 sys/kern/uipc_socket2.c:934 sbrelease(ffff80001d8209d8,ffff80001d820a60) at sbrelease+0x2e sys/kern/uipc_socket2.c:525 sorflush(fffffd806571c4b0) at sorflush+0x14b sys/kern/uipc_socket.c:1131 sofree(fffffd806571c4b0,42) at sofree+0x147 sys/kern/uipc_socket.c:257 soclose(fffffd806571c4b0,80) at soclose+0x268 sys/kern/uipc_socket.c:338 soo_close(fffffd8057e24e98,ffff80001d739758) at soo_close+0x40 fdrop(fffffd8057e24e98,ffff80001d739758) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd8057e24e98,ffff80001d739758) at closef+0x117 sys/kern/kern_descrip.c:1260 fdfree(ffff80001d739758) at fdfree+0x100 sys/kern/kern_descrip.c:1192 exit1(ffff80001d739758,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff80001d739758,ffff80001d820e30,ffff80001d820e80) at sys_exit+0x16 sys/kern/kern_exit.c:95 end trace frame: 0xffff80001d820ef0, 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(ffffffff821fe631) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff80001d8209d8,ffff80001d820a60,a00) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 sbflush(ffff80001d8209d8,ffff80001d820a60) at sbflush+0x93 sys/kern/uipc_socket2.c:934 sbrelease(ffff80001d8209d8,ffff80001d820a60) at sbrelease+0x2e sys/kern/uipc_socket2.c:525 sorflush(fffffd806571c4b0) at sorflush+0x14b sys/kern/uipc_socket.c:1131 sofree(fffffd806571c4b0,42) at sofree+0x147 sys/kern/uipc_socket.c:257 soclose(fffffd806571c4b0,80) at soclose+0x268 sys/kern/uipc_socket.c:338 soo_close(fffffd8057e24e98,ffff80001d739758) at soo_close+0x40 fdrop(fffffd8057e24e98,ffff80001d739758) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd8057e24e98,ffff80001d739758) at closef+0x117 sys/kern/kern_descrip.c:1260 fdfree(ffff80001d739758) at fdfree+0x100 sys/kern/kern_descrip.c:1192 exit1(ffff80001d739758,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff80001d739758,ffff80001d820e30,ffff80001d820e80) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80001d820f00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcda60, count: -16 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d820820 rbx 0xffff80001d8208d0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81552bdf kprintf+0x15f r9 0x1 r10 0x2 r11 0xb38edb065744ea52 r12 0x3000000008 r13 0xffff80001d820830 r14 0x100 r15 0x1 rip 0xffffffff8122eec8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d820810 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=46157 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d7a8d50,0xffff80001d739018 process=0xffff8000ffffae70 user=0xffff80001d81b000, vmspace=0xfffffd806bc09dd0 estcpu=1, cpticks=3, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 14500 504695 71370 0 2 0 syz-executor.0 14500 322279 71370 0 3 0x4000080 fsleep syz-executor.0 60707 418419 95015 0 3 0x82 nanosleep syz-executor.1 71370 448635 95015 0 3 0x82 nanosleep syz-executor.0 95015 483615 82353 0 3 0x82 thrsleep syz-fuzzer 95015 328722 82353 0 2 0x4000002 syz-fuzzer 95015 398793 82353 0 3 0x4000082 thrsleep syz-fuzzer 95015 76351 82353 0 3 0x4000082 thrsleep syz-fuzzer 95015 133584 82353 0 2 0x4000002 syz-fuzzer 95015 102247 82353 0 3 0x4000082 thrsleep syz-fuzzer 95015 462718 82353 0 3 0x4000082 thrsleep syz-fuzzer 95015 82115 82353 0 3 0x4000082 thrsleep syz-fuzzer 82353 158059 13826 0 3 0x10008a pause ksh 13826 402433 8025 0 3 0x92 select sshd 47463 370923 1 0 3 0x100083 ttyin getty 8025 509652 1 0 3 0x80 select sshd 91598 6677 34863 73 3 0x100090 kqread syslogd 34863 34299 1 0 3 0x100082 netio syslogd 36965 452656 1 77 3 0x100090 poll dhclient 70365 157526 1 0 3 0x80 poll dhclient 83114 158414 0 0 3 0x14200 bored smr 33737 344674 0 0 2 0x14200 zerothread 12262 384608 0 0 3 0x14200 aiodoned aiodoned 68143 226078 0 0 3 0x14200 syncer update 81699 157031 0 0 3 0x14200 cleaner cleaner 72110 483550 0 0 3 0x14200 reaper reaper 68372 246936 0 0 3 0x14200 pgdaemon pagedaemon 39714 206352 0 0 3 0x14200 bored crynlk 43074 100206 0 0 3 0x14200 bored crypto 97626 520473 0 0 3 0x40014200 acpi0 acpi0 62367 60930 0 0 3 0x14200 bored softnet 70647 159299 0 0 3 0x14200 bored systqmp 41482 265811 0 0 3 0x14200 bored systq 31891 41921 0 0 3 0x40014200 bored softclock 36562 139417 0 0 3 0x40014200 idle0 1 465414 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 devbuf 9459 6327K 6586K 78643K 10623 0 pcb 13 8K 8K 78643K 33 0 rtable 99 2K 3K 78643K 213 0 ifaddr 43 10K 10K 78643K 47 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 15 0 iov 0 0K 12K 78643K 2 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1243 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 8 0K 0K 78643K 10 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 6 17K 25K 78643K 52 0 proc 48 38K 63K 78643K 364 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 2 0 in_multi 29 1K 2K 78643K 42 0 ether_multi 1 0K 0K 78643K 2 0 mrt 0 0K 0K 78643K 8 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 181 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 119 22K 23K 78643K 958 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 4 0 NDP 9 0K 0K 78643K 11 0 temp 69 3032K 3096K 78643K 2032 0 kqueue 3 4K 8K 78643K 5 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 0 1 0 1 1 0 8 0 rtpcb 80 27 0 24 1 0 1 1 0 8 0 rtentry 112 53 0 12 2 0 2 2 0 8 0 unpcb 120 39 0 31 1 0 1 1 0 8 0 syncache 264 4 0 4 1 0 1 1 0 8 1 tcpqe 32 28 0 28 1 0 1 1 0 8 1 tcpcb 544 18 0 14 1 0 1 1 0 8 0 inpcb 280 68 0 55 1 0 1 1 0 8 0 rttmr 72 4 0 4 1 0 1 1 0 8 1 nd6 48 7 0 3 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 213 0 40 13 0 13 13 0 8 0 art_table 32 214 0 40 2 0 2 2 0 8 0 art_node 16 52 0 14 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semapl 112 8 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1449 0 49 88 0 88 88 0 8 0 ffsino 240 1449 0 49 83 0 83 83 0 8 0 nchpl 144 1698 0 107 60 0 60 60 0 8 0 uvmvnodes 72 1508 0 0 28 0 28 28 0 8 0 vnodes 208 1508 0 0 80 0 80 80 0 8 0 namei 1024 4202 0 4202 1 0 1 1 0 8 1 scxspl 192 4218 0 4218 1 0 1 1 0 8 1 plimitpl 152 20 0 13 1 0 1 1 0 8 0 sigapl 424 238 0 209 4 0 4 4 0 8 0 futexpl 56 535 0 534 1 0 1 1 0 8 0 knotepl 112 63 0 44 1 0 1 1 0 8 0 kqueuepl 144 8 0 4 1 0 1 1 0 8 0 pipelkpl 16 74 0 64 1 0 1 1 0 8 0 pipepl 120 148 0 129 1 0 1 1 0 8 0 fdescpl 432 224 0 209 2 0 2 2 0 8 0 filepl 120 1186 0 1081 4 0 4 4 0 8 0 lockfpl 104 10 0 9 1 0 1 1 0 8 0 lockfspl 48 5 0 4 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 86 0 79 1 0 1 1 0 8 0 zombiepl 144 210 0 209 1 0 1 1 0 8 0 processpl 920 238 0 209 4 0 4 4 0 8 0 procpl 624 269 0 232 4 0 4 4 0 8 1 sockpl 400 134 0 109 3 0 3 3 0 8 0 mcl64k 65536 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 10 0 10 1 0 1 1 0 8 1 mcl2k 2048 60722 0 60672 15 2 13 13 0 8 5 mtagpl 80 3 0 2 2 1 1 1 0 8 0 mbufpl 256 96805 0 96644 15 2 13 13 0 8 0 bufpl 280 3283 0 126 226 0 226 226 0 8 0 anonpl 16 35791 0 21708 59 2 57 57 0 107 0 amapchunkpl 152 956 0 819 8 0 8 8 0 158 1 amappl16 192 933 0 180 38 0 38 38 0 8 0 amappl15 184 2 0 0 1 0 1 1 0 8 0 amappl14 176 25 0 20 1 0 1 1 0 8 0 amappl13 168 32 0 30 1 0 1 1 0 8 0 amappl12 160 16 0 11 2 1 1 1 0 8 0 amappl11 152 50 0 41 1 0 1 1 0 8 0 amappl10 144 26 0 18 1 0 1 1 0 8 0 amappl9 136 375 0 374 1 0 1 1 0 8 0 amappl8 128 320 0 281 2 0 2 2 0 8 0 amappl7 120 122 0 108 1 0 1 1 0 8 0 amappl6 112 26 0 17 1 0 1 1 0 8 0 amappl5 104 162 0 150 1 0 1 1 0 8 0 amappl4 96 415 0 391 1 0 1 1 0 8 0 amappl3 88 101 0 95 1 0 1 1 0 8 0 amappl2 80 962 0 891 2 0 2 2 0 8 0 amappl1 72 13637 0 13217 24 7 17 17 0 8 8 amappl 80 492 0 448 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 18 0 17 1 0 1 1 0 8 0 aobjpl 64 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 224 0 209 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 224 0 209 1 0 1 1 0 8 0 vmmpekpl 168 5822 0 5798 2 0 2 2 0 8 0 vmmpepl 168 33996 0 32067 105 7 98 98 0 357 14 vmsppl 272 223 0 209 2 0 2 2 0 8 1 pdppl 4096 454 0 418 6 0 6 6 0 8 1 pvpl 32 126864 0 109581 140 0 140 140 0 265 0 pmappl 200 223 0 209 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 239 0 6 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821fe631) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff80001d8209d8,ffff80001d820a60,a00) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 sbflush(ffff80001d8209d8,ffff80001d820a60) at sbflush+0x93 sys/kern/uipc_socket2.c:934 sbrelease(ffff80001d8209d8,ffff80001d820a60) at sbrelease+0x2e sys/kern/uipc_socket2.c:525 sorflush(fffffd806571c4b0) at sorflush+0x14b sys/kern/uipc_socket.c:1131 sofree(fffffd806571c4b0,42) at sofree+0x147 sys/kern/uipc_socket.c:257 soclose(fffffd806571c4b0,80) at soclose+0x268 sys/kern/uipc_socket.c:338 soo_close(fffffd8057e24e98,ffff80001d739758) at soo_close+0x40 fdrop(fffffd8057e24e98,ffff80001d739758) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd8057e24e98,ffff80001d739758) at closef+0x117 sys/kern/kern_descrip.c:1260 fdfree(ffff80001d739758) at fdfree+0x100 sys/kern/kern_descrip.c:1192 exit1(ffff80001d739758,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff80001d739758,ffff80001d820e30,ffff80001d820e80) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80001d820f00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcda60, count: -16 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821fe631) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff80001d8209d8,ffff80001d820a60,a00) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 sbflush(ffff80001d8209d8,ffff80001d820a60) at sbflush+0x93 sys/kern/uipc_socket2.c:934 sbrelease(ffff80001d8209d8,ffff80001d820a60) at sbrelease+0x2e sys/kern/uipc_socket2.c:525 sorflush(fffffd806571c4b0) at sorflush+0x14b sys/kern/uipc_socket.c:1131 sofree(fffffd806571c4b0,42) at sofree+0x147 sys/kern/uipc_socket.c:257 soclose(fffffd806571c4b0,80) at soclose+0x268 sys/kern/uipc_socket.c:338 soo_close(fffffd8057e24e98,ffff80001d739758) at soo_close+0x40 fdrop(fffffd8057e24e98,ffff80001d739758) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd8057e24e98,ffff80001d739758) at closef+0x117 sys/kern/kern_descrip.c:1260 fdfree(ffff80001d739758) at fdfree+0x100 sys/kern/kern_descrip.c:1192 exit1(ffff80001d739758,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff80001d739758,ffff80001d820e30,ffff80001d820e80) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80001d820f00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcda60, count: -16