panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 41292 62550 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821fc6dd) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805daba008,fffffd805daba100,34c) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708178,ffff80001d708184,6,2) at tcp_input+0x477a sys/netinet/tcp_input.c:957 ip_deliver(ffff80001d708178,ffff80001d708184,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708178,ffff80001d708184,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708178,ffff80001d708184,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805e26bb00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805e26bb00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708288) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708288) 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(ffffffff821fc6dd) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805daba008,fffffd805daba100,34c) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708178,ffff80001d708184,6,2) at tcp_input+0x477a sys/netinet/tcp_input.c:957 ip_deliver(ffff80001d708178,ffff80001d708184,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708178,ffff80001d708184,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708178,ffff80001d708184,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805e26bb00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805e26bb00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708288) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708288) 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 0xffff80001d707d00 rbx 0xffff80001d707db0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff813a9b8f kprintf+0x15f r9 0x1 r10 0x2 r11 0x826918f98aab57a0 r12 0x3000000008 r13 0xffff80001d707d10 r14 0x100 r15 0x1 rip 0xffffffff812792c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d707cf0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=41292 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6e2110,0xffff80001d6e1c40 process=0xffff8000ffffe730 user=0xffff80001d703000, vmspace=0xffffffff82593550 estcpu=0, cpticks=0, pctcpu=0.43 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 35649 176553 90577 0 3 0x82 piperd syz-executor.0 92798 242337 90577 0 3 0x82 nanosleep syz-executor.1 90577 81456 61398 0 3 0x82 thrsleep syz-fuzzer 90577 452407 61398 0 3 0x4000082 thrsleep syz-fuzzer 90577 385096 61398 0 3 0x4000082 thrsleep syz-fuzzer 90577 396885 61398 0 3 0x4000082 thrsleep syz-fuzzer 90577 243049 61398 0 3 0x4000082 thrsleep syz-fuzzer 90577 100279 61398 0 3 0x4000082 thrsleep syz-fuzzer 90577 189804 61398 0 3 0x4000082 thrsleep syz-fuzzer 90577 316142 61398 0 3 0x4000082 kqread syz-fuzzer 61398 191340 49731 0 3 0x10008a pause ksh 49731 46454 41100 0 3 0x92 select sshd 97975 2565 1 0 3 0x100083 ttyin getty 41100 207621 1 0 3 0x80 select sshd 78074 292178 37610 73 3 0x100090 kqread syslogd 37610 514290 1 0 3 0x100082 netio syslogd 47129 410025 1 77 3 0x100090 poll dhclient 79143 267315 1 0 3 0x80 poll dhclient 91299 365850 0 0 3 0x14200 bored smr 19622 246605 0 0 3 0x14200 pgzero zerothread 54195 65872 0 0 3 0x14200 aiodoned aiodoned 43561 295178 0 0 3 0x14200 syncer update 54562 294854 0 0 3 0x14200 cleaner cleaner 81118 66278 0 0 3 0x14200 reaper reaper 57679 355747 0 0 3 0x14200 pgdaemon pagedaemon 15284 401554 0 0 3 0x14200 bored crynlk 48499 116760 0 0 3 0x14200 bored crypto 92094 53284 0 0 3 0x40014200 acpi0 acpi0 *62550 41292 0 0 7 0x14200 softnet 74221 178482 0 0 3 0x14200 bored systqmp 80702 206998 0 0 3 0x14200 bored systq 50156 113708 0 0 3 0x40014200 bored softclock 73953 160420 0 0 3 0x40014200 idle0 1 27867 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 9450 6324K 6456K 78643K 10567 0 pcb 13 8K 8K 78643K 31 0 rtable 105 3K 3K 78643K 197 0 ifaddr 39 10K 10K 78643K 46 0 counters 21 16K 16K 78643K 22 0 ioctlops 0 0K 2K 78643K 15 0 iov 0 0K 2K 78643K 4 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1225 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 6 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 4 9K 25K 78643K 49 0 sigio 0 0K 0K 78643K 1 0 proc 48 38K 63K 78643K 362 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 4 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 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 108 22K 22K 78643K 946 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 5 0K 0K 78643K 10 0 temp 63 3032K 3096K 78643K 2444 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 19 0 17 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 27 0 19 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 172 0 172 1 0 1 1 0 8 1 tcpcb 544 16 0 12 1 0 1 1 0 8 0 inpcb 280 56 0 49 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 189 0 0 12 0 12 12 0 8 0 art_table 32 190 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 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 1439 0 41 88 0 88 88 0 8 0 ffsino 240 1439 0 41 83 0 83 83 0 8 0 nchpl 144 1687 0 85 60 0 60 60 0 8 0 uvmvnodes 72 1485 0 0 27 0 27 27 0 8 0 vnodes 208 1485 0 0 79 0 79 79 0 8 0 namei 1024 4141 0 4141 1 0 1 1 0 8 1 scxspl 192 4180 0 4180 1 0 1 1 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 424 235 0 208 4 0 4 4 0 8 0 futexpl 56 390 0 390 1 0 1 1 0 8 1 knotepl 112 61 0 42 1 0 1 1 0 8 0 kqueuepl 144 4 0 2 1 0 1 1 0 8 0 pipelkpl 16 76 0 66 1 0 1 1 0 8 0 pipepl 120 152 0 133 1 0 1 1 0 8 0 fdescpl 432 221 0 208 2 0 2 2 0 8 0 filepl 120 1113 0 1018 4 0 4 4 0 8 1 lockfpl 104 5 0 4 1 0 1 1 0 8 0 lockfspl 48 3 0 2 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 62 0 55 1 0 1 1 0 8 0 zombiepl 144 208 0 207 1 0 1 1 0 8 0 processpl 920 235 0 207 4 0 4 4 0 8 0 procpl 624 264 0 229 4 0 4 4 0 8 1 sockpl 400 102 0 85 3 0 3 3 0 8 1 mcl64k 65536 1 0 1 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 10 0 10 2 1 1 1 0 8 1 mcl2k 2048 61573 0 61522 22 6 16 18 0 8 8 mtagpl 80 4 0 2 2 1 1 1 0 8 0 mbufpl 256 98111 0 98032 12 1 11 11 0 8 2 bufpl 280 3250 0 126 224 0 224 224 0 8 0 anonpl 16 34900 0 22308 55 2 53 53 0 107 1 amapchunkpl 152 1006 0 886 7 0 7 7 0 158 1 amappl16 192 873 0 192 36 0 36 36 0 8 1 amappl15 184 9 0 6 1 0 1 1 0 8 0 amappl14 176 34 0 29 1 0 1 1 0 8 0 amappl13 168 32 0 30 1 0 1 1 0 8 0 amappl12 160 12 0 9 2 1 1 1 0 8 0 amappl11 152 44 0 35 1 0 1 1 0 8 0 amappl10 144 13 0 9 1 0 1 1 0 8 0 amappl9 136 294 0 293 1 0 1 1 0 8 0 amappl8 128 311 0 279 2 0 2 2 0 8 0 amappl7 120 108 0 95 1 0 1 1 0 8 0 amappl6 112 22 0 18 1 0 1 1 0 8 0 amappl5 104 310 0 299 1 0 1 1 0 8 0 amappl4 96 428 0 401 1 0 1 1 0 8 0 amappl3 88 109 0 102 1 0 1 1 0 8 0 amappl2 80 947 0 888 2 0 2 2 0 8 0 amappl1 72 13768 0 13369 22 6 16 17 0 8 7 amappl 80 487 0 450 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 221 0 208 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 221 0 208 1 0 1 1 0 8 0 vmmpekpl 168 5789 0 5763 2 0 2 2 0 8 0 vmmpepl 168 33799 0 32154 103 4 99 99 0 357 22 vmsppl 272 220 0 208 2 0 2 2 0 8 1 pdppl 4096 448 0 416 6 0 6 6 0 8 1 pvpl 32 126233 0 110776 134 0 134 134 0 265 4 pmappl 200 220 0 208 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 244 0 10 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(ffffffff821fc6dd) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805daba008,fffffd805daba100,34c) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708178,ffff80001d708184,6,2) at tcp_input+0x477a sys/netinet/tcp_input.c:957 ip_deliver(ffff80001d708178,ffff80001d708184,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708178,ffff80001d708184,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708178,ffff80001d708184,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805e26bb00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805e26bb00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708288) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708288) 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(ffffffff821fc6dd) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805daba008,fffffd805daba100,34c) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708178,ffff80001d708184,6,2) at tcp_input+0x477a sys/netinet/tcp_input.c:957 ip_deliver(ffff80001d708178,ffff80001d708184,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708178,ffff80001d708184,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708178,ffff80001d708184,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805e26bb00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805e26bb00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708288) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708288) 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