panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *375616 68622 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff822023ff) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dad5968,fffffd805dad5a60,830) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f80b8,ffff80001d6f80c4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f80b8,ffff80001d6f80c4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f80b8,ffff80001d6f80c4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f80b8,ffff80001d6f80c4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805e473100) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805e473100,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f81c8) at if_input_process+0xf8 if_ih_input sys/net/if.c:910 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f81c8) at if_input_process+0xf8 sys/net/if.c:944 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(ffffffff822023ff) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dad5968,fffffd805dad5a60,830) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f80b8,ffff80001d6f80c4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f80b8,ffff80001d6f80c4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f80b8,ffff80001d6f80c4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f80b8,ffff80001d6f80c4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805e473100) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805e473100,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f81c8) at if_input_process+0xf8 if_ih_input sys/net/if.c:910 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f81c8) at if_input_process+0xf8 sys/net/if.c:944 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 0xffff80001d6f7c40 rbx 0xffff80001d6f7cf0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81855d5f kprintf+0x15f r9 0x1 r10 0x2 r11 0x8f4ad7f1f139c685 r12 0x3000000008 r13 0xffff80001d6f7c50 r14 0x100 r15 0x1 rip 0xffffffff81ff75f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6f7c30 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=375616 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6d19c0,0xffff80001d6d1010 process=0xffff8000ffffeac8 user=0xffff80001d6f3000, vmspace=0xffffffff825cf5e8 estcpu=0, cpticks=0, pctcpu=0.49 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 67357 317820 0 0 3 0x14200 bored sosplice 25683 34507 97719 0 3 0x80 nanosleep syz-executor.1 25683 486216 97719 0 3 0x4000080 netio syz-executor.1 25683 213466 97719 0 3 0x4000080 fsleep syz-executor.1 91298 503392 0 0 3 0x14280 nfsidl nfsio 60395 259826 0 0 3 0x14280 nfsidl nfsio 19689 113783 0 0 3 0x14280 nfsidl nfsio 85139 221423 0 0 3 0x14280 nfsidl nfsio 20162 4957 0 0 3 0x14280 nfsidl nfsio 13436 309559 0 0 3 0x14280 nfsidl nfsio 69625 472992 0 0 3 0x14280 nfsidl nfsio 90328 300641 0 0 3 0x14280 nfsidl nfsio 99413 425993 0 0 3 0x14280 nfsidl nfsio 34488 160411 0 0 3 0x14280 nfsidl nfsio 43088 85858 0 0 3 0x14280 nfsidl nfsio 21249 367067 0 0 3 0x14280 nfsidl nfsio 60539 79193 0 0 3 0x14280 nfsidl nfsio 78240 459863 0 0 3 0x14280 nfsidl nfsio 26270 31276 0 0 3 0x14280 nfsidl nfsio 42968 80579 0 0 3 0x14280 nfsidl nfsio 54497 345022 0 0 3 0x14280 nfsidl nfsio 16798 266651 0 0 3 0x14280 nfsidl nfsio 833 415214 0 0 3 0x14280 nfsidl nfsio 42340 57110 0 0 3 0x14280 nfsidl nfsio 20791 438292 89601 0 2 0x2 syz-executor.0 97719 144778 89601 0 3 0x82 nanosleep syz-executor.1 89601 326609 22037 0 3 0x82 thrsleep syz-fuzzer 89601 181010 22037 0 3 0x4000082 nanosleep syz-fuzzer 89601 392088 22037 0 3 0x4000082 thrsleep syz-fuzzer 89601 388304 22037 0 3 0x4000082 thrsleep syz-fuzzer 89601 405315 22037 0 3 0x4000082 kqread syz-fuzzer 89601 254157 22037 0 3 0x4000082 thrsleep syz-fuzzer 89601 227871 22037 0 3 0x4000082 thrsleep syz-fuzzer 89601 306654 22037 0 3 0x4000082 thrsleep syz-fuzzer 22037 450500 1455 0 3 0x10008a pause ksh 1455 336294 84196 0 3 0x92 select sshd 5635 364211 1 0 3 0x100083 ttyin getty 84196 521820 1 0 3 0x80 select sshd 86376 443446 97434 73 3 0x100090 kqread syslogd 97434 197142 1 0 3 0x100082 netio syslogd 33421 148840 1 77 3 0x100090 poll dhclient 79556 95371 1 0 3 0x80 poll dhclient 60253 460985 0 0 3 0x14200 bored smr 36487 371039 0 0 3 0x14200 pgzero zerothread 19870 500133 0 0 3 0x14200 aiodoned aiodoned 68329 430617 0 0 3 0x14200 syncer update 47810 27431 0 0 3 0x14200 cleaner cleaner 8704 31101 0 0 3 0x14200 reaper reaper 72317 415921 0 0 3 0x14200 pgdaemon pagedaemon 6123 286154 0 0 3 0x14200 bored crynlk 51823 347030 0 0 3 0x14200 bored crypto 7038 252869 0 0 3 0x40014200 acpi0 acpi0 *68622 375616 0 0 7 0x14200 softnet 99988 210389 0 0 3 0x14200 bored systqmp 92753 146815 0 0 3 0x14200 bored systq 44411 292126 0 0 3 0x40014200 bored softclock 45291 436098 0 0 3 0x40014200 idle0 1 124038 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 9452 6324K 6906K 78643K 10755 0 pcb 13 8K 8K 78643K 25 0 rtable 108 11K 11K 78643K 207 0 ifaddr 39 10K 10K 78643K 41 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 15 0 iov 0 0K 32K 78643K 4 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1274 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 8 0K 0K 78643K 8 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 76 0 sigio 0 0K 0K 78643K 2 0 proc 47 38K 63K 78643K 361 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 16 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 mrt 0 0K 0K 78643K 4 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 200 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 93 21K 21K 78643K 991 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 5 0K 0K 78643K 9 0 temp 65 3028K 3092K 78643K 2424 0 kqueue 3 4K 9K 78643K 12 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 21 0 19 1 0 1 1 0 8 0 rtentry 112 47 0 3 2 0 2 2 0 8 0 unpcb 120 41 0 33 1 0 1 1 0 8 0 syncache 264 7 0 7 2 1 1 1 0 8 1 tcpqe 32 303 0 303 2 1 1 1 0 8 1 tcpcb 544 49 0 41 2 0 2 2 0 8 1 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 1 1 0 1 1 0 8 0 inpcb 280 109 0 98 2 0 2 2 0 8 1 rttmr 72 2 0 2 1 0 1 1 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 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 46 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1476 0 76 88 0 88 88 0 8 0 ffsino 240 1476 0 76 83 0 83 83 0 8 0 nchpl 144 1757 0 154 60 0 60 60 0 8 0 uvmvnodes 72 1569 0 0 29 0 29 29 0 8 0 vnodes 208 1569 0 0 83 0 83 83 0 8 0 namei 1024 4377 0 4376 1 0 1 1 0 8 0 scxspl 192 4342 0 4342 1 0 1 1 0 8 1 plimitpl 152 18 0 11 1 0 1 1 0 8 0 sigapl 424 283 0 234 6 0 6 6 0 8 0 futexpl 56 1038 0 1037 1 0 1 1 0 8 0 knotepl 112 77 0 58 1 0 1 1 0 8 0 kqueuepl 144 20 0 16 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 248 0 234 2 0 2 2 0 8 0 filepl 120 1298 0 1198 4 0 4 4 0 8 0 lockfpl 104 8 0 7 1 0 1 1 0 8 0 lockfspl 48 4 0 3 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 65 0 58 1 0 1 1 0 8 0 zombiepl 144 234 0 234 1 0 1 1 0 8 1 processpl 920 283 0 234 7 0 7 7 0 8 0 procpl 624 344 0 286 5 0 5 5 0 8 0 sosppl 128 1 0 0 1 0 1 1 0 8 0 sockpl 400 171 0 150 3 0 3 3 0 8 0 mcl64k 65536 2 0 2 1 0 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 2 0 2 1 0 1 1 0 8 1 mcl4k 4096 16 0 16 1 0 1 1 0 8 1 mcl2k 2048 70699 0 70646 25 10 15 20 0 8 8 mtagpl 80 4 0 2 2 1 1 1 0 8 0 mbufpl 256 112318 0 112153 13 1 12 12 0 8 1 bufpl 280 3275 0 126 225 0 225 225 0 8 0 anonpl 16 38942 0 24232 62 2 60 60 0 107 0 amapchunkpl 152 1048 0 918 7 0 7 7 0 158 0 amappl16 192 1137 0 330 41 0 41 41 0 8 0 amappl15 184 30 0 28 1 0 1 1 0 8 0 amappl14 176 22 0 19 1 0 1 1 0 8 0 amappl13 168 26 0 23 1 0 1 1 0 8 0 amappl12 160 14 0 13 2 1 1 1 0 8 0 amappl11 152 95 0 81 1 0 1 1 0 8 0 amappl10 144 20 0 15 1 0 1 1 0 8 0 amappl9 136 349 0 348 1 0 1 1 0 8 0 amappl8 128 278 0 262 1 0 1 1 0 8 0 amappl7 120 105 0 94 1 0 1 1 0 8 0 amappl6 112 67 0 61 1 0 1 1 0 8 0 amappl5 104 207 0 195 1 0 1 1 0 8 0 amappl4 96 442 0 417 1 0 1 1 0 8 0 amappl3 88 101 0 96 1 0 1 1 0 8 0 amappl2 80 1159 0 1096 2 0 2 2 0 8 0 amappl1 72 14332 0 13920 24 7 17 17 0 8 8 amappl 80 548 0 507 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 248 0 234 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 248 0 234 1 0 1 1 0 8 0 vmmpekpl 168 5932 0 5900 2 0 2 2 0 8 0 vmmpepl 168 37095 0 35235 141 8 133 133 0 357 51 vmsppl 272 247 0 234 2 0 2 2 0 8 1 pdppl 4096 502 0 468 6 0 6 6 0 8 1 pvpl 32 134203 0 116417 148 0 148 148 0 265 3 pmappl 200 247 0 234 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 250 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(ffffffff822023ff) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dad5968,fffffd805dad5a60,830) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f80b8,ffff80001d6f80c4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f80b8,ffff80001d6f80c4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f80b8,ffff80001d6f80c4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f80b8,ffff80001d6f80c4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805e473100) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805e473100,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f81c8) at if_input_process+0xf8 if_ih_input sys/net/if.c:910 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f81c8) at if_input_process+0xf8 sys/net/if.c:944 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(ffffffff822023ff) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dad5968,fffffd805dad5a60,830) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f80b8,ffff80001d6f80c4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f80b8,ffff80001d6f80c4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f80b8,ffff80001d6f80c4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f80b8,ffff80001d6f80c4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805e473100) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805e473100,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f81c8) at if_input_process+0xf8 if_ih_input sys/net/if.c:910 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f81c8) at if_input_process+0xf8 sys/net/if.c:944 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