panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *205510 39330 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82201f4a) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dab7328,fffffd805dab7420,394) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708098,ffff80001d7080a4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708098,ffff80001d7080a4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708098,ffff80001d7080a4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708098,ffff80001d7080a4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806419a700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806419a700,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7081a8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7081a8) at if_input_process+0xf8 sys/net/if.c:943 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff8000000290c0) at taskq_thread+0x52 sys/kern/kern_task.c:370 end trace frame: 0x0, count: 3 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(ffffffff82201f4a) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dab7328,fffffd805dab7420,394) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708098,ffff80001d7080a4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708098,ffff80001d7080a4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708098,ffff80001d7080a4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708098,ffff80001d7080a4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806419a700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806419a700,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7081a8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7081a8) at if_input_process+0xf8 sys/net/if.c:943 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff8000000290c0) at taskq_thread+0x52 sys/kern/kern_task.c:370 end trace frame: 0x0, count: -12 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d707c20 rbx 0xffff80001d707cd0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8152bacf kprintf+0x15f r9 0x1 r10 0x2 r11 0x53850c4a7adc3e2b r12 0x3000000008 r13 0xffff80001d707c30 r14 0x100 r15 0x1 rip 0xffffffff81a7eaf8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d707c10 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=205510 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6e1000,0xffff80001d6e1760 process=0xffff8000ffffe000 user=0xffff80001d703000, vmspace=0xffffffff8259c570 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 88157 107849 84030 0 2 0 syz-executor.0 62672 488093 0 0 3 0x14200 bored sosplice 84030 282547 35221 0 3 0x82 nanosleep syz-executor.0 80286 313824 35221 0 3 0x82 piperd syz-executor.1 35221 127305 57657 0 3 0x82 thrsleep syz-fuzzer 35221 265108 57657 0 3 0x4000082 nanosleep syz-fuzzer 35221 310373 57657 0 3 0x4000082 thrsleep syz-fuzzer 35221 512452 57657 0 3 0x4000082 thrsleep syz-fuzzer 35221 325206 57657 0 3 0x4000082 thrsleep syz-fuzzer 35221 375776 57657 0 2 0x4000002 syz-fuzzer 35221 438814 57657 0 3 0x4000082 thrsleep syz-fuzzer 57657 151367 75015 0 3 0x10008a pause ksh 75015 250357 36897 0 2 0x12 sshd 93944 8052 1 0 3 0x100083 ttyin getty 36897 355527 1 0 3 0x80 select sshd 86604 15458 16380 73 3 0x100090 kqread syslogd 16380 351518 1 0 3 0x100082 netio syslogd 33532 292904 1 77 3 0x100090 poll dhclient 80234 397335 1 0 3 0x80 poll dhclient 96158 187971 0 0 3 0x14200 bored smr 99290 215177 0 0 2 0x14200 zerothread 9329 259454 0 0 3 0x14200 aiodoned aiodoned 34150 424318 0 0 3 0x14200 syncer update 76951 217206 0 0 3 0x14200 cleaner cleaner 72672 439810 0 0 3 0x14200 reaper reaper 75549 349698 0 0 3 0x14200 pgdaemon pagedaemon 40491 325003 0 0 3 0x14200 bored crynlk 31952 507839 0 0 3 0x14200 bored crypto 53475 378374 0 0 3 0x40014200 acpi0 acpi0 *39330 205510 0 0 7 0x14200 softnet 48169 521288 0 0 3 0x14200 bored systqmp 90573 297498 0 0 3 0x14200 bored systq 74369 186915 0 0 3 0x40014200 bored softclock 88459 1816 0 0 3 0x40014200 idle0 1 105017 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 9483 6336K 7105K 78643K 11108 0 pcb 13 8K 8K 78643K 67 0 rtable 101 2K 3K 78643K 246 0 ifaddr 61 13K 13K 78643K 92 0 counters 21 16K 16K 78643K 26 0 ioctlops 0 0K 2K 78643K 29 0 iov 0 0K 12K 78643K 34 0 mount 1 1K 1K 78643K 1 0 vnodes 1225 77K 77K 78643K 1395 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 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 30 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 197 0 sigio 0 0K 0K 78643K 4 0 proc 50 38K 54K 78643K 373 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 34 0 in_multi 49 2K 2K 78643K 83 0 ether_multi 1 0K 0K 78643K 9 0 mrt 0 0K 0K 78643K 2 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 199 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 38K 78643K 1300 0 UVM aobj 8 2K 2K 78643K 8 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 46 0 NDP 9 0K 0K 78643K 19 0 temp 80 3028K 3092K 78643K 6205 0 kqueue 3 4K 8K 78643K 15 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 25 1 0 1 1 0 8 0 rtentry 112 52 0 10 2 0 2 2 0 8 0 unpcb 120 132 0 123 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 780 0 780 1 1 0 1 0 8 0 tcpcb 544 80 0 76 1 0 1 1 0 8 0 inpcb 280 334 0 327 2 1 1 2 0 8 0 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 9 0 4 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 235 0 55 13 0 13 13 0 8 0 art_table 32 236 0 55 2 0 2 2 0 8 0 art_node 16 51 0 12 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 0 1 0 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 26 0 16 1 0 1 1 0 8 0 shmpl 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 1654 0 257 88 0 88 88 0 8 0 ffsino 240 1654 0 257 83 0 83 83 0 8 0 nchpl 144 2100 0 500 60 0 60 60 0 8 0 uvmvnodes 72 1844 0 0 34 0 34 34 0 8 0 vnodes 208 1844 0 0 98 0 98 98 0 8 0 namei 1024 5636 0 5636 2 1 1 1 0 8 1 vmpool 528 4 0 4 2 1 1 1 0 8 1 scxspl 192 5842 0 5842 2 1 1 1 0 8 1 plimitpl 152 34 0 27 1 0 1 1 0 8 0 sigapl 424 384 0 355 4 0 4 4 0 8 0 futexpl 56 3982 0 3982 2 1 1 1 0 8 1 knotepl 112 71 0 52 1 0 1 1 0 8 0 kqueuepl 144 26 0 24 1 0 1 1 0 8 0 pipelkpl 16 94 0 84 1 0 1 1 0 8 0 pipepl 120 188 0 169 1 0 1 1 0 8 0 fdescpl 432 369 0 355 2 0 2 2 0 8 0 filepl 120 2301 0 2206 4 0 4 4 0 8 1 lockfpl 104 61 0 60 1 0 1 1 0 8 0 lockfspl 48 28 0 27 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 291 0 284 1 0 1 1 0 8 0 zombiepl 144 355 0 355 2 1 1 1 0 8 1 processpl 920 384 0 355 4 0 4 4 0 8 0 procpl 624 607 0 572 6 3 3 4 0 8 0 sosppl 128 5 0 5 2 2 0 1 0 8 0 sockpl 400 493 0 475 6 3 3 4 0 8 0 mcl64k 65536 12 0 12 4 3 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 5 0 5 2 1 1 1 0 8 1 mcl9k 9216 2 0 2 2 2 0 1 0 8 0 mcl8k 8192 13 0 13 4 3 1 1 0 8 1 mcl4k 4096 26 0 26 5 4 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 64894 0 64827 30 21 9 22 0 8 0 mtagpl 80 27 0 2 2 1 1 1 0 8 0 mbufpl 256 104537 0 104348 17 4 13 13 0 8 0 bufpl 280 3801 0 126 263 0 263 263 0 8 0 anonpl 16 56101 0 41618 84 25 59 71 0 107 0 amapchunkpl 152 1720 0 1594 11 5 6 9 0 158 0 amappl16 192 2052 0 1271 58 18 40 47 0 8 0 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 25 0 18 1 0 1 1 0 8 0 amappl13 168 24 0 22 1 0 1 1 0 8 0 amappl12 160 11 0 7 2 1 1 1 0 8 0 amappl11 152 76 0 66 1 0 1 1 0 8 0 amappl10 144 18 0 13 1 0 1 1 0 8 0 amappl9 136 499 0 497 1 0 1 1 0 8 0 amappl8 128 455 0 414 2 0 2 2 0 8 0 amappl7 120 105 0 94 1 0 1 1 0 8 0 amappl6 112 56 0 51 1 0 1 1 0 8 0 amappl5 104 282 0 272 1 0 1 1 0 8 0 amappl4 96 449 0 421 1 0 1 1 0 8 0 amappl3 88 109 0 103 1 0 1 1 0 8 0 amappl2 80 2105 0 2048 2 0 2 2 0 8 0 amappl1 72 16398 0 15994 24 14 10 17 0 8 0 amappl 80 833 0 793 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 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 373 0 359 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 373 0 359 1 0 1 1 0 8 0 vmmpekpl 168 6609 0 6584 2 0 2 2 0 8 0 vmmpepl 168 50654 0 48822 123 41 82 104 0 357 2 vmsppl 272 372 0 359 2 1 1 2 0 8 0 pdppl 4096 752 0 718 6 1 5 6 0 8 0 pvpl 32 168099 0 150736 181 39 142 170 0 265 1 pmappl 200 372 0 359 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 274 0 47 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(ffffffff82201f4a) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dab7328,fffffd805dab7420,394) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708098,ffff80001d7080a4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708098,ffff80001d7080a4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708098,ffff80001d7080a4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708098,ffff80001d7080a4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806419a700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806419a700,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7081a8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7081a8) at if_input_process+0xf8 sys/net/if.c:943 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff8000000290c0) at taskq_thread+0x52 sys/kern/kern_task.c:370 end trace frame: 0x0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82201f4a) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dab7328,fffffd805dab7420,394) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708098,ffff80001d7080a4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708098,ffff80001d7080a4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708098,ffff80001d7080a4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708098,ffff80001d7080a4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806419a700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806419a700,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7081a8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7081a8) at if_input_process+0xf8 sys/net/if.c:943 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff8000000290c0) at taskq_thread+0x52 sys/kern/kern_task.c:370 end trace frame: 0x0, count: -12