panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *432415 33562 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff824168c8) at panic+0x164 sys/kern/subr_prf.c:218 sbdrop(fffffd805da6e008,fffffd805da6e100,5a8) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d676a18,ffff80001d676a24,6,2) at tcp_input+0x38ec sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d676a18,ffff80001d676a24,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d676a18,ffff80001d676a24,0,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d676a18,ffff80001d676a24,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80585ac700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 if_input_process(ffff80000017a2a8,ffff80001d676ab8) at if_input_process+0xda sys/net/if.c:832 ifiq_process(ffff80000017a698) at ifiq_process+0x80 sys/net/ifq.c:768 taskq_thread(ffff80000002b080) at taskq_thread+0xa0 sys/kern/kern_task.c:449 end trace frame: 0x0, count: 4 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(ffffffff824168c8) at panic+0x164 sys/kern/subr_prf.c:218 sbdrop(fffffd805da6e008,fffffd805da6e100,5a8) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d676a18,ffff80001d676a24,6,2) at tcp_input+0x38ec sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d676a18,ffff80001d676a24,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d676a18,ffff80001d676a24,0,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d676a18,ffff80001d676a24,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80585ac700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 if_input_process(ffff80000017a2a8,ffff80001d676ab8) at if_input_process+0xda sys/net/if.c:832 ifiq_process(ffff80000017a698) at ifiq_process+0x80 sys/net/ifq.c:768 taskq_thread(ffff80000002b080) at taskq_thread+0xa0 sys/kern/kern_task.c:449 end trace frame: 0x0, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6765a0 rbx 0xffff80001d676650 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffff80001d676560 r9 0xffffffff81ceca3f kprintf+0x15f r10 0x1 r11 0xbacda7635abc1d47 r12 0x3000000008 r13 0xffff80001d6765b0 r14 0x100 r15 0x1 rip 0xffffffff82063088 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d676590 ss 0 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=432415 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffffe9e0,0xffff8000ffffe288 process=0xffff8000ffffd270 user=0xffff80001d671000, vmspace=0xffffffff827f8ec0 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 75666 366894 8076 0 2 0 syz-executor.0 75666 78078 8076 0 2 0x4000480 syz-executor.0 21616 493640 0 0 3 0x14200 bored sosplice 9972 31934 30463 0 2 0x482 syz-executor.1 8076 179768 30463 0 2 0x482 syz-executor.0 30463 77482 77049 0 3 0x82 thrsleep syz-fuzzer 30463 338954 77049 0 3 0x4000082 thrsleep syz-fuzzer 30463 226203 77049 0 3 0x4000082 thrsleep syz-fuzzer 30463 411802 77049 0 3 0x4000082 kqread syz-fuzzer 30463 341248 77049 0 3 0x4000082 thrsleep syz-fuzzer 30463 258892 77049 0 3 0x4000082 thrsleep syz-fuzzer 30463 444904 77049 0 3 0x4000082 thrsleep syz-fuzzer 77049 198164 57329 0 3 0x10008a pause ksh 57329 422632 98875 0 3 0x92 select sshd 26763 308359 1 0 3 0x100083 ttyin getty 98875 401430 1 0 3 0x80 select sshd 97791 101703 93228 73 3 0x100090 kqread syslogd 93228 74436 1 0 3 0x100082 netio syslogd 24336 165604 1 77 3 0x100090 poll dhclient 67495 492444 1 0 3 0x80 poll dhclient 68962 480633 0 0 3 0x14200 bored smr 54501 263620 0 0 2 0x14200 zerothread 81765 400307 0 0 3 0x14200 aiodoned aiodoned 94475 513738 0 0 3 0x14200 syncer update 14222 401316 0 0 3 0x14200 cleaner cleaner 61905 113355 0 0 3 0x14200 reaper reaper 57738 58557 0 0 3 0x14200 pgdaemon pagedaemon 73116 364053 0 0 3 0x14200 bored crynlk 1477 165979 0 0 3 0x14200 bored crypto 85236 153506 0 0 3 0x40014200 acpi0 acpi0 *33562 432415 0 0 7 0x14200 softnet 51042 369544 0 0 3 0x14200 bored systqmp 20690 509811 0 0 3 0x14200 bored systq 20364 287763 0 0 2 0x40014200 softclock 47931 473735 0 0 3 0x40014200 idle0 1 297571 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 9493 6341K 6855K 78643K 11288 0 pcb 13 8K 8K 78643K 73 0 rtable 119 9K 10K 78643K 583 0 ifaddr 85 18K 18K 78643K 153 0 counters 21 16K 16K 78643K 26 0 ioctlops 0 0K 4K 78643K 107 0 iov 0 0K 16K 78643K 82 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1485 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 10 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 180 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 584 0 sigio 0 0K 0K 78643K 4 0 proc 49 38K 63K 78643K 493 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 29 0 in_multi 63 3K 3K 78643K 123 0 ether_multi 1 0K 0K 78643K 7 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 238 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 133 39K 59K 78643K 2217 0 UVM aobj 20 7K 7K 78643K 20 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 54 0 NDP 11 0K 0K 78643K 26 0 temp 112 3874K 3938K 78643K 11347 0 kqueue 3 4K 12K 78643K 28 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 13 0 7 1 0 1 1 0 8 0 rtpcb 88 742 0 740 1 0 1 1 0 8 0 rtentry 112 90 0 54 2 0 2 2 0 8 0 unpcb 120 287 0 279 1 0 1 1 0 8 0 syncache 272 6 0 6 2 2 0 1 0 8 0 tcpqe 32 269 0 269 1 1 0 1 0 8 0 tcpcb 592 144 0 138 5 3 2 2 0 8 1 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 1 1 0 1 1 0 8 0 inpcb 296 1683 0 1674 3 1 2 2 0 8 1 nd6 48 17 0 11 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 1 0 1 0 8 0 pfstscr 40 4 0 2 1 0 1 1 0 8 0 pfrktable 1344 88 0 76 2 0 2 2 0 8 1 pftag 88 14 0 10 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 4 0 2 1 0 1 1 0 8 0 pfstate 328 2 0 1 1 0 1 1 0 8 0 pfrule 1360 30 0 14 2 0 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 346 0 147 14 0 14 14 0 8 0 art_table 32 348 0 147 2 0 2 2 0 8 0 art_node 16 89 0 58 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 1 0 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 178 0 168 1 0 1 1 0 8 0 shmpl 112 17 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2110 0 716 88 0 88 88 0 8 0 ffsino 240 2110 0 716 83 0 83 83 0 8 0 nchpl 144 3078 0 1490 60 0 60 60 0 8 0 uvmvnodes 72 2354 0 0 43 0 43 43 0 8 0 vnodes 208 2354 0 0 124 0 124 124 0 8 0 namei 1024 8451 0 8451 2 1 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 4 0 2 2 1 1 1 0 8 0 pfiaddrpl 120 38 0 30 1 0 1 1 0 8 0 scxspl 200 10353 0 10353 1 0 1 1 0 8 1 plimitpl 152 56 0 49 1 0 1 1 0 8 0 sigapl 424 765 0 736 4 0 4 4 0 8 0 futexpl 56 12634 0 12634 2 1 1 1 0 8 1 knotepl 112 118 0 98 1 0 1 1 0 8 0 kqueuepl 152 86 0 84 1 0 1 1 0 8 0 pipepl 272 139 0 128 2 1 1 2 0 8 0 fdescpl 432 750 0 736 2 0 2 2 0 8 0 filepl 120 5661 0 5562 4 0 4 4 0 8 0 lockfpl 104 89 0 88 1 0 1 1 0 8 0 lockfspl 48 36 0 35 1 0 1 1 0 8 0 sessionpl 120 19 0 9 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 472 0 465 1 0 1 1 0 8 0 zombiepl 144 736 0 735 1 0 1 1 0 8 0 processpl 944 765 0 735 4 0 4 4 0 8 0 procpl 632 1379 0 1342 4 0 4 4 0 8 0 sosppl 144 2 0 2 1 1 0 1 0 8 0 sockpl 400 2724 0 2705 6 2 4 4 0 8 1 mcl64k 65536 274 0 274 35 7 28 33 0 8 28 mcl16k 16384 4 0 4 2 2 0 1 0 8 0 mcl12k 12288 15 0 15 2 1 1 1 0 8 1 mcl9k 9216 14 0 14 2 1 1 1 0 8 1 mcl8k 8192 21 0 21 2 1 1 1 0 8 1 mcl4k 4096 38 0 38 3 2 1 1 0 8 1 mcl2k2 2112 3 0 3 3 2 1 1 0 8 1 mcl2k 2048 96515 0 96462 20 12 8 16 0 8 0 mtagpl 96 43 0 13 2 1 1 1 0 8 0 mbufpl 256 156712 0 156536 36 15 21 27 0 8 8 bufpl 280 5179 0 116 362 0 362 362 0 8 0 anonpl 16 104428 0 86469 103 14 89 92 0 107 9 amapchunkpl 152 5096 0 4910 29 19 10 22 0 158 2 amappl16 192 4365 0 3332 74 14 60 64 0 8 8 amappl15 184 10 0 8 1 0 1 1 0 8 0 amappl14 176 46 0 44 2 1 1 1 0 8 0 amappl13 168 56 0 51 1 0 1 1 0 8 0 amappl12 160 23 0 20 1 0 1 1 0 8 0 amappl11 152 98 0 89 1 0 1 1 0 8 0 amappl10 144 488 0 481 1 0 1 1 0 8 0 amappl9 136 361 0 360 1 0 1 1 0 8 0 amappl8 128 349 0 316 2 0 2 2 0 8 0 amappl7 120 582 0 568 1 0 1 1 0 8 0 amappl6 112 28 0 22 1 0 1 1 0 8 0 amappl5 104 638 0 625 1 0 1 1 0 8 0 amappl4 96 501 0 472 1 0 1 1 0 8 0 amappl3 88 186 0 178 1 0 1 1 0 8 0 amappl2 80 5045 0 4979 2 0 2 2 0 8 0 amappl1 72 25994 0 25581 26 17 9 17 0 8 0 amappl 80 1678 0 1624 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 19 0 0 1 0 1 1 0 8 0 uaddrrnd 24 754 0 738 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 754 0 738 1 0 1 1 0 8 0 vmmpekpl 168 8115 0 8090 2 0 2 2 0 8 0 vmmpepl 168 99685 0 97540 145 35 110 132 0 357 16 vmsppl 272 753 0 738 3 1 2 2 0 8 0 pdppl 4096 1514 0 1478 7 2 5 6 0 8 0 pvpl 32 281800 0 261114 220 14 206 212 0 265 25 pmappl 200 753 0 738 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 314 0 50 8 0 8 8 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(ffffffff824168c8) at panic+0x164 sys/kern/subr_prf.c:218 sbdrop(fffffd805da6e008,fffffd805da6e100,5a8) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d676a18,ffff80001d676a24,6,2) at tcp_input+0x38ec sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d676a18,ffff80001d676a24,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d676a18,ffff80001d676a24,0,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d676a18,ffff80001d676a24,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80585ac700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 if_input_process(ffff80000017a2a8,ffff80001d676ab8) at if_input_process+0xda sys/net/if.c:832 ifiq_process(ffff80000017a698) at ifiq_process+0x80 sys/net/ifq.c:768 taskq_thread(ffff80000002b080) at taskq_thread+0xa0 sys/kern/kern_task.c:449 end trace frame: 0x0, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff824168c8) at panic+0x164 sys/kern/subr_prf.c:218 sbdrop(fffffd805da6e008,fffffd805da6e100,5a8) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d676a18,ffff80001d676a24,6,2) at tcp_input+0x38ec sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d676a18,ffff80001d676a24,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d676a18,ffff80001d676a24,0,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d676a18,ffff80001d676a24,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80585ac700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 if_input_process(ffff80000017a2a8,ffff80001d676ab8) at if_input_process+0xda sys/net/if.c:832 ifiq_process(ffff80000017a698) at ifiq_process+0x80 sys/net/ifq.c:768 taskq_thread(ffff80000002b080) at taskq_thread+0xa0 sys/kern/kern_task.c:449 end trace frame: 0x0, count: -11