panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 162853 61896 77 0x100010 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82219cbe) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff800020f64dc8,ffff800020f64e50,478) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:953 sbflush(ffff800020f64dc8,ffff800020f64e50) at sbflush+0x93 sys/kern/uipc_socket2.c:934 sbrelease(ffff800020f64dc8,ffff800020f64e50) at sbrelease+0x2e sys/kern/uipc_socket2.c:525 sorflush(fffffd80768d3338) at sorflush+0x14b sys/kern/uipc_socket.c:1131 sofree(fffffd80768d3338,42) at sofree+0x147 sys/kern/uipc_socket.c:257 soclose(fffffd80768d3338,0) at soclose+0x270 sys/kern/uipc_socket.c:338 soo_close(fffffd8067209ef0,ffff800020ec6288) at soo_close+0x40 fdrop(fffffd8067209ef0,ffff800020ec6288) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd8067209ef0,ffff800020ec6288) at closef+0x11c sys/kern/kern_descrip.c:1260 fdfree(ffff800020ec6288) at fdfree+0x101 sys/kern/kern_descrip.c:1192 exit1(ffff800020ec6288,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ec6288,ffff800020f65220,ffff800020f65270) at sys_exit+0x16 sys/kern/kern_exit.c:95 end trace frame: 0xffff800020f652e0, 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(ffffffff82219cbe) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff800020f64dc8,ffff800020f64e50,478) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:953 sbflush(ffff800020f64dc8,ffff800020f64e50) at sbflush+0x93 sys/kern/uipc_socket2.c:934 sbrelease(ffff800020f64dc8,ffff800020f64e50) at sbrelease+0x2e sys/kern/uipc_socket2.c:525 sorflush(fffffd80768d3338) at sorflush+0x14b sys/kern/uipc_socket.c:1131 sofree(fffffd80768d3338,42) at sofree+0x147 sys/kern/uipc_socket.c:257 soclose(fffffd80768d3338,0) at soclose+0x270 sys/kern/uipc_socket.c:338 soo_close(fffffd8067209ef0,ffff800020ec6288) at soo_close+0x40 fdrop(fffffd8067209ef0,ffff800020ec6288) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd8067209ef0,ffff800020ec6288) at closef+0x11c sys/kern/kern_descrip.c:1260 fdfree(ffff800020ec6288) at fdfree+0x101 sys/kern/kern_descrip.c:1192 exit1(ffff800020ec6288,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ec6288,ffff800020f65220,ffff800020f65270) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800020f652f0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020f652f0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3ba0, count: -16 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020f64c10 rbx 0xffff800020f64cc0 rdx 0xffff800020ec6288 rcx 0 rax 0 r8 0xffffffff810fbc8f kprintf+0x16f r9 0x1 r10 0x25 r11 0xf7e4661052f84687 r12 0x3000000008 r13 0xffff800020f64c20 r14 0x100 r15 0x1 rip 0xffffffff811ab8d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020f64c00 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=126154 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ec7398,0xffffffff826498a0 process=0xffff800020e927d0 user=0xffff800020f60000, vmspace=0xfffffd807f0005c0 estcpu=36, cpticks=7, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 69959 47073 0 0 3 0x14200 bored sosplice 73405 384592 70430 0 3 0x82 piperd syz-executor.1 81733 208107 70430 0 3 0x82 nanosleep syz-executor.0 70430 196048 80936 0 3 0x82 kqread syz-fuzzer 70430 120976 80936 0 3 0x4000082 thrsleep syz-fuzzer 70430 238699 80936 0 3 0x4000082 thrsleep syz-fuzzer 70430 423301 80936 0 3 0x4000082 thrsleep syz-fuzzer 70430 4306 80936 0 3 0x4000082 thrsleep syz-fuzzer 70430 293838 80936 0 3 0x4000082 thrsleep syz-fuzzer 70430 128869 80936 0 3 0x4000082 thrsleep syz-fuzzer 70430 259394 80936 0 3 0x4000082 thrsleep syz-fuzzer 70430 132298 80936 0 3 0x4000082 thrsleep syz-fuzzer 70430 202106 80936 0 3 0x4000082 thrsleep syz-fuzzer 80936 414409 21819 0 3 0x10008a pause ksh 21819 192220 70542 0 3 0x92 select sshd 61786 27736 1 0 3 0x100083 ttyopn getty 70542 431341 1 0 3 0x80 select sshd 65189 132674 94613 74 3 0x100092 bpf pflogd 94613 118178 1 0 3 0x80 netio pflogd 75067 165955 64217 73 3 0x100090 kqread syslogd 64217 23495 1 0 3 0x100082 netio syslogd 61896 162853 1 77 7 0x100010 dhclient 9164 231528 1 0 3 0x80 poll dhclient 95465 131544 0 0 3 0x14200 bored smr 16447 135549 0 0 3 0x14200 pgzero zerothread 47541 189157 0 0 3 0x14200 aiodoned aiodoned 12962 365152 0 0 3 0x14200 syncer update 13058 470158 0 0 3 0x14200 cleaner cleaner 75289 99690 0 0 3 0x14200 reaper reaper 48768 458300 0 0 3 0x14200 pgdaemon pagedaemon 74399 87811 0 0 3 0x14200 bored crynlk 52835 289400 0 0 3 0x14200 bored crypto 87760 333389 0 0 3 0x40014200 acpi0 acpi0 18989 262624 0 0 3 0x40014200 idle1 94779 307459 0 0 3 0x14200 bored softnet 95252 9467 0 0 3 0x14200 bored systqmp 25496 339566 0 0 3 0x14200 bored systq 23242 398999 0 0 3 0x40014200 bored softclock 83850 521118 0 0 3 0x40014200 idle0 1 48938 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 9506 6426K 6660K 78643K 10713 0 pcb 13 8K 8K 78643K 31 0 rtable 105 3K 3K 78643K 292 0 ifaddr 65 13K 14K 78643K 75 0 counters 43 33K 34K 78643K 45 0 ioctlops 0 0K 4K 78643K 1471 0 iov 0 0K 16K 78643K 51 0 mount 1 1K 1K 78643K 1 0 vnodes 1226 77K 77K 78643K 1269 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 12 1K 1K 78643K 18 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1823 197K 290K 78643K 12980 0 file desc 5 13K 25K 78643K 112 0 proc 60 63K 95K 78643K 448 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 11 0 in_multi 46 2K 2K 78643K 56 0 ether_multi 1 0K 0K 78643K 4 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 219 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 117 22K 23K 78643K 1297 0 UVM aobj 3 2K 2K 78643K 4 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 22 0 NDP 10 0K 0K 78643K 15 0 temp 83 3036K 3100K 78643K 2224 0 kqueue 3 4K 4K 78643K 3 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 114 0 112 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 97 0 87 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 42 0 38 1 0 1 1 0 8 0 inpcb 280 142 0 135 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 pkpcb 40 6 0 6 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 21 0 0 1 0 1 1 0 8 0 pfstkey 112 21 0 0 1 0 1 1 0 8 0 pfstate 328 21 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 1 0 1 1 0 1 1 0 8 1 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1541 0 134 89 0 89 89 0 8 1 ffsino 272 1541 0 134 94 0 94 94 0 8 0 nchpl 144 1883 0 275 60 0 60 60 0 8 0 uvmvnodes 72 1616 0 0 30 0 30 30 0 8 0 vnodes 208 1616 0 0 86 0 86 86 0 8 0 namei 1024 5000 0 5000 1 0 1 1 0 8 1 percpumem 16 33 0 1 1 0 1 1 0 8 0 scxspl 192 4973 0 4973 7 2 5 6 0 8 5 plimitpl 152 21 0 13 1 0 1 1 0 8 0 sigapl 424 328 0 296 4 0 4 4 0 8 0 futexpl 56 1360 0 1360 1 0 1 1 0 8 1 knotepl 112 61 0 42 1 0 1 1 0 8 0 kqueuepl 144 12 0 9 1 0 1 1 0 8 0 pipelkpl 48 97 0 87 1 0 1 1 0 8 0 pipepl 120 194 0 175 1 0 1 1 0 8 0 fdescpl 496 312 0 296 3 0 3 3 0 8 0 filepl 152 1784 0 1683 5 0 5 5 0 8 1 lockfpl 104 35 0 34 1 0 1 1 0 8 0 lockfspl 48 15 0 14 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 160 0 151 1 0 1 1 0 8 0 zombiepl 144 297 0 296 1 0 1 1 0 8 0 processpl 984 328 0 296 5 0 5 5 0 8 0 procpl 624 542 0 501 4 0 4 4 0 8 0 srpgc 64 2 0 2 1 0 1 1 0 8 1 sosppl 128 5 0 5 1 0 1 1 0 8 1 sockpl 400 360 0 340 4 0 4 4 0 8 1 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 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 170 0 0 21 0 21 21 0 8 0 mtagpl 80 8 0 0 1 0 1 1 0 8 0 mbufpl 256 199 0 0 12 0 12 12 0 8 0 bufpl 280 3445 0 134 237 0 237 237 0 8 0 anonpl 16 41888 0 27822 58 1 57 57 0 124 0 amapchunkpl 152 1459 0 1326 8 2 6 8 0 158 0 amappl16 192 1200 0 444 39 0 39 39 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 105 0 97 1 0 1 1 0 8 0 amappl13 168 25 0 24 1 0 1 1 0 8 0 amappl12 160 9 0 6 1 0 1 1 0 8 0 amappl11 152 58 0 43 1 0 1 1 0 8 0 amappl10 144 17 0 13 1 0 1 1 0 8 0 amappl9 136 401 0 398 1 0 1 1 0 8 0 amappl8 128 340 0 311 1 0 1 1 0 8 0 amappl7 120 120 0 108 1 0 1 1 0 8 0 amappl6 112 25 0 19 2 1 1 1 0 8 0 amappl5 104 210 0 195 1 0 1 1 0 8 0 amappl4 96 489 0 459 1 0 1 1 0 8 0 amappl3 88 184 0 177 1 0 1 1 0 8 0 amappl2 80 1540 0 1472 2 0 2 2 0 8 0 amappl1 72 17051 0 16599 23 13 10 18 0 8 0 amappl 80 786 0 742 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 1 1 0 1 1 0 8 0 uaddrrnd 24 312 0 296 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 312 0 296 1 0 1 1 0 8 0 vmmpekpl 168 6586 0 6557 2 0 2 2 0 8 0 vmmpepl 168 44691 0 42778 110 12 98 103 0 357 10 vmsppl 368 311 0 296 2 0 2 2 0 8 0 pdppl 4096 632 0 592 6 0 6 6 0 8 0 pvpl 32 151334 0 134134 142 0 142 142 0 265 2 pmappl 232 311 0 296 2 1 1 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 258 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(ffffffff824a9ff0) 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 __sanitizer_cov_trace_cmp4(ffffffff82681640,ffffffff82681640) at __sanitizer_cov_trace_cmp4+0xb sys/dev/kcov.c:169 syscall(ffff800020ea7400) at syscall+0x400 mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff800020ea7400) at syscall+0x400 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff8be0, count: 9 ddb{0}> trace x86_ipi_db(ffffffff824a9ff0) 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 __sanitizer_cov_trace_cmp4(ffffffff82681640,ffffffff82681640) at __sanitizer_cov_trace_cmp4+0xb sys/dev/kcov.c:169 syscall(ffff800020ea7400) at syscall+0x400 mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff800020ea7400) at syscall+0x400 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff8be0, count: -6 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(ffffffff82219cbe) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff800020f64dc8,ffff800020f64e50,478) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:953 sbflush(ffff800020f64dc8,ffff800020f64e50) at sbflush+0x93 sys/kern/uipc_socket2.c:934 sbrelease(ffff800020f64dc8,ffff800020f64e50) at sbrelease+0x2e sys/kern/uipc_socket2.c:525 sorflush(fffffd80768d3338) at sorflush+0x14b sys/kern/uipc_socket.c:1131 sofree(fffffd80768d3338,42) at sofree+0x147 sys/kern/uipc_socket.c:257 soclose(fffffd80768d3338,0) at soclose+0x270 sys/kern/uipc_socket.c:338 soo_close(fffffd8067209ef0,ffff800020ec6288) at soo_close+0x40 fdrop(fffffd8067209ef0,ffff800020ec6288) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd8067209ef0,ffff800020ec6288) at closef+0x11c sys/kern/kern_descrip.c:1260 fdfree(ffff800020ec6288) at fdfree+0x101 sys/kern/kern_descrip.c:1192 exit1(ffff800020ec6288,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ec6288,ffff800020f65220,ffff800020f65270) at sys_exit+0x16 sys/kern/kern_exit.c:95 end trace frame: 0xffff800020f652e0, count: 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82219cbe) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(ffff800020f64dc8,ffff800020f64e50,478) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:953 sbflush(ffff800020f64dc8,ffff800020f64e50) at sbflush+0x93 sys/kern/uipc_socket2.c:934 sbrelease(ffff800020f64dc8,ffff800020f64e50) at sbrelease+0x2e sys/kern/uipc_socket2.c:525 sorflush(fffffd80768d3338) at sorflush+0x14b sys/kern/uipc_socket.c:1131 sofree(fffffd80768d3338,42) at sofree+0x147 sys/kern/uipc_socket.c:257 soclose(fffffd80768d3338,0) at soclose+0x270 sys/kern/uipc_socket.c:338 soo_close(fffffd8067209ef0,ffff800020ec6288) at soo_close+0x40 fdrop(fffffd8067209ef0,ffff800020ec6288) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd8067209ef0,ffff800020ec6288) at closef+0x11c sys/kern/kern_descrip.c:1260 fdfree(ffff800020ec6288) at fdfree+0x101 sys/kern/kern_descrip.c:1192 exit1(ffff800020ec6288,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ec6288,ffff800020f65220,ffff800020f65270) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800020f652f0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020f652f0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3ba0, count: -16 ddb{1}>