panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *468758 4780 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821f7cdb) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacc198,fffffd805dacc290,35c) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708c88,ffff80001d708c94,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708c88,ffff80001d708c94,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708c88,ffff80001d708c94,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708c88,ffff80001d708c94,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd8054174200) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd8054174200,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708d98) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708d98) 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(ffffffff821f7cdb) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacc198,fffffd805dacc290,35c) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708c88,ffff80001d708c94,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708c88,ffff80001d708c94,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708c88,ffff80001d708c94,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708c88,ffff80001d708c94,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd8054174200) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd8054174200,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708d98) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708d98) 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 0xffff80001d708810 rbx 0xffff80001d7088c0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d7087d0 r9 0x1 r10 0 r11 0x373a1d3c83c84a2f r12 0x3000000008 r13 0xffff80001d708820 r14 0x100 r15 0x1 rip 0xffffffff81664c08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d708800 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=468758 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6e1270,0xffff80001d6e1760 process=0xffff8000fffff1f8 user=0xffff80001d703000, vmspace=0xffffffff8257e4a0 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 97004 407285 48341 0 3 0x80 nanosleep syz-executor.0 97004 314779 48341 0 3 0x4000080 piperd syz-executor.0 97004 172028 48341 0 3 0x4000080 fsleep syz-executor.0 44812 388172 12796 0 3 0x80 nanosleep syz-executor.1 44812 257009 12796 0 3 0x4000080 piperd syz-executor.1 44812 284478 12796 0 3 0x4000080 fsleep syz-executor.1 12796 293456 69875 0 3 0x82 nanosleep syz-executor.1 15940 64304 0 0 3 0x14200 bored sosplice 48341 24379 69875 0 3 0x82 nanosleep syz-executor.0 69875 5540 73844 0 3 0x82 thrsleep syz-fuzzer 69875 122255 73844 0 3 0x4000082 thrsleep syz-fuzzer 69875 269351 73844 0 3 0x4000082 kqread syz-fuzzer 69875 357679 73844 0 3 0x4000082 thrsleep syz-fuzzer 69875 258642 73844 0 3 0x4000082 thrsleep syz-fuzzer 69875 136945 73844 0 3 0x4000082 thrsleep syz-fuzzer 69875 115814 73844 0 3 0x4000082 thrsleep syz-fuzzer 69875 459825 73844 0 3 0x4000082 thrsleep syz-fuzzer 73844 432240 45492 0 3 0x10008a pause ksh 45492 144746 80303 0 3 0x92 select sshd 65783 237435 1 0 3 0x100083 ttyin getty 80303 447104 1 0 3 0x80 select sshd 27212 98950 61363 73 3 0x100090 kqread syslogd 61363 95675 1 0 3 0x100082 netio syslogd 54959 67842 1 77 3 0x100090 poll dhclient 46730 430951 1 0 3 0x80 poll dhclient 32380 391450 0 0 3 0x14200 bored smr 30052 185361 0 0 3 0x14200 pgzero zerothread 82352 17953 0 0 3 0x14200 aiodoned aiodoned 22119 223359 0 0 3 0x14200 syncer update 5716 327801 0 0 3 0x14200 cleaner cleaner 32193 254471 0 0 3 0x14200 reaper reaper 53794 310371 0 0 3 0x14200 pgdaemon pagedaemon 6108 227908 0 0 3 0x14200 bored crynlk 60173 253600 0 0 3 0x14200 bored crypto 87197 421811 0 0 3 0x40014200 acpi0 acpi0 * 4780 468758 0 0 7 0x14200 softnet 94955 457298 0 0 3 0x14200 bored systqmp 92959 216867 0 0 3 0x14200 bored systq 88055 260397 0 0 3 0x40014200 bored softclock 17210 358243 0 0 3 0x40014200 idle0 1 424823 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 9506 6352K 6867K 78643K 11320 0 pcb 13 8K 8K 78643K 95 0 rtable 121 4K 4K 78643K 387 0 ifaddr 80 16K 16K 78643K 160 0 counters 21 16K 16K 78643K 32 0 ioctlops 0 0K 2K 78643K 51 0 iov 0 0K 16K 78643K 73 0 mount 1 1K 1K 78643K 1 0 vnodes 1237 78K 78K 78643K 1468 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 55 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 7 21K 25K 78643K 429 0 sigio 0 0K 0K 78643K 2 0 proc 50 38K 55K 78643K 433 0 subproc 47 2K 3K 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 31 0 in_multi 68 3K 3K 78643K 106 0 ether_multi 1 0K 0K 78643K 13 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 67 307K 307K 78643K 67 0 exec 0 0K 1K 78643K 223 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 136 112K 112K 78643K 2660 0 UVM aobj 20 4K 4K 78643K 22 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 62 0 NDP 12 0K 0K 78643K 29 0 temp 118 3036K 3100K 78643K 15172 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 12 0 4 1 0 1 1 0 8 0 rtpcb 80 45 0 43 1 0 1 1 0 8 0 rtentry 112 71 0 22 2 0 2 2 0 8 0 unpcb 120 281 0 272 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 221 0 221 1 1 0 1 0 8 0 tcpcb 544 122 0 118 1 0 1 1 0 8 0 ipq 40 3 0 3 2 2 0 1 0 8 0 ipqe 40 7 0 7 2 2 0 1 0 8 0 inpcb 280 473 0 462 5 3 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 11 0 4 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 293 0 68 18 3 15 15 0 8 0 art_table 32 294 0 68 2 0 2 2 0 8 0 art_node 16 70 0 25 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 4 1 0 1 1 0 8 0 semapl 112 53 0 43 1 0 1 1 0 8 0 shmpl 112 20 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1966 0 567 88 0 88 88 0 8 0 ffsino 240 1966 0 567 83 0 83 83 0 8 0 nchpl 144 2762 0 1174 60 0 60 60 0 8 0 uvmvnodes 72 2197 0 0 40 0 40 40 0 8 0 vnodes 208 2197 0 0 116 0 116 116 0 8 0 namei 1024 7342 0 7342 3 2 1 1 0 8 1 vcpupl 1984 8 0 0 1 0 1 1 0 8 0 vmpool 528 9 0 1 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 7534 0 7534 3 2 1 1 0 8 1 plimitpl 152 55 0 47 1 0 1 1 0 8 0 sigapl 424 613 0 582 4 0 4 4 0 8 0 futexpl 56 8293 0 8291 2 1 1 1 0 8 0 knotepl 112 113 0 94 1 0 1 1 0 8 0 kqueuepl 144 88 0 84 1 0 1 1 0 8 0 pipelkpl 16 830 0 818 1 0 1 1 0 8 0 pipepl 120 1660 0 1637 5 3 2 2 0 8 0 fdescpl 432 598 0 582 2 0 2 2 0 8 0 filepl 120 4688 0 4562 5 0 5 5 0 8 1 lockfpl 104 108 0 107 1 0 1 1 0 8 0 lockfspl 48 44 0 43 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 26 0 15 1 0 1 1 0 8 0 ucredpl 96 360 0 353 1 0 1 1 0 8 0 zombiepl 144 583 0 582 2 1 1 1 0 8 0 processpl 920 613 0 582 5 1 4 5 0 8 0 procpl 624 1922 0 1880 8 4 4 5 0 8 0 sosppl 128 10 0 10 5 4 1 1 0 8 1 sockpl 400 800 0 778 7 3 4 4 0 8 1 mcl64k 65536 35 0 35 5 4 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 10 0 10 3 3 0 1 0 8 0 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 10 0 10 4 4 0 1 0 8 0 mcl4k 4096 41 0 41 5 4 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 61380 0 61318 22 13 9 18 0 8 0 mtagpl 80 48 0 14 2 1 1 1 0 8 0 mbufpl 256 100949 0 100770 26 13 13 15 0 8 0 bufpl 280 4013 0 126 278 0 278 278 0 8 0 anonpl 16 72108 0 58709 76 4 72 72 0 107 13 amapchunkpl 152 4110 0 3978 9 2 7 7 0 158 1 amappl16 192 2862 0 2061 56 7 49 54 0 8 8 amappl15 184 186 0 183 1 0 1 1 0 8 0 amappl14 176 27 0 21 1 0 1 1 0 8 0 amappl13 168 123 0 120 1 0 1 1 0 8 0 amappl12 160 18 0 13 2 1 1 1 0 8 0 amappl11 152 152 0 142 1 0 1 1 0 8 0 amappl10 144 21 0 13 1 0 1 1 0 8 0 amappl9 136 368 0 367 1 0 1 1 0 8 0 amappl8 128 361 0 321 2 0 2 2 0 8 0 amappl7 120 112 0 99 1 0 1 1 0 8 0 amappl6 112 127 0 123 1 0 1 1 0 8 0 amappl5 104 542 0 527 1 0 1 1 0 8 0 amappl4 96 529 0 501 1 0 1 1 0 8 0 amappl3 88 111 0 106 1 0 1 1 0 8 0 amappl2 80 4078 0 3991 2 0 2 2 0 8 0 amappl1 72 22182 0 21728 23 13 10 17 0 8 0 amappl 80 2143 0 2092 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 21 0 2 1 0 1 1 0 8 0 uaddrrnd 24 607 0 583 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 607 0 583 1 0 1 1 0 8 0 vmmpekpl 168 12471 0 12440 3 1 2 2 0 8 0 vmmpepl 168 79913 0 77784 161 56 105 121 0 357 12 vmsppl 272 606 0 583 3 1 2 2 0 8 0 pdppl 4096 1220 0 1174 7 1 6 6 0 8 0 pvpl 32 225040 0 208534 190 10 180 180 0 265 41 pmappl 200 606 0 583 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 287 0 55 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(ffffffff821f7cdb) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacc198,fffffd805dacc290,35c) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708c88,ffff80001d708c94,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708c88,ffff80001d708c94,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708c88,ffff80001d708c94,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708c88,ffff80001d708c94,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd8054174200) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd8054174200,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708d98) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708d98) 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(ffffffff821f7cdb) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacc198,fffffd805dacc290,35c) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708c88,ffff80001d708c94,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708c88,ffff80001d708c94,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708c88,ffff80001d708c94,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708c88,ffff80001d708c94,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd8054174200) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd8054174200,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708d98) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708d98) 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