panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *243584 2558 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821fefb4) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dabe4b8,fffffd805dabe5b0,364) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708538,ffff80001d708544,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708538,ffff80001d708544,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708538,ffff80001d708544,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708538,ffff80001d708544,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805e5f8a00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805e5f8a00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708648) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708648) 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(ffffffff821fefb4) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dabe4b8,fffffd805dabe5b0,364) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708538,ffff80001d708544,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708538,ffff80001d708544,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708538,ffff80001d708544,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708538,ffff80001d708544,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805e5f8a00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805e5f8a00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708648) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708648) 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 0xffff80001d7080c0 rbx 0xffff80001d708170 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8214f22f kprintf+0x15f r9 0x1 r10 0x2 r11 0x4effaa40cca30596 r12 0x3000000008 r13 0xffff80001d7080d0 r14 0x100 r15 0x1 rip 0xffffffff8110bea8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d7080b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=243584 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6e1750,0xffff80001d6e1280 process=0xffff8000ffffe398 user=0xffff80001d703000, vmspace=0xffffffff825c61e8 estcpu=0, cpticks=0, pctcpu=0.1 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 14774 41962 94198 0 3 0x82 nanosleep syz-executor.0 31612 117586 0 0 3 0x14200 bored sosplice 82203 486832 94198 0 3 0x82 piperd syz-executor.1 94198 381195 97147 0 3 0x82 thrsleep syz-fuzzer 94198 55874 97147 0 3 0x4000082 thrsleep syz-fuzzer 94198 63504 97147 0 3 0x4000082 thrsleep syz-fuzzer 94198 260623 97147 0 3 0x4000082 thrsleep syz-fuzzer 94198 408001 97147 0 3 0x4000082 thrsleep syz-fuzzer 94198 412360 97147 0 3 0x4000082 kqread syz-fuzzer 94198 478561 97147 0 3 0x4000082 thrsleep syz-fuzzer 94198 512918 97147 0 3 0x4000082 thrsleep syz-fuzzer 97147 41126 26836 0 3 0x10008a pause ksh 26836 164271 96093 0 3 0x92 select sshd 20745 272342 1 0 3 0x100083 ttyin getty 96093 446864 1 0 3 0x80 select sshd 8357 88447 10459 73 3 0x100090 kqread syslogd 10459 30453 1 0 3 0x100082 netio syslogd 54444 411027 1 77 3 0x100090 poll dhclient 99379 470741 1 0 3 0x80 poll dhclient 67143 489692 0 0 3 0x14200 bored smr 82138 169915 0 0 3 0x14200 pgzero zerothread 39499 435406 0 0 3 0x14200 aiodoned aiodoned 311 468853 0 0 3 0x14200 syncer update 23572 408253 0 0 3 0x14200 cleaner cleaner 29393 44273 0 0 3 0x14200 reaper reaper 79444 470233 0 0 3 0x14200 pgdaemon pagedaemon 72613 482308 0 0 3 0x14200 bored crynlk 76117 317027 0 0 3 0x14200 bored crypto 16284 197250 0 0 3 0x40014200 acpi0 acpi0 * 2558 243584 0 0 7 0x14200 softnet 65055 516537 0 0 3 0x14200 bored systqmp 21443 87176 0 0 3 0x14200 bored systq 28487 48230 0 0 3 0x40014200 bored softclock 31386 184772 0 0 3 0x40014200 idle0 1 215054 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 9503 6340K 7116K 78643K 11413 0 pcb 13 8K 8K 78643K 81 0 rtable 112 3K 4K 78643K 394 0 ifaddr 84 17K 17K 78643K 122 0 counters 21 16K 16K 78643K 26 0 ioctlops 0 0K 2K 78643K 42 0 iov 0 0K 24K 78643K 67 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1480 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 21 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 349 0 sigio 0 0K 0K 78643K 4 0 proc 49 38K 63K 78643K 428 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 32 0 in_multi 83 3K 4K 78643K 146 0 ether_multi 1 0K 0K 78643K 16 0 mrt 0 0K 0K 78643K 6 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 250 0 pfkey data 0 0K 0K 78643K 2 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 131 71K 71K 78643K 1687 0 UVM aobj 10 4K 4K 78643K 14 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 40 0 NDP 12 0K 0K 78643K 24 0 temp 103 3031K 3105K 78643K 5558 0 kqueue 3 4K 24K 78643K 47 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 12 0 5 1 0 1 1 0 8 0 rtpcb 80 121 0 119 1 0 1 1 0 8 0 rtentry 112 73 0 27 2 0 2 2 0 8 0 unpcb 120 152 0 144 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 23 0 23 1 1 0 1 0 8 0 tcpcb 544 164 0 160 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 45 0 45 1 1 0 1 0 8 0 inpcb 280 415 0 408 3 2 1 2 0 8 0 rttmr 72 3 0 3 1 1 0 1 0 8 0 nd6 48 11 0 5 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 2 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 288 0 87 14 0 14 14 0 8 0 art_table 32 290 0 87 2 0 2 2 0 8 0 art_node 16 72 0 30 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 4 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 17 0 7 1 0 1 1 0 8 0 shmpl 112 12 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1892 0 492 88 0 88 88 0 8 0 ffsino 240 1892 0 492 83 0 83 83 0 8 0 nchpl 144 2548 0 960 60 0 60 60 0 8 0 uvmvnodes 72 2135 0 0 39 0 39 39 0 8 0 vnodes 208 2135 0 0 113 0 113 113 0 8 0 namei 1024 7170 0 7170 2 1 1 1 0 8 1 vcpupl 1984 6 0 0 1 0 1 1 0 8 0 vmpool 528 8 0 2 1 0 1 1 0 8 0 scxspl 192 7269 0 7269 1 0 1 1 0 8 1 plimitpl 152 44 0 37 1 0 1 1 0 8 0 sigapl 424 533 0 504 4 0 4 4 0 8 0 futexpl 56 7060 0 7060 2 1 1 1 0 8 1 knotepl 112 181 0 162 2 1 1 2 0 8 0 kqueuepl 144 68 0 66 1 0 1 1 0 8 0 pipelkpl 16 120 0 110 1 0 1 1 0 8 0 pipepl 120 240 0 221 1 0 1 1 0 8 0 fdescpl 432 518 0 504 2 0 2 2 0 8 0 filepl 120 3287 0 3187 4 0 4 4 0 8 0 lockfpl 104 76 0 75 1 0 1 1 0 8 0 lockfspl 48 27 0 26 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 22 0 12 1 0 1 1 0 8 0 ucredpl 96 419 0 412 1 0 1 1 0 8 0 zombiepl 144 505 0 504 1 0 1 1 0 8 0 processpl 920 533 0 504 4 0 4 4 0 8 0 procpl 624 915 0 879 5 1 4 4 0 8 1 sosppl 128 5 0 5 3 2 1 1 0 8 1 sockpl 400 701 0 684 4 1 3 3 0 8 1 mcl64k 65536 566 0 566 65 62 3 65 0 8 3 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 13 0 13 2 1 1 1 0 8 1 mcl9k 9216 4 0 4 2 2 0 1 0 8 0 mcl8k 8192 6 0 6 3 2 1 1 0 8 1 mcl4k 4096 35 0 35 2 1 1 1 0 8 1 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 66106 0 66063 12 6 6 12 0 8 0 mtagpl 80 49 0 14 2 1 1 1 0 8 0 mbufpl 256 107632 0 107469 45 34 11 39 0 8 0 bufpl 280 4088 0 131 283 0 283 283 0 8 0 anonpl 16 63856 0 50152 75 16 59 74 0 107 0 amapchunkpl 152 2362 0 2226 11 4 7 11 0 158 0 amappl16 192 2530 0 1750 51 11 40 51 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 35 0 27 1 0 1 1 0 8 0 amappl13 168 30 0 29 1 0 1 1 0 8 0 amappl12 160 11 0 9 1 0 1 1 0 8 0 amappl11 152 111 0 100 1 0 1 1 0 8 0 amappl10 144 98 0 91 1 0 1 1 0 8 0 amappl9 136 526 0 522 1 0 1 1 0 8 0 amappl8 128 497 0 456 2 0 2 2 0 8 0 amappl7 120 197 0 186 1 0 1 1 0 8 0 amappl6 112 88 0 81 1 0 1 1 0 8 0 amappl5 104 388 0 378 1 0 1 1 0 8 0 amappl4 96 495 0 467 1 0 1 1 0 8 0 amappl3 88 114 0 109 1 0 1 1 0 8 0 amappl2 80 3255 0 3190 2 0 2 2 0 8 0 amappl1 72 18785 0 18368 24 15 9 17 0 8 0 amappl 80 1176 0 1131 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 13 0 4 1 0 1 1 0 8 0 uaddrrnd 24 526 0 506 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 526 0 506 1 0 1 1 0 8 0 vmmpekpl 168 7327 0 7302 2 0 2 2 0 8 0 vmmpepl 168 68194 0 66312 132 27 105 112 0 357 21 vmsppl 272 525 0 506 3 1 2 2 0 8 0 pdppl 4096 1058 0 1018 7 1 6 6 0 8 0 pvpl 32 196109 0 179434 172 24 148 172 0 265 6 pmappl 200 525 0 506 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 342 0 113 10 0 10 10 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(ffffffff821fefb4) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dabe4b8,fffffd805dabe5b0,364) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708538,ffff80001d708544,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708538,ffff80001d708544,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708538,ffff80001d708544,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708538,ffff80001d708544,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805e5f8a00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805e5f8a00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708648) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708648) 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(ffffffff821fefb4) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dabe4b8,fffffd805dabe5b0,364) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708538,ffff80001d708544,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708538,ffff80001d708544,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708538,ffff80001d708544,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708538,ffff80001d708544,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805e5f8a00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805e5f8a00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708648) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708648) 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