login: 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(ffffffff8221e9c1) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff800020f62d48,ffff800020f62dd0,244) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:953 sbflush(ffff800020f62d48,ffff800020f62dd0) at sbflush+0x93 sys/kern/uipc_socket2.c:934 sbrelease(ffff800020f62d48,ffff800020f62dd0) at sbrelease+0x2e sys/kern/uipc_socket2.c:525 sorflush(fffffd806ca22650) at sorflush+0x14b sys/kern/uipc_socket.c:1131 sofree(fffffd806ca22650,42) at sofree+0x147 sys/kern/uipc_socket.c:257 soclose(fffffd806ca22650,80) at soclose+0x270 sys/kern/uipc_socket.c:338 soo_close(fffffd80679f00b0,ffff800020ec7ae8) at soo_close+0x40 fdrop(fffffd80679f00b0,ffff800020ec7ae8) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd80679f00b0,ffff800020ec7ae8) at closef+0x11c sys/kern/kern_descrip.c:1260 fdfree(ffff800020ec7ae8) at fdfree+0x101 sys/kern/kern_descrip.c:1192 exit1(ffff800020ec7ae8,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ec7ae8,ffff800020f631a0,ffff800020f631f0) at sys_exit+0x16 sys/kern/kern_exit.c:95 end trace frame: 0xffff800020f63260, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic sbdrop ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8221e9c1) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff800020f62d48,ffff800020f62dd0,244) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:953 sbflush(ffff800020f62d48,ffff800020f62dd0) at sbflush+0x93 sys/kern/uipc_socket2.c:934 sbrelease(ffff800020f62d48,ffff800020f62dd0) at sbrelease+0x2e sys/kern/uipc_socket2.c:525 sorflush(fffffd806ca22650) at sorflush+0x14b sys/kern/uipc_socket.c:1131 sofree(fffffd806ca22650,42) at sofree+0x147 sys/kern/uipc_socket.c:257 soclose(fffffd806ca22650,80) at soclose+0x270 sys/kern/uipc_socket.c:338 soo_close(fffffd80679f00b0,ffff800020ec7ae8) at soo_close+0x40 fdrop(fffffd80679f00b0,ffff800020ec7ae8) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd80679f00b0,ffff800020ec7ae8) at closef+0x11c sys/kern/kern_descrip.c:1260 fdfree(ffff800020ec7ae8) at fdfree+0x101 sys/kern/kern_descrip.c:1192 exit1(ffff800020ec7ae8,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ec7ae8,ffff800020f631a0,ffff800020f631f0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800020f63270) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020f63270) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff59a0, count: -16 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020f62b90 rbx 0xffff800020f62c40 rdx 0xffff800020ec7ae8 rcx 0 rax 0 r8 0xffffffff817b2ddf kprintf+0x16f r9 0x1 r10 0x25 r11 0x6e01339a8cc4c560 r12 0x3000000008 r13 0xffff800020f62ba0 r14 0x100 r15 0x1 rip 0xffffffff81cd60f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020f62b80 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=447124 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=62, nice=20 forw=0xffffffffffffffff, list=0xffff800020ec6768,0xffffffff82641610 process=0xffff800020e92020 user=0xffff800020f5e000, vmspace=0xfffffd807efff730 estcpu=12, cpticks=5, pctcpu=0.6 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 40334 49553 0 0 3 0x14200 bored sosplice 71011 303213 87264 0 3 0x82 piperd syz-executor.1 81632 175375 87264 0 3 0x82 nanosleep syz-executor.0 87264 180947 56249 0 3 0x82 thrsleep syz-fuzzer 87264 172530 56249 0 3 0x4000082 thrsleep syz-fuzzer 87264 144680 56249 0 3 0x4000082 thrsleep syz-fuzzer 87264 383468 56249 0 3 0x4000082 thrsleep syz-fuzzer 87264 252090 56249 0 3 0x4000082 thrsleep syz-fuzzer 87264 269150 56249 0 3 0x4000082 kqread syz-fuzzer 87264 504160 56249 0 3 0x4000082 thrsleep syz-fuzzer 87264 512093 56249 0 3 0x4000082 thrsleep syz-fuzzer 87264 488028 56249 0 3 0x4000082 thrsleep syz-fuzzer 87264 256912 56249 0 3 0x4000082 thrsleep syz-fuzzer 56249 390221 64312 0 3 0x10008a pause ksh 64312 270077 7763 0 3 0x92 select sshd 78787 366749 1 0 3 0x100083 ttyin getty 7763 133913 1 0 3 0x80 select sshd 99281 502789 31123 74 3 0x100092 bpf pflogd 31123 368400 1 0 3 0x80 netio pflogd 29983 462718 14840 73 3 0x100090 kqread syslogd 14840 288221 1 0 3 0x100082 netio syslogd 38265 49894 1 77 3 0x100090 poll dhclient 21867 453680 1 0 3 0x80 poll dhclient 7081 94930 0 0 3 0x14200 bored smr 71051 481900 0 0 3 0x14200 pgzero zerothread 16135 412538 0 0 3 0x14200 aiodoned aiodoned 43561 309227 0 0 3 0x14200 syncer update 91855 288901 0 0 3 0x14200 cleaner cleaner 26562 118385 0 0 3 0x14200 reaper reaper 66281 314273 0 0 3 0x14200 pgdaemon pagedaemon 70750 83089 0 0 3 0x14200 bored crynlk 25528 66250 0 0 3 0x14200 bored crypto 79479 418472 0 0 3 0x40014200 acpi0 acpi0 31551 105357 0 0 7 0x40014200 idle1 35790 25798 0 0 3 0x14200 bored softnet 51425 213149 0 0 3 0x14200 bored systqmp 30263 44112 0 0 3 0x14200 bored systq 69730 281742 0 0 3 0x40014200 bored softclock 29024 335132 0 0 3 0x40014200 idle0 1 20428 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9492 6404K 6725K 78643K 10747 0 pcb 13 8K 8K 78643K 42 0 rtable 105 3K 3K 78643K 224 0 ifaddr 55 12K 12K 78643K 68 0 counters 43 33K 34K 78643K 47 0 ioctlops 0 0K 4K 78643K 1479 0 iov 0 0K 12K 78643K 12 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1268 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 1K 1K 78643K 2 0 sem 8 0K 1K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 86 0 proc 60 63K 83K 78643K 439 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 50 0 in_multi 40 2K 2K 78643K 44 0 ether_multi 1 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 211 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 113 22K 22K 78643K 1203 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 14 0 NDP 8 0K 0K 78643K 14 0 temp 76 3040K 3104K 78643K 2175 0 kqueue 3 4K 10K 78643K 8 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> 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 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 25 0 21 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 55 0 45 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 59 0 59 1 1 0 1 0 8 0 tcpcb 544 30 0 26 1 0 1 1 0 8 0 inpcb 280 130 0 123 2 0 2 2 0 8 1 nd6 48 6 0 0 1 0 1 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 19 0 0 1 0 1 1 0 8 0 pfstkey 112 19 0 0 1 0 1 1 0 8 0 pfstate 328 19 0 0 2 0 2 2 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 semupl 112 2 0 1 1 0 1 1 0 8 0 semapl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1504 0 98 89 0 89 89 0 8 0 ffsino 272 1504 0 98 94 0 94 94 0 8 0 nchpl 144 1797 0 189 60 0 60 60 0 8 0 uvmvnodes 72 1581 0 0 29 0 29 29 0 8 0 vnodes 208 1581 0 0 84 0 84 84 0 8 0 namei 1024 4783 0 4783 1 0 1 1 0 8 1 percpumem 16 34 0 2 1 0 1 1 0 8 0 scxspl 192 4543 0 4543 2 1 1 2 0 8 1 plimitpl 152 19 0 11 1 0 1 1 0 8 0 sigapl 424 302 0 270 4 0 4 4 0 8 0 futexpl 56 982 0 982 1 0 1 1 0 8 1 knotepl 112 67 0 48 1 0 1 1 0 8 0 kqueuepl 144 16 0 14 1 0 1 1 0 8 0 pipelkpl 48 86 0 76 1 0 1 1 0 8 0 pipepl 120 172 0 153 1 0 1 1 0 8 0 fdescpl 496 286 0 270 3 0 3 3 0 8 0 filepl 152 1550 0 1446 5 0 5 5 0 8 0 lockfpl 104 24 0 22 1 0 1 1 0 8 0 lockfspl 48 11 0 9 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 130 0 121 1 0 1 1 0 8 0 zombiepl 144 271 0 270 1 0 1 1 0 8 0 processpl 984 302 0 270 5 0 5 5 0 8 0 procpl 624 443 0 402 4 0 4 4 0 8 0 sosppl 128 5 0 5 1 0 1 1 0 8 1 sockpl 400 210 0 188 3 0 3 3 0 8 0 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 157 0 0 19 0 19 19 0 8 0 mtagpl 80 13 0 0 1 0 1 1 0 8 0 mbufpl 256 170 0 0 11 0 11 11 0 8 0 bufpl 280 3357 0 133 231 0 231 231 0 8 0 anonpl 16 39411 0 25814 56 1 55 55 0 124 0 amapchunkpl 152 1481 0 1338 8 0 8 8 0 158 1 amappl16 192 1047 0 326 37 0 37 37 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 50 0 43 1 0 1 1 0 8 0 amappl13 168 50 0 47 1 0 1 1 0 8 0 amappl12 160 15 0 11 1 0 1 1 0 8 0 amappl11 152 59 0 44 1 0 1 1 0 8 0 amappl10 144 46 0 42 1 0 1 1 0 8 0 amappl9 136 382 0 381 1 0 1 1 0 8 0 amappl8 128 329 0 306 1 0 1 1 0 8 0 amappl7 120 145 0 133 1 0 1 1 0 8 0 amappl6 112 26 0 20 1 0 1 1 0 8 0 amappl5 104 174 0 158 1 0 1 1 0 8 0 amappl4 96 513 0 481 1 0 1 1 0 8 0 amappl3 88 125 0 116 1 0 1 1 0 8 0 amappl2 80 1312 0 1241 2 0 2 2 0 8 0 amappl1 72 16277 0 15821 24 8 16 18 0 8 6 amappl 80 695 0 648 2 0 2 2 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 286 0 270 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 286 0 270 1 0 1 1 0 8 0 vmmpekpl 168 6338 0 6309 2 0 2 2 0 8 0 vmmpepl 168 41675 0 39787 107 5 102 102 0 357 18 vmsppl 368 285 0 270 2 0 2 2 0 8 0 pdppl 4096 580 0 540 6 0 6 6 0 8 0 pvpl 32 142818 0 126081 137 0 137 137 0 265 1 pmappl 232 285 0 270 2 0 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 253 0 3 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8221e9c1) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff800020f62d48,ffff800020f62dd0,244) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:953 sbflush(ffff800020f62d48,ffff800020f62dd0) at sbflush+0x93 sys/kern/uipc_socket2.c:934 sbrelease(ffff800020f62d48,ffff800020f62dd0) at sbrelease+0x2e sys/kern/uipc_socket2.c:525 sorflush(fffffd806ca22650) at sorflush+0x14b sys/kern/uipc_socket.c:1131 sofree(fffffd806ca22650,42) at sofree+0x147 sys/kern/uipc_socket.c:257 soclose(fffffd806ca22650,80) at soclose+0x270 sys/kern/uipc_socket.c:338 soo_close(fffffd80679f00b0,ffff800020ec7ae8) at soo_close+0x40 fdrop(fffffd80679f00b0,ffff800020ec7ae8) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd80679f00b0,ffff800020ec7ae8) at closef+0x11c sys/kern/kern_descrip.c:1260 fdfree(ffff800020ec7ae8) at fdfree+0x101 sys/kern/kern_descrip.c:1192 exit1(ffff800020ec7ae8,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ec7ae8,ffff800020f631a0,ffff800020f631f0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800020f63270) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020f63270) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff59a0, count: -16 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020e00ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x331 sys/dev/acpi/acpicpu.c:1187 sched_idle(ffff800020e00ff0) at sched_idle+0x3f7 sys/kern/kern_sched.c:182 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800020e00ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x331 sys/dev/acpi/acpicpu.c:1187 sched_idle(ffff800020e00ff0) at sched_idle+0x3f7 sys/kern/kern_sched.c:182 end trace frame: 0x0, count: -5