panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *424290 43306 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(fffffd805dac34b8,fffffd805dac35b0,3f8) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708638,ffff80001d708644,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708638,ffff80001d708644,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708638,ffff80001d708644,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708638,ffff80001d708644,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805c8e4900) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805c8e4900,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708748) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708748) 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(fffffd805dac34b8,fffffd805dac35b0,3f8) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708638,ffff80001d708644,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708638,ffff80001d708644,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708638,ffff80001d708644,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708638,ffff80001d708644,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805c8e4900) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805c8e4900,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708748) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708748) 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 0xffff80001d7081c0 rbx 0xffff80001d708270 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8152bacf kprintf+0x15f r9 0x1 r10 0x2 r11 0xbe6fadb8fc7ba729 r12 0x3000000008 r13 0xffff80001d7081d0 r14 0x100 r15 0x1 rip 0xffffffff81a7eaf8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d7081b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=424290 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6e1750,0xffff80001d6e1280 process=0xffff8000ffffe000 user=0xffff80001d703000, vmspace=0xffffffff8259c570 estcpu=0, cpticks=0, pctcpu=0.65 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 94549 257730 72806 0 3 0x82 nanosleep syz-executor.0 18013 339913 72806 0 2 0x2 syz-executor.1 72806 361734 45667 0 3 0x82 thrsleep syz-fuzzer 72806 406714 45667 0 3 0x4000082 nanosleep syz-fuzzer 72806 276956 45667 0 3 0x4000082 thrsleep syz-fuzzer 72806 176689 45667 0 3 0x4000082 thrsleep syz-fuzzer 72806 16728 45667 0 3 0x4000082 thrsleep syz-fuzzer 72806 187839 45667 0 3 0x4000082 kqread syz-fuzzer 72806 485697 45667 0 3 0x4000082 thrsleep syz-fuzzer 45667 116561 89783 0 3 0x10008a pause ksh 89783 150591 77011 0 3 0x92 select sshd 96253 481257 1 0 3 0x100083 ttyin getty 77011 400808 1 0 3 0x80 select sshd 80568 514300 77033 73 3 0x100090 kqread syslogd 77033 428716 1 0 3 0x100082 netio syslogd 92883 426117 1 77 3 0x100090 poll dhclient 46333 308392 1 0 3 0x80 poll dhclient 78848 74280 0 0 3 0x14200 bored smr 68669 422270 0 0 2 0x14200 zerothread 95578 119500 0 0 3 0x14200 aiodoned aiodoned 1025 265768 0 0 3 0x14200 syncer update 30591 375138 0 0 3 0x14200 cleaner cleaner 74746 230642 0 0 3 0x14200 reaper reaper 31571 97070 0 0 3 0x14200 pgdaemon pagedaemon 57078 298707 0 0 3 0x14200 bored crynlk 89992 253272 0 0 3 0x14200 bored crypto 80666 397967 0 0 3 0x40014200 acpi0 acpi0 *43306 424290 0 0 7 0x14200 softnet 12691 3521 0 0 3 0x14200 bored systqmp 17671 171678 0 0 3 0x14200 bored systq 9465 345445 0 0 3 0x40014200 bored softclock 80810 273014 0 0 3 0x40014200 idle0 1 46349 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 9467 6330K 6715K 78643K 10614 0 pcb 13 8K 8K 78643K 21 0 rtable 99 2K 3K 78643K 201 0 ifaddr 47 10K 11K 78643K 55 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 21 0 iov 0 0K 2K 78643K 4 0 mount 1 1K 1K 78643K 1 0 vnodes 1226 77K 77K 78643K 1242 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 4 0K 0K 78643K 5 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 4 9K 25K 78643K 56 0 proc 49 38K 63K 78643K 360 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 9 0 in_multi 29 1K 2K 78643K 41 0 ether_multi 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 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 115 54K 55K 78643K 962 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 10 0K 0K 78643K 12 0 temp 70 3027K 3091K 78643K 2407 0 kqueue 3 4K 4K 78643K 3 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 21 0 19 1 0 1 1 0 8 0 rtentry 112 49 0 8 2 0 2 2 0 8 0 unpcb 120 33 0 25 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 51 0 51 1 0 1 1 0 8 1 tcpcb 544 18 0 14 1 0 1 1 0 8 0 inpcb 280 72 0 65 1 0 1 1 0 8 0 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 48 0 10 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1459 0 61 88 0 88 88 0 8 0 ffsino 240 1459 0 61 83 0 83 83 0 8 0 nchpl 144 1719 0 117 60 0 60 60 0 8 0 uvmvnodes 72 1516 0 0 28 0 28 28 0 8 0 vnodes 208 1516 0 0 80 0 80 80 0 8 0 namei 1024 4306 0 4306 1 0 1 1 0 8 1 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 528 5 0 2 1 0 1 1 0 8 0 scxspl 192 4243 0 4243 1 0 1 1 0 8 1 plimitpl 152 14 0 7 1 0 1 1 0 8 0 sigapl 424 242 0 215 4 0 4 4 0 8 0 futexpl 56 561 0 561 1 0 1 1 0 8 1 knotepl 112 61 0 42 1 0 1 1 0 8 0 kqueuepl 144 6 0 4 1 0 1 1 0 8 0 pipelkpl 16 80 0 70 1 0 1 1 0 8 0 pipepl 120 160 0 141 1 0 1 1 0 8 0 fdescpl 432 228 0 215 2 0 2 2 0 8 0 filepl 120 1191 0 1096 4 0 4 4 0 8 1 lockfpl 104 13 0 12 1 0 1 1 0 8 0 lockfspl 48 7 0 6 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 93 0 86 1 0 1 1 0 8 0 zombiepl 144 215 0 214 1 0 1 1 0 8 0 processpl 920 242 0 214 4 0 4 4 0 8 0 procpl 624 272 0 238 3 0 3 3 0 8 0 sockpl 400 126 0 109 3 0 3 3 0 8 1 mcl64k 65536 5 0 5 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl4k 4096 8 0 8 1 1 0 1 0 8 0 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 65971 0 65919 16 2 14 14 0 8 6 mtagpl 80 8 0 2 2 1 1 1 0 8 0 mbufpl 256 104738 0 104640 17 2 15 15 0 8 1 bufpl 280 3246 0 126 223 0 223 223 0 8 0 anonpl 16 36029 0 22253 58 2 56 56 0 107 0 amapchunkpl 152 983 0 845 7 0 7 7 0 158 1 amappl16 192 929 0 192 38 0 38 38 0 8 1 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 26 0 20 1 0 1 1 0 8 0 amappl13 168 32 0 30 1 0 1 1 0 8 0 amappl12 160 12 0 9 1 0 1 1 0 8 0 amappl11 152 48 0 38 1 0 1 1 0 8 0 amappl10 144 32 0 24 1 0 1 1 0 8 0 amappl9 136 369 0 367 1 0 1 1 0 8 0 amappl8 128 326 0 293 2 0 2 2 0 8 0 amappl7 120 118 0 105 1 0 1 1 0 8 0 amappl6 112 27 0 22 1 0 1 1 0 8 0 amappl5 104 198 0 189 1 0 1 1 0 8 0 amappl4 96 419 0 392 1 0 1 1 0 8 0 amappl3 88 101 0 94 1 0 1 1 0 8 0 amappl2 80 999 0 940 2 0 2 2 0 8 0 amappl1 72 14089 0 13691 23 6 17 17 0 8 7 amappl 80 501 0 458 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 233 0 217 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 233 0 217 1 0 1 1 0 8 0 vmmpekpl 168 5820 0 5797 2 0 2 2 0 8 0 vmmpepl 168 34716 0 32999 107 7 100 100 0 357 20 vmsppl 272 232 0 217 2 0 2 2 0 8 0 pdppl 4096 472 0 437 6 0 6 6 0 8 1 pvpl 32 127028 0 110393 136 0 136 136 0 265 0 pmappl 200 232 0 217 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 241 0 7 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(fffffd805dac34b8,fffffd805dac35b0,3f8) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708638,ffff80001d708644,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708638,ffff80001d708644,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708638,ffff80001d708644,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708638,ffff80001d708644,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805c8e4900) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805c8e4900,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708748) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708748) 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(fffffd805dac34b8,fffffd805dac35b0,3f8) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708638,ffff80001d708644,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708638,ffff80001d708644,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708638,ffff80001d708644,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708638,ffff80001d708644,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805c8e4900) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805c8e4900,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708748) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708748) 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