panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *237463 34645 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821fef1a) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacf7d8,fffffd805dacf8d0,34c) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d707fe8,ffff80001d707ff4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d707fe8,ffff80001d707ff4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d707fe8,ffff80001d707ff4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d707fe8,ffff80001d707ff4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd8066fb4a00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd8066fb4a00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7080f8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7080f8) 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(ffffffff821fef1a) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacf7d8,fffffd805dacf8d0,34c) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d707fe8,ffff80001d707ff4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d707fe8,ffff80001d707ff4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d707fe8,ffff80001d707ff4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d707fe8,ffff80001d707ff4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd8066fb4a00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd8066fb4a00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7080f8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7080f8) 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 0xffff80001d707b70 rbx 0xffff80001d707c20 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d707b30 r9 0x1 r10 0 r11 0xc6d9c3c848ca98c9 r12 0x3000000008 r13 0xffff80001d707b80 r14 0x100 r15 0x1 rip 0xffffffff82114f98 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d707b60 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=237463 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6e1000,0xffff80001d6e19d0 process=0xffff8000ffffee60 user=0xffff80001d703000, vmspace=0xffffffff8259f650 estcpu=0, cpticks=0, pctcpu=0.33 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 44092 100935 50452 0 3 0x80 nanosleep syz-executor.0 44092 14817 50452 0 3 0x4000080 netcon syz-executor.0 44092 69416 50452 0 3 0x4000080 fsleep syz-executor.0 72235 234700 0 0 3 0x14200 bored sosplice 50452 203116 14688 0 3 0x82 nanosleep syz-executor.0 73897 308174 14688 0 3 0x82 piperd syz-executor.1 14688 460101 61191 0 3 0x82 thrsleep syz-fuzzer 14688 252518 61191 0 3 0x4000082 thrsleep syz-fuzzer 14688 3613 61191 0 3 0x4000082 thrsleep syz-fuzzer 14688 472249 61191 0 3 0x4000082 thrsleep syz-fuzzer 14688 389417 61191 0 3 0x4000082 thrsleep syz-fuzzer 14688 275415 61191 0 3 0x4000082 kqread syz-fuzzer 14688 328303 61191 0 3 0x4000082 thrsleep syz-fuzzer 61191 324106 24622 0 3 0x10008a pause ksh 24622 331746 49151 0 3 0x92 select sshd 23856 15492 1 0 3 0x100083 ttyin getty 49151 29776 1 0 3 0x80 select sshd 19922 409022 97323 73 3 0x100090 kqread syslogd 97323 292511 1 0 3 0x100082 netio syslogd 19744 295203 1 77 3 0x100090 poll dhclient 61619 192851 1 0 3 0x80 poll dhclient 52636 370100 0 0 3 0x14200 bored smr 4282 482390 0 0 3 0x14200 pgzero zerothread 21381 210709 0 0 3 0x14200 aiodoned aiodoned 84338 250045 0 0 3 0x14200 syncer update 87030 339468 0 0 3 0x14200 cleaner cleaner 85385 461762 0 0 3 0x14200 reaper reaper 13875 487143 0 0 3 0x14200 pgdaemon pagedaemon 96707 265820 0 0 3 0x14200 bored crynlk 18390 501401 0 0 3 0x14200 bored crypto 56633 244137 0 0 3 0x40014200 acpi0 acpi0 *34645 237463 0 0 7 0x14200 softnet 39270 74041 0 0 3 0x14200 bored systqmp 92705 47270 0 0 3 0x14200 bored systq 77087 291915 0 0 3 0x40014200 bored softclock 65597 24413 0 0 3 0x40014200 idle0 1 47946 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 9492 6341K 6600K 78643K 10834 0 pcb 16 8K 8K 78643K 195 0 rtable 81 2K 3K 78643K 261 0 ifaddr 69 14K 14K 78643K 106 0 counters 22 16K 16K 78643K 28 0 ioctlops 0 0K 2K 78643K 21 0 iov 0 0K 16K 78643K 23 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1296 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 22 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 174 0 sigio 0 0K 0K 78643K 2 0 proc 48 38K 54K 78643K 369 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 15 0 in_multi 50 2K 2K 78643K 70 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 198 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 119 39K 39K 78643K 1236 0 UVM aobj 5 2K 2K 78643K 5 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 24 0 NDP 11 0K 0K 78643K 21 0 temp 89 3033K 3097K 78643K 4528 0 kqueue 3 4K 8K 78643K 14 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 1 1 0 1 1 0 8 0 rtpcb 80 27 0 25 1 0 1 1 0 8 0 rtentry 112 47 0 15 2 0 2 2 0 8 0 unpcb 120 135 0 127 1 0 1 1 0 8 0 syncache 264 5 0 5 2 1 1 1 0 8 1 tcpqe 32 160 0 160 1 1 0 1 0 8 0 tcpcb 544 67 0 62 1 0 1 1 0 8 0 inpcb 280 407 0 396 2 0 2 2 0 8 1 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 194 0 43 12 0 12 12 0 8 1 art_table 32 195 0 43 2 0 2 2 0 8 0 art_node 16 46 0 18 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 7 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 20 0 10 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1614 0 216 88 0 88 88 0 8 0 ffsino 240 1614 0 216 83 0 83 83 0 8 0 nchpl 144 2021 0 422 60 0 60 60 0 8 0 uvmvnodes 72 1709 0 0 32 0 32 32 0 8 0 vnodes 208 1709 0 0 90 0 90 90 0 8 0 namei 1024 5128 0 5128 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 scxspl 192 5387 0 5387 1 0 1 1 0 8 1 plimitpl 152 32 0 25 1 0 1 1 0 8 0 sigapl 424 361 0 332 4 0 4 4 0 8 0 futexpl 56 3166 0 3165 1 0 1 1 0 8 0 knotepl 112 78 0 59 1 0 1 1 0 8 0 kqueuepl 144 22 0 20 1 0 1 1 0 8 0 pipelkpl 16 96 0 86 1 0 1 1 0 8 0 pipepl 120 192 0 173 1 0 1 1 0 8 0 fdescpl 432 346 0 332 2 0 2 2 0 8 0 filepl 120 2073 0 1972 4 0 4 4 0 8 0 lockfpl 104 29 0 28 1 0 1 1 0 8 0 lockfspl 48 11 0 10 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 25 0 15 1 0 1 1 0 8 0 ucredpl 96 156 0 149 1 0 1 1 0 8 0 zombiepl 144 332 0 332 1 0 1 1 0 8 1 processpl 920 361 0 332 4 0 4 4 0 8 0 procpl 624 534 0 497 4 0 4 4 0 8 1 sosppl 128 3 0 3 1 0 1 1 0 8 1 sockpl 400 572 0 550 5 1 4 4 0 8 1 mcl64k 65536 11 0 11 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 mcl9k 9216 5 0 5 1 0 1 1 0 8 1 mcl8k 8192 2 0 2 1 0 1 1 0 8 1 mcl4k 4096 23 0 23 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 65123 0 65066 20 9 11 17 0 8 3 mtagpl 80 14 0 10 2 1 1 1 0 8 0 mbufpl 256 104540 0 104451 15 3 12 12 0 8 4 bufpl 280 3512 0 126 242 0 242 242 0 8 0 anonpl 16 43513 0 29817 57 1 56 56 0 107 0 amapchunkpl 152 1525 0 1386 8 2 6 8 0 158 0 amappl16 192 1467 0 743 37 0 37 37 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 34 0 27 1 0 1 1 0 8 0 amappl13 168 24 0 23 1 0 1 1 0 8 0 amappl12 160 11 0 8 2 1 1 1 0 8 0 amappl11 152 43 0 34 1 0 1 1 0 8 0 amappl10 144 82 0 72 1 0 1 1 0 8 0 amappl9 136 451 0 448 1 0 1 1 0 8 0 amappl8 128 404 0 358 2 0 2 2 0 8 0 amappl7 120 170 0 157 1 0 1 1 0 8 0 amappl6 112 25 0 20 1 0 1 1 0 8 0 amappl5 104 281 0 269 1 0 1 1 0 8 0 amappl4 96 418 0 392 1 0 1 1 0 8 0 amappl3 88 107 0 102 1 0 1 1 0 8 0 amappl2 80 1949 0 1882 2 0 2 2 0 8 0 amappl1 72 15621 0 15208 23 13 10 17 0 8 0 amappl 80 768 0 724 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 0 1 0 1 1 0 8 0 uaddrrnd 24 348 0 332 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 348 0 332 1 0 1 1 0 8 0 vmmpekpl 168 6329 0 6301 2 0 2 2 0 8 0 vmmpepl 168 47474 0 45634 102 6 96 98 0 357 12 vmsppl 272 347 0 332 3 1 2 2 0 8 0 pdppl 4096 702 0 666 6 1 5 6 0 8 0 pvpl 32 152263 0 135859 144 0 144 144 0 265 10 pmappl 200 347 0 332 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 249 0 18 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(ffffffff821fef1a) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacf7d8,fffffd805dacf8d0,34c) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d707fe8,ffff80001d707ff4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d707fe8,ffff80001d707ff4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d707fe8,ffff80001d707ff4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d707fe8,ffff80001d707ff4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd8066fb4a00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd8066fb4a00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7080f8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7080f8) 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(ffffffff821fef1a) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacf7d8,fffffd805dacf8d0,34c) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d707fe8,ffff80001d707ff4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d707fe8,ffff80001d707ff4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d707fe8,ffff80001d707ff4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d707fe8,ffff80001d707ff4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd8066fb4a00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd8066fb4a00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7080f8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7080f8) 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