panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *430677 27427 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8240a436) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805da68198,fffffd805da68290,4b4) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6786b8,ffff80001d6786c4,6,2) at tcp_input+0x38ec sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6786b8,ffff80001d6786c4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6786b8,ffff80001d6786c4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6786b8,ffff80001d6786c4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80587c3900) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd80587c3900,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6787c8) at if_input_process+0xf8 if_ih_input sys/net/if.c:902 [inline] if_input_process(ffff80000017a2a8,ffff80001d6787c8) at if_input_process+0xf8 sys/net/if.c:936 ifiq_process(ffff80000017a668) at ifiq_process+0x80 sys/net/ifq.c:768 taskq_thread(ffff80000002b080) at taskq_thread+0x92 sys/kern/kern_task.c:438 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(ffffffff8240a436) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805da68198,fffffd805da68290,4b4) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6786b8,ffff80001d6786c4,6,2) at tcp_input+0x38ec sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6786b8,ffff80001d6786c4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6786b8,ffff80001d6786c4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6786b8,ffff80001d6786c4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80587c3900) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd80587c3900,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6787c8) at if_input_process+0xf8 if_ih_input sys/net/if.c:902 [inline] if_input_process(ffff80000017a2a8,ffff80001d6787c8) at if_input_process+0xf8 sys/net/if.c:936 ifiq_process(ffff80000017a668) at ifiq_process+0x80 sys/net/ifq.c:768 taskq_thread(ffff80000002b080) at taskq_thread+0x92 sys/kern/kern_task.c:438 end trace frame: 0x0, count: -12 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d678240 rbx 0xffff80001d6782f0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff810c775f kprintf+0x15f r9 0x1 r10 0x2 r11 0x6f2d4d8b83b01ce r12 0x3000000008 r13 0xffff80001d678250 r14 0x100 r15 0x1 rip 0xffffffff8211f228 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d678230 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=430677 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d651750,0xffff80001d651010 process=0xffff8000fffff220 user=0xffff80001d673000, vmspace=0xffffffff8284b208 estcpu=0, cpticks=1, pctcpu=0.46 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 88870 87276 7449 0 3 0x80 nanosleep syz-executor.0 88870 461466 7449 0 3 0x4000080 netcon syz-executor.0 88870 491676 7449 0 3 0x4000080 fsleep syz-executor.0 10966 89320 0 0 3 0x14200 bored sosplice 83710 522850 59665 0 3 0x82 piperd syz-executor.1 7449 335603 59665 0 3 0x82 nanosleep syz-executor.0 59665 249789 90372 0 3 0x82 kqread syz-fuzzer 59665 47689 90372 0 3 0x4000082 thrsleep syz-fuzzer 59665 194868 90372 0 3 0x4000082 thrsleep syz-fuzzer 59665 371194 90372 0 3 0x4000082 thrsleep syz-fuzzer 59665 35526 90372 0 3 0x4000082 thrsleep syz-fuzzer 59665 324437 90372 0 3 0x4000082 thrsleep syz-fuzzer 59665 165808 90372 0 3 0x4000082 thrsleep syz-fuzzer 90372 14938 93778 0 3 0x10008a pause ksh 93778 457005 87516 0 3 0x92 select sshd 71079 427739 1 0 3 0x100083 ttyin getty 87516 186119 1 0 3 0x80 select sshd 41293 57761 69550 73 3 0x100090 kqread syslogd 69550 273970 1 0 3 0x100082 netio syslogd 4848 65363 1 77 3 0x100090 poll dhclient 60145 160095 1 0 3 0x80 poll dhclient 20866 64996 0 0 3 0x14200 bored smr 60302 93305 0 0 3 0x14200 pgzero zerothread 19948 46265 0 0 3 0x14200 aiodoned aiodoned 3905 194190 0 0 3 0x14200 syncer update 77732 353745 0 0 3 0x14200 cleaner cleaner 14870 492327 0 0 3 0x14200 reaper reaper 47234 296479 0 0 3 0x14200 pgdaemon pagedaemon 98746 93271 0 0 3 0x14200 bored crynlk 39790 370234 0 0 3 0x14200 bored crypto 10640 489627 0 0 3 0x40014200 acpi0 acpi0 *27427 430677 0 0 7 0x14200 softnet 27842 329898 0 0 3 0x14200 bored systqmp 24109 430452 0 0 3 0x14200 bored systq 71247 444108 0 0 3 0x40014200 bored softclock 61987 509721 0 0 3 0x40014200 idle0 1 83450 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 9474 6333K 6653K 78643K 10775 0 pcb 13 8K 8K 78643K 36 0 rtable 114 4K 6K 78643K 258 0 ifaddr 64 14K 14K 78643K 89 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 4K 78643K 33 0 iov 0 0K 12K 78643K 30 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1268 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 12 0K 0K 78643K 24 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 163 0 sigio 0 0K 0K 78643K 8 0 proc 48 38K 63K 78643K 371 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 10 0 in_multi 59 3K 3K 78643K 83 0 ether_multi 1 0K 0K 78643K 5 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 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 196 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 121 38K 59K 78643K 1217 0 UVM aobj 3 2K 2K 78643K 5 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 115 0 NDP 8 0K 0K 78643K 16 0 temp 84 3859K 3934K 78643K 4499 0 kqueue 3 4K 8K 78643K 10 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 25 0 23 1 0 1 1 0 8 0 rtentry 112 51 0 6 2 0 2 2 0 8 0 unpcb 120 85 0 77 1 0 1 1 0 8 0 syncache 264 6 0 6 2 1 1 1 0 8 1 tcpqe 32 160 0 160 1 0 1 1 0 8 1 tcpcb 544 180 0 174 1 0 1 1 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 2 0 2 1 0 1 1 0 8 1 inpcb 296 295 0 286 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 10 0 4 1 0 1 1 0 8 0 pfrktable 1344 20 0 17 1 0 1 1 0 8 0 pftag 88 3 0 2 1 0 1 1 0 8 0 pfrule 1360 6 0 4 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 194 0 0 13 0 13 13 0 8 0 art_table 32 196 0 0 2 0 2 2 0 8 0 art_node 16 50 0 9 1 0 1 1 0 8 0 semapl 112 18 0 8 1 0 1 1 0 8 0 shmpl 112 2 0 2 1 0 1 1 0 8 1 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1590 0 191 88 0 88 88 0 8 0 ffsino 240 1590 0 191 83 0 83 83 0 8 0 nchpl 144 2041 0 452 60 0 60 60 0 8 0 uvmvnodes 72 1672 0 0 31 0 31 31 0 8 0 vnodes 208 1672 0 0 88 0 88 88 0 8 0 namei 1024 5470 0 5470 1 0 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 4 0 2 1 0 1 1 0 8 0 pfiaddrpl 120 6 0 4 1 0 1 1 0 8 0 scxspl 192 5975 0 5975 1 0 1 1 0 8 1 plimitpl 152 28 0 21 1 0 1 1 0 8 0 sigapl 424 350 0 321 4 0 4 4 0 8 0 futexpl 56 3022 0 3021 1 0 1 1 0 8 0 knotepl 112 73 0 54 1 0 1 1 0 8 0 kqueuepl 144 18 0 16 1 0 1 1 0 8 0 pipepl 272 92 0 82 1 0 1 1 0 8 0 fdescpl 432 335 0 321 2 0 2 2 0 8 0 filepl 120 2032 0 1934 4 0 4 4 0 8 1 lockfpl 104 47 0 46 1 0 1 1 0 8 0 lockfspl 48 15 0 14 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 156 0 149 1 0 1 1 0 8 0 zombiepl 144 321 0 321 1 0 1 1 0 8 1 processpl 928 350 0 321 4 0 4 4 0 8 0 procpl 624 512 0 475 4 0 4 4 0 8 1 sosppl 128 2 0 2 1 0 1 1 0 8 1 sockpl 400 408 0 389 3 0 3 3 0 8 1 mcl64k 65536 14 0 14 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 4 0 4 1 0 1 1 0 8 1 mcl9k 9216 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 7 0 7 1 0 1 1 0 8 1 mcl4k 4096 17 0 17 1 0 1 1 0 8 1 mcl2k 2048 77300 0 77250 19 4 15 18 0 8 8 mtagpl 96 20 0 2 2 1 1 1 0 8 0 mbufpl 256 123193 0 123043 13 1 12 12 0 8 1 bufpl 280 3676 0 126 254 0 254 254 0 8 0 anonpl 16 45237 0 29529 66 2 64 64 0 107 0 amapchunkpl 152 2505 0 2377 19 0 19 19 0 158 13 amappl16 192 1575 0 690 46 0 46 46 0 8 1 amappl15 184 2 0 1 1 0 1 1 0 8 0 amappl14 176 32 0 25 1 0 1 1 0 8 0 amappl13 168 27 0 24 1 0 1 1 0 8 0 amappl12 160 8 0 6 1 0 1 1 0 8 0 amappl11 152 45 0 36 1 0 1 1 0 8 0 amappl10 144 16 0 10 1 0 1 1 0 8 0 amappl9 136 504 0 500 1 0 1 1 0 8 0 amappl8 128 379 0 338 2 0 2 2 0 8 0 amappl7 120 106 0 94 1 0 1 1 0 8 0 amappl6 112 30 0 21 1 0 1 1 0 8 0 amappl5 104 273 0 263 1 0 1 1 0 8 0 amappl4 96 418 0 394 1 0 1 1 0 8 0 amappl3 88 110 0 105 1 0 1 1 0 8 0 amappl2 80 1859 0 1791 2 0 2 2 0 8 0 amappl1 72 15469 0 15051 22 9 13 17 0 8 4 amappl 80 742 0 701 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 4 0 2 1 0 1 1 0 8 0 uaddrrnd 24 339 0 323 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 339 0 323 1 0 1 1 0 8 0 vmmpekpl 168 6338 0 6310 2 0 2 2 0 8 0 vmmpepl 168 47270 0 45284 119 4 115 115 0 357 27 vmsppl 272 338 0 323 2 0 2 2 0 8 1 pdppl 4096 684 0 648 6 0 6 6 0 8 1 pvpl 32 151254 0 132572 157 0 157 157 0 265 5 pmappl 200 338 0 323 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 246 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(ffffffff8240a436) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805da68198,fffffd805da68290,4b4) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6786b8,ffff80001d6786c4,6,2) at tcp_input+0x38ec sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6786b8,ffff80001d6786c4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6786b8,ffff80001d6786c4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6786b8,ffff80001d6786c4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80587c3900) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd80587c3900,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6787c8) at if_input_process+0xf8 if_ih_input sys/net/if.c:902 [inline] if_input_process(ffff80000017a2a8,ffff80001d6787c8) at if_input_process+0xf8 sys/net/if.c:936 ifiq_process(ffff80000017a668) at ifiq_process+0x80 sys/net/ifq.c:768 taskq_thread(ffff80000002b080) at taskq_thread+0x92 sys/kern/kern_task.c:438 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(ffffffff8240a436) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805da68198,fffffd805da68290,4b4) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6786b8,ffff80001d6786c4,6,2) at tcp_input+0x38ec sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6786b8,ffff80001d6786c4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6786b8,ffff80001d6786c4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6786b8,ffff80001d6786c4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80587c3900) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd80587c3900,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6787c8) at if_input_process+0xf8 if_ih_input sys/net/if.c:902 [inline] if_input_process(ffff80000017a2a8,ffff80001d6787c8) at if_input_process+0xf8 sys/net/if.c:936 ifiq_process(ffff80000017a668) at ifiq_process+0x80 sys/net/ifq.c:768 taskq_thread(ffff80000002b080) at taskq_thread+0x92 sys/kern/kern_task.c:438 end trace frame: 0x0, count: -12