login: panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 241470 50697 0 0x14000 0x200 0 reaper db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff822228c3) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff800023fa7938,ffff800023fa79c0,5c2) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:953 sbflush(ffff800023fa7938,ffff800023fa79c0) at sbflush+0x93 sys/kern/uipc_socket2.c:934 sbrelease(ffff800023fa7938,ffff800023fa79c0) at sbrelease+0x2e sys/kern/uipc_socket2.c:525 sorflush(fffffd806f6e74b0) at sorflush+0x14b sys/kern/uipc_socket.c:1131 sofree(fffffd806f6e74b0,42) at sofree+0x147 sys/kern/uipc_socket.c:257 soclose(fffffd806f6e74b0,0) at soclose+0x270 sys/kern/uipc_socket.c:338 soo_close(fffffd8067f7d8e8,ffff800020ed8018) at soo_close+0x40 fdrop(fffffd8067f7d8e8,ffff800020ed8018) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd8067f7d8e8,ffff800020ed8018) at closef+0x11c sys/kern/kern_descrip.c:1260 fdfree(ffff800020ed8018) at fdfree+0x101 sys/kern/kern_descrip.c:1192 exit1(ffff800020ed8018,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ed8018,ffff800023fa7d90,ffff800023fa7de0) at sys_exit+0x16 sys/kern/kern_exit.c:95 end trace frame: 0xffff800023fa7e50, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic sbdrop ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff822228c3) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff800023fa7938,ffff800023fa79c0,5c2) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:953 sbflush(ffff800023fa7938,ffff800023fa79c0) at sbflush+0x93 sys/kern/uipc_socket2.c:934 sbrelease(ffff800023fa7938,ffff800023fa79c0) at sbrelease+0x2e sys/kern/uipc_socket2.c:525 sorflush(fffffd806f6e74b0) at sorflush+0x14b sys/kern/uipc_socket.c:1131 sofree(fffffd806f6e74b0,42) at sofree+0x147 sys/kern/uipc_socket.c:257 soclose(fffffd806f6e74b0,0) at soclose+0x270 sys/kern/uipc_socket.c:338 soo_close(fffffd8067f7d8e8,ffff800020ed8018) at soo_close+0x40 fdrop(fffffd8067f7d8e8,ffff800020ed8018) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd8067f7d8e8,ffff800020ed8018) at closef+0x11c sys/kern/kern_descrip.c:1260 fdfree(ffff800020ed8018) at fdfree+0x101 sys/kern/kern_descrip.c:1192 exit1(ffff800020ed8018,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ed8018,ffff800023fa7d90,ffff800023fa7de0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800023fa7e60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023fa7e60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd5e70, count: -16 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800023fa7780 rbx 0xffff800023fa7830 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81b6be4f kprintf+0x16f r9 0x1 r10 0x2 r11 0xafeb28ff1f62c802 r12 0x3000000008 r13 0xffff800023fa7790 r14 0x100 r15 0x1 rip 0xffffffff81b21398 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800023fa7770 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=61590 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff800020ed9d58,0xffffffff826affb0 process=0xffff800020ecfb08 user=0xffff800023fa2000, vmspace=0xfffffd807f0002e0 estcpu=25, cpticks=4, pctcpu=0.21 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 29889 378319 9884 0 3 0x82 nanosleep syz-executor.1 21303 450578 9884 0 3 0x82 piperd syz-executor.0 9884 495252 99204 0 3 0x82 thrsleep syz-fuzzer 9884 411688 99204 0 3 0x4000082 thrsleep syz-fuzzer 9884 233551 99204 0 3 0x4000082 kqread syz-fuzzer 9884 196691 99204 0 3 0x4000082 thrsleep syz-fuzzer 9884 159871 99204 0 3 0x4000082 thrsleep syz-fuzzer 9884 104503 99204 0 3 0x4000082 thrsleep syz-fuzzer 9884 310687 99204 0 3 0x4000082 thrsleep syz-fuzzer 9884 390586 99204 0 3 0x4000082 thrsleep syz-fuzzer 9884 378954 99204 0 3 0x4000082 thrsleep syz-fuzzer 9884 462002 99204 0 3 0x4000082 thrsleep syz-fuzzer 99204 149360 82267 0 3 0x10008a pause ksh 82267 201534 95911 0 3 0x92 select sshd 43076 399131 1 0 3 0x100083 ttyin getty 95911 58356 1 0 3 0x80 select sshd 91776 416769 14743 74 3 0x100092 bpf pflogd 14743 353683 1 0 3 0x80 netio pflogd 87105 136970 79104 73 3 0x100090 kqread syslogd 79104 152668 1 0 3 0x100082 netio syslogd 20515 389011 1 77 3 0x100090 poll dhclient 32821 88643 1 0 3 0x80 poll dhclient 70677 119003 0 0 3 0x14200 bored smr 20428 251975 0 0 3 0x14200 pgzero zerothread 22841 186056 0 0 3 0x14200 aiodoned aiodoned 62919 25757 0 0 3 0x14200 syncer update 18243 161411 0 0 3 0x14200 cleaner cleaner 50697 241470 0 0 7 0x14200 reaper 6535 52704 0 0 3 0x14200 pgdaemon pagedaemon 12109 219621 0 0 3 0x14200 bored crynlk 81091 70980 0 0 3 0x14200 bored crypto 12606 321979 0 0 3 0x40014200 acpi0 acpi0 36733 270630 0 0 3 0x40014200 idle1 48613 66015 0 0 3 0x14200 bored softnet 25737 343881 0 0 3 0x14200 bored systqmp 44899 193768 0 0 3 0x14200 bored systq 92307 513174 0 0 3 0x40014200 bored softclock 32052 277439 0 0 3 0x40014200 idle0 1 308599 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9502 6410K 6727K 78643K 10728 0 pcb 13 8K 8K 78643K 27 0 rtable 108 4K 4K 78643K 233 0 ifaddr 61 12K 13K 78643K 86 0 counters 43 33K 34K 78643K 51 0 ioctlops 0 0K 4K 78643K 1471 0 iov 0 0K 16K 78643K 11 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1261 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 1K 1K 78643K 2 0 sem 8 0K 0K 78643K 10 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 95 0 proc 59 63K 95K 78643K 442 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 8 0 in_multi 33 2K 2K 78643K 37 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 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 207 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 121 22K 23K 78643K 1209 0 UVM aobj 2 2K 2K 78643K 4 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 10 0 NDP 10 0K 0K 78643K 18 0 temp 83 3032K 3096K 78643K 2199 0 kqueue 9 16K 16K 78643K 17 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 29 0 20 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 159 0 149 2 0 2 2 0 8 1 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 10 0 10 1 1 0 1 0 8 0 tcpcb 544 34 0 30 1 0 1 1 0 8 0 inpcb 280 101 0 94 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 0 1 1 0 8 1 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 14 0 0 1 0 1 1 0 8 0 pfstkey 112 14 0 0 1 0 1 1 0 8 0 pfstate 328 14 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 189 0 0 12 0 12 12 0 8 0 art_table 32 190 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 semapl 112 8 0 2 1 0 1 1 0 8 0 shmpl 112 2 0 2 1 0 1 1 0 8 1 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1509 0 104 89 0 89 89 0 8 1 ffsino 272 1509 0 104 94 0 94 94 0 8 0 nchpl 144 1826 0 218 60 0 60 60 0 8 0 uvmvnodes 72 1583 0 0 29 0 29 29 0 8 0 vnodes 208 1583 0 0 84 0 84 84 0 8 0 namei 1024 4765 0 4765 1 0 1 1 0 8 1 percpumem 16 36 0 4 1 0 1 1 0 8 0 scxspl 192 4607 0 4607 2 1 1 2 0 8 1 plimitpl 152 21 0 13 1 0 1 1 0 8 0 sigapl 424 310 0 279 4 0 4 4 0 8 0 futexpl 56 993 0 993 1 0 1 1 0 8 1 knotepl 112 115 0 77 2 0 2 2 0 8 0 kqueuepl 144 63 0 52 1 0 1 1 0 8 0 pipelkpl 48 83 0 73 1 0 1 1 0 8 0 pipepl 120 166 0 147 1 0 1 1 0 8 0 fdescpl 496 295 0 279 3 0 3 3 0 8 0 filepl 152 1643 0 1522 6 0 6 6 0 8 1 lockfpl 104 13 0 12 1 0 1 1 0 8 0 lockfspl 48 5 0 4 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 93 0 84 1 0 1 1 0 8 0 zombiepl 144 280 0 279 1 0 1 1 0 8 0 processpl 984 310 0 279 5 0 5 5 0 8 0 procpl 624 450 0 409 4 0 4 4 0 8 0 sockpl 400 289 0 262 5 0 5 5 0 8 2 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 178 0 0 22 0 22 22 0 8 0 mtagpl 80 6 0 0 1 0 1 1 0 8 0 mbufpl 256 193 0 0 12 0 12 12 0 8 0 bufpl 280 3369 0 133 232 0 232 232 0 8 0 anonpl 16 45735 0 30835 70 1 69 69 0 124 8 amapchunkpl 152 1383 0 1233 8 1 7 8 0 158 0 amappl16 192 1399 0 597 46 0 46 46 0 8 5 amappl15 184 35 0 32 1 0 1 1 0 8 0 amappl14 176 53 0 48 1 0 1 1 0 8 0 amappl13 168 28 0 25 1 0 1 1 0 8 0 amappl12 160 37 0 34 2 1 1 1 0 8 0 amappl11 152 51 0 36 1 0 1 1 0 8 0 amappl10 144 18 0 11 1 0 1 1 0 8 0 amappl9 136 385 0 383 1 0 1 1 0 8 0 amappl8 128 356 0 321 2 0 2 2 0 8 0 amappl7 120 115 0 104 1 0 1 1 0 8 0 amappl6 112 21 0 19 1 0 1 1 0 8 0 amappl5 104 197 0 180 1 0 1 1 0 8 0 amappl4 96 480 0 454 1 0 1 1 0 8 0 amappl3 88 102 0 97 1 0 1 1 0 8 0 amappl2 80 1449 0 1376 2 0 2 2 0 8 0 amappl1 72 16832 0 16378 24 12 12 18 0 8 2 amappl 80 699 0 651 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 3 0 2 1 0 1 1 0 8 0 uaddrrnd 24 295 0 279 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 295 0 279 1 0 1 1 0 8 0 vmmpekpl 168 6307 0 6277 2 0 2 2 0 8 0 vmmpepl 168 43071 0 41099 116 8 108 109 0 357 19 vmsppl 368 294 0 279 2 0 2 2 0 8 0 pdppl 4096 598 0 558 6 0 6 6 0 8 0 pvpl 32 150372 0 132337 167 0 167 167 0 265 20 pmappl 232 294 0 279 2 1 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 259 0 3 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff824a6ff0) 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 __mp_lock(ffffffff82643928) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82643928) at __mp_lock+0x127 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff82643928) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82643928) at __mp_lock+0x127 sys/kern/kern_lock.c:147 reaper(ffff800020e195f0) at reaper+0x14e sys/kern/kern_exit.c:444 end trace frame: 0x0, count: 7 ddb{0}> trace x86_ipi_db(ffffffff824a6ff0) 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 __mp_lock(ffffffff82643928) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82643928) at __mp_lock+0x127 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff82643928) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82643928) at __mp_lock+0x127 sys/kern/kern_lock.c:147 reaper(ffff800020e195f0) at reaper+0x14e sys/kern/kern_exit.c:444 end trace frame: 0x0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff822228c3) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff800023fa7938,ffff800023fa79c0,5c2) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:953 sbflush(ffff800023fa7938,ffff800023fa79c0) at sbflush+0x93 sys/kern/uipc_socket2.c:934 sbrelease(ffff800023fa7938,ffff800023fa79c0) at sbrelease+0x2e sys/kern/uipc_socket2.c:525 sorflush(fffffd806f6e74b0) at sorflush+0x14b sys/kern/uipc_socket.c:1131 sofree(fffffd806f6e74b0,42) at sofree+0x147 sys/kern/uipc_socket.c:257 soclose(fffffd806f6e74b0,0) at soclose+0x270 sys/kern/uipc_socket.c:338 soo_close(fffffd8067f7d8e8,ffff800020ed8018) at soo_close+0x40 fdrop(fffffd8067f7d8e8,ffff800020ed8018) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd8067f7d8e8,ffff800020ed8018) at closef+0x11c sys/kern/kern_descrip.c:1260 fdfree(ffff800020ed8018) at fdfree+0x101 sys/kern/kern_descrip.c:1192 exit1(ffff800020ed8018,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ed8018,ffff800023fa7d90,ffff800023fa7de0) at sys_exit+0x16 sys/kern/kern_exit.c:95 end trace frame: 0xffff800023fa7e50, count: 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff822228c3) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff800023fa7938,ffff800023fa79c0,5c2) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:953 sbflush(ffff800023fa7938,ffff800023fa79c0) at sbflush+0x93 sys/kern/uipc_socket2.c:934 sbrelease(ffff800023fa7938,ffff800023fa79c0) at sbrelease+0x2e sys/kern/uipc_socket2.c:525 sorflush(fffffd806f6e74b0) at sorflush+0x14b sys/kern/uipc_socket.c:1131 sofree(fffffd806f6e74b0,42) at sofree+0x147 sys/kern/uipc_socket.c:257 soclose(fffffd806f6e74b0,0) at soclose+0x270 sys/kern/uipc_socket.c:338 soo_close(fffffd8067f7d8e8,ffff800020ed8018) at soo_close+0x40 fdrop(fffffd8067f7d8e8,ffff800020ed8018) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd8067f7d8e8,ffff800020ed8018) at closef+0x11c sys/kern/kern_descrip.c:1260 fdfree(ffff800020ed8018) at fdfree+0x101 sys/kern/kern_descrip.c:1192 exit1(ffff800020ed8018,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ed8018,ffff800023fa7d90,ffff800023fa7de0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800023fa7e60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023fa7e60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd5e70, count: -16