panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *482320 36612 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82200e39) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dac5328,fffffd805dac5420,244) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f81f8,ffff80001d6f8204,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f81f8,ffff80001d6f8204,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f81f8,ffff80001d6f8204,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f81f8,ffff80001d6f8204,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805a3d8c00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805a3d8c00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f8308) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f8308) at if_input_process+0xf8 sys/net/if.c:942 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(ffffffff82200e39) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dac5328,fffffd805dac5420,244) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f81f8,ffff80001d6f8204,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f81f8,ffff80001d6f8204,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f81f8,ffff80001d6f8204,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f81f8,ffff80001d6f8204,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805a3d8c00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805a3d8c00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f8308) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f8308) at if_input_process+0xf8 sys/net/if.c:942 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 0xffff80001d6f7d80 rbx 0xffff80001d6f7e30 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8185100f kprintf+0x15f r9 0x1 r10 0x2 r11 0x765d86a7cb8b265b r12 0x3000000008 r13 0xffff80001d6f7d90 r14 0x100 r15 0x1 rip 0xffffffff81666fb8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6f7d70 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=482320 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6d1750,0xffff80001d6d1010 process=0xffff8000ffffe000 user=0xffff80001d6f3000, vmspace=0xffffffff825e54e0 estcpu=0, cpticks=0, pctcpu=0.56 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 64210 73608 957 0 3 0x82 piperd syz-executor.0 64892 383889 957 0 3 0x82 nanosleep syz-executor.1 957 219727 88267 0 3 0x82 kqread syz-fuzzer 957 300769 88267 0 3 0x4000082 thrsleep syz-fuzzer 957 175657 88267 0 3 0x4000082 thrsleep syz-fuzzer 957 480736 88267 0 3 0x4000082 thrsleep syz-fuzzer 957 437046 88267 0 3 0x4000082 thrsleep syz-fuzzer 957 219255 88267 0 3 0x4000082 thrsleep syz-fuzzer 957 495774 88267 0 3 0x4000082 thrsleep syz-fuzzer 957 82032 88267 0 3 0x4000082 thrsleep syz-fuzzer 88267 85441 49095 0 3 0x10008a pause ksh 49095 271334 24429 0 3 0x92 select sshd 65632 510909 1 0 3 0x100083 ttyopn getty 24429 70782 1 0 3 0x80 select sshd 10408 210837 67863 73 3 0x100090 kqread syslogd 67863 516078 1 0 3 0x100082 netio syslogd 63979 224021 1 77 3 0x100090 poll dhclient 80327 222975 1 0 3 0x80 poll dhclient 66072 349939 0 0 3 0x14200 bored smr 56755 126767 0 0 3 0x14200 pgzero zerothread 72800 439320 0 0 3 0x14200 aiodoned aiodoned 69044 439386 0 0 3 0x14200 syncer update 5461 449659 0 0 3 0x14200 cleaner cleaner 29234 335580 0 0 3 0x14200 reaper reaper 47815 167070 0 0 3 0x14200 pgdaemon pagedaemon 78376 8573 0 0 3 0x14200 bored crynlk 74580 233526 0 0 3 0x14200 bored crypto 78216 98677 0 0 3 0x40014200 acpi0 acpi0 *36612 482320 0 0 7 0x14200 softnet 81418 376173 0 0 3 0x14200 bored systqmp 90140 501513 0 0 3 0x14200 bored systq 51606 219665 0 0 3 0x40014200 bored softclock 30846 153421 0 0 3 0x40014200 idle0 1 150378 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 9469 6332K 6518K 78643K 10649 0 pcb 13 8K 8K 78643K 37 0 rtable 108 3K 6K 78643K 254 0 ifaddr 53 11K 12K 78643K 81 0 counters 22 16K 16K 78643K 26 0 ioctlops 0 0K 4K 78643K 25 0 iov 0 0K 12K 78643K 6 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1251 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 7 0K 0K 78643K 10 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 72 0 proc 47 38K 54K 78643K 358 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 mrt 0 0K 0K 78643K 3 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 185 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 120 38K 38K 78643K 1043 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 8 0K 0K 78643K 16 0 temp 77 3028K 3092K 78643K 1902 0 kqueue 3 4K 9K 78643K 9 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 47 0 45 1 0 1 1 0 8 0 rtentry 112 46 0 2 2 0 2 2 0 8 0 unpcb 120 45 0 37 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 309 0 309 1 1 0 1 0 8 0 tcpcb 544 22 0 17 1 0 1 1 0 8 0 inpcb 280 79 0 70 1 0 1 1 0 8 0 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 6 0 0 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 0 1 1 0 8 1 pfrktable 1344 14 0 14 1 0 1 1 0 8 1 pfrule 1360 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 187 0 0 12 0 12 12 0 8 0 art_table 32 188 0 0 2 0 2 2 0 8 0 art_node 16 45 0 5 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semapl 112 6 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1484 0 86 88 0 88 88 0 8 0 ffsino 240 1484 0 86 83 0 83 83 0 8 0 nchpl 144 1757 0 154 60 0 60 60 0 8 0 uvmvnodes 72 1542 0 0 29 0 29 29 0 8 0 vnodes 208 1542 0 0 82 0 82 82 0 8 0 namei 1024 4342 0 4342 1 0 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 2 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 4 0 4 1 0 1 1 0 8 1 scxspl 192 4492 0 4492 1 0 1 1 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 424 258 0 230 4 0 4 4 0 8 0 futexpl 56 879 0 879 1 0 1 1 0 8 1 knotepl 112 67 0 48 1 0 1 1 0 8 0 kqueuepl 144 6 0 4 1 0 1 1 0 8 0 pipelkpl 16 74 0 64 1 0 1 1 0 8 0 pipepl 120 148 0 129 1 0 1 1 0 8 0 fdescpl 432 244 0 230 2 0 2 2 0 8 0 filepl 120 1277 0 1178 4 0 4 4 0 8 0 lockfpl 104 15 0 14 1 0 1 1 0 8 0 lockfspl 48 6 0 5 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 68 0 61 1 0 1 1 0 8 0 zombiepl 144 231 0 230 1 0 1 1 0 8 0 processpl 920 258 0 230 4 0 4 4 0 8 0 procpl 624 317 0 282 4 0 4 4 0 8 1 sockpl 400 171 0 152 3 0 3 3 0 8 0 mcl64k 65536 5 0 5 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 11 0 11 2 1 1 1 0 8 1 mcl2k 2048 74138 0 74079 22 6 16 19 0 8 8 mtagpl 80 5 0 2 2 1 1 1 0 8 0 mbufpl 256 117835 0 117743 15 4 11 11 0 8 0 bufpl 280 3261 0 125 224 0 224 224 0 8 0 anonpl 16 45170 0 28887 70 1 69 69 0 107 0 amapchunkpl 152 1537 0 1404 8 0 8 8 0 158 2 amappl16 192 1167 0 223 48 0 48 48 0 8 0 amappl15 184 40 0 36 1 0 1 1 0 8 0 amappl14 176 25 0 18 1 0 1 1 0 8 0 amappl13 168 27 0 24 1 0 1 1 0 8 0 amappl12 160 9 0 8 1 0 1 1 0 8 0 amappl11 152 85 0 73 1 0 1 1 0 8 0 amappl10 144 13 0 10 1 0 1 1 0 8 0 amappl9 136 371 0 370 1 0 1 1 0 8 0 amappl8 128 312 0 275 2 0 2 2 0 8 0 amappl7 120 106 0 94 1 0 1 1 0 8 0 amappl6 112 54 0 42 1 0 1 1 0 8 0 amappl5 104 163 0 152 1 0 1 1 0 8 0 amappl4 96 441 0 416 1 0 1 1 0 8 0 amappl3 88 101 0 94 1 0 1 1 0 8 0 amappl2 80 1143 0 1073 2 0 2 2 0 8 0 amappl1 72 14249 0 13827 24 12 12 17 0 8 3 amappl 80 578 0 535 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 246 0 230 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 246 0 230 1 0 1 1 0 8 0 vmmpekpl 168 5872 0 5843 2 0 2 2 0 8 0 vmmpepl 168 36811 0 34777 112 8 104 104 0 357 15 vmsppl 272 245 0 230 2 0 2 2 0 8 0 pdppl 4096 498 0 462 6 0 6 6 0 8 1 pvpl 32 140474 0 121221 164 0 164 164 0 265 2 pmappl 200 245 0 230 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 248 0 13 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(ffffffff82200e39) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dac5328,fffffd805dac5420,244) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f81f8,ffff80001d6f8204,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f81f8,ffff80001d6f8204,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f81f8,ffff80001d6f8204,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f81f8,ffff80001d6f8204,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805a3d8c00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805a3d8c00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f8308) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f8308) at if_input_process+0xf8 sys/net/if.c:942 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(ffffffff82200e39) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dac5328,fffffd805dac5420,244) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f81f8,ffff80001d6f8204,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f81f8,ffff80001d6f8204,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f81f8,ffff80001d6f8204,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f81f8,ffff80001d6f8204,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805a3d8c00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805a3d8c00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f8308) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f8308) at if_input_process+0xf8 sys/net/if.c:942 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