login: panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *292552 29731 0 0x14000 0x200 1 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ef381) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd806e969608,fffffd806e9696f8,54) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:951 tcp_input(ffff800020a4f098,ffff800020a4f0a4,6,2) at tcp_input+0x3d73 sys/netinet/tcp_input.c:1725 ip_deliver(ffff800020a4f098,ffff800020a4f0a4,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020a4f098,ffff800020a4f0a4,8b,0) at ip_ours+0x412 ip_input_if(ffff800020a4f098,ffff800020a4f0a4,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd806d413700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017b2a8,fffffd806d413700,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017b2a8,ffff800020a4f1c8) at if_input_process+0xfb if_ih_input sys/net/if.c:910 [inline] if_input_process(ffff80000017b2a8,ffff800020a4f1c8) at if_input_process+0xfb sys/net/if.c:944 ifiq_process(ffff80000017b6a0) at ifiq_process+0x80 sys/net/ifq.c:607 taskq_thread(ffff80000002b080) at taskq_thread+0x9c sys/kern/kern_task.c:369 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic sbdrop ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ef381) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd806e969608,fffffd806e9696f8,54) at sbdrop+0x3c6 sys/kern/uipc_socket2.c:951 tcp_input(ffff800020a4f098,ffff800020a4f0a4,6,2) at tcp_input+0x3d73 sys/netinet/tcp_input.c:1725 ip_deliver(ffff800020a4f098,ffff800020a4f0a4,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020a4f098,ffff800020a4f0a4,8b,0) at ip_ours+0x412 ip_input_if(ffff800020a4f098,ffff800020a4f0a4,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd806d413700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017b2a8,fffffd806d413700,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017b2a8,ffff800020a4f1c8) at if_input_process+0xfb if_ih_input sys/net/if.c:910 [inline] if_input_process(ffff80000017b2a8,ffff800020a4f1c8) at if_input_process+0xfb sys/net/if.c:944 ifiq_process(ffff80000017b6a0) at ifiq_process+0x80 sys/net/ifq.c:607 taskq_thread(ffff80000002b080) at taskq_thread+0x9c sys/kern/kern_task.c:369 end trace frame: 0x0, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020a4ec20 rbx 0xffff800020a4ecd0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff821554ef kprintf+0x16f r9 0x1 r10 0x4fbcba47f21ebde8 r11 0xc5c6ec58a5c5d5dc r12 0x3000000008 r13 0xffff800020a4ec30 r14 0x100 r15 0x1 rip 0xffffffff81407988 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a4ec10 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (softnet) pid=292552 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a284f0,0xffff800020a289f0 process=0xffff800020a2aa98 user=0xffff800020a4a000, vmspace=0xffffffff82621d58 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 787 55390 33260 0 3 0x82 nanosleep syz-executor.0 33260 398055 39288 0 3 0x82 thrsleep syz-execprog 33260 519437 39288 0 3 0x4000082 nanosleep syz-execprog 33260 441518 39288 0 3 0x4000082 thrsleep syz-execprog 33260 26762 39288 0 3 0x4000082 thrsleep syz-execprog 33260 238827 39288 0 3 0x4000082 thrsleep syz-execprog 33260 511892 39288 0 3 0x4000082 thrsleep syz-execprog 33260 208387 39288 0 3 0x4000082 thrsleep syz-execprog 33260 400844 39288 0 3 0x4000082 kqread syz-execprog 39288 490788 53072 0 3 0x10008a pause ksh 53072 144917 82162 0 3 0x92 select sshd 32474 379970 1 0 3 0x100083 ttyin getty 82162 27033 1 0 3 0x80 select sshd 81679 363023 97428 74 3 0x100092 bpf pflogd 97428 272537 1 0 3 0x80 netio pflogd 2487 441203 71926 73 3 0x100090 kqread syslogd 71926 268902 1 0 3 0x100082 netio syslogd 35459 294095 1 77 3 0x100090 poll dhclient 51581 135170 1 0 3 0x80 poll dhclient 77349 44720 0 0 3 0x14200 pgzero zerothread 91884 321354 0 0 3 0x14200 aiodoned aiodoned 10887 171030 0 0 3 0x14200 syncer update 9910 319219 0 0 3 0x14200 cleaner cleaner 9773 171479 0 0 3 0x14200 reaper reaper 54523 387892 0 0 3 0x14200 pgdaemon pagedaemon 63702 424906 0 0 3 0x14200 bored crynlk 12115 444011 0 0 3 0x14200 bored crypto 99350 436047 0 0 3 0x40014200 acpi0 acpi0 1226 281368 0 0 3 0x40014200 idle1 *29731 292552 0 0 7 0x14200 softnet 79544 146749 0 0 3 0x14200 bored systqmp 5181 58708 0 0 3 0x14200 bored systq 24562 348254 0 0 3 0x40014200 bored softclock 71303 45737 0 0 7 0x40014200 idle0 57419 202957 0 0 3 0x14200 bored smr 1 469786 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 29731 (softnet) thread 0xffff800020a28768 (292552) shared rwlock netlock r = 0 (0xffffffff8246c508) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 if_input_process+0x84 sys/net/if.c:942 #2 ifiq_process+0x80 sys/net/ifq.c:607 #3 taskq_thread+0x9c sys/kern/kern_task.c:369 #4 proc_trampoline+0x1c shared rwlock softnet r = 0 (0xffff80000002b0e0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 taskq_thread+0x8f sys/kern/kern_task.c:368 #2 proc_trampoline+0x1c ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9465 6395K 6395K 78643K 10556 0 pcb 13 8K 8K 78643K 13 0 rtable 83 2K 2K 78643K 165 0 ifaddr 37 9K 9K 78643K 39 0 counters 39 33K 33K 78643K 39 0 ioctlops 0 0K 4K 78643K 1468 0 mount 1 1K 1K 78643K 1 0 vnodes 1181 74K 74K 78643K 1186 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 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 2 4K 12K 78643K 18 0 proc 59 63K 83K 78643K 398 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 22 1K 1K 78643K 22 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 19 95K 95K 78643K 19 0 exec 0 0K 1K 78643K 197 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 79 12K 12K 78643K 970 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 7 0K 0K 78643K 7 0 temp 32 3010K 3073K 78643K 3320 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 4 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 17 0 15 1 0 1 1 0 8 0 rtentry 112 34 0 1 1 0 1 1 0 8 0 unpcb 120 29 0 19 1 0 1 1 0 8 0 syncache 264 5 0 5 1 0 1 1 0 8 1 tcpcb 544 8 0 5 1 0 1 1 0 8 0 inpcb 280 34 0 28 1 0 1 1 0 8 0 nd6 48 2 0 0 1 0 1 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 10 0 0 1 0 1 1 0 8 0 pfstkey 112 10 0 0 1 0 1 1 0 8 0 pfstate 328 10 0 0 1 0 1 1 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 168 0 0 11 0 11 11 0 8 0 art_table 32 169 0 0 2 0 2 2 0 8 0 art_node 16 33 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1424 0 20 46 0 46 46 0 8 0 ffsino 272 1424 0 20 94 0 94 94 0 8 0 nchpl 144 1650 0 38 60 0 60 60 0 8 0 uvmvnodes 72 1434 0 0 27 0 27 27 0 8 0 vnodes 208 1434 0 0 76 0 76 76 0 8 0 namei 1024 4156 0 4156 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 4112 0 4112 2 1 1 2 0 8 1 plimitpl 152 15 0 8 1 0 1 1 0 8 0 sigapl 432 225 0 212 2 0 2 2 0 8 0 knotepl 112 39 0 28 1 0 1 1 0 8 0 kqueuepl 104 2 0 0 1 0 1 1 0 8 0 pipepl 112 148 0 135 1 0 1 1 0 8 0 fdescpl 488 226 0 212 3 0 3 3 0 8 0 filepl 152 1136 0 1078 3 0 3 3 0 8 0 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 19 0 9 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 52 0 43 1 0 1 1 0 8 0 zombiepl 144 212 0 211 1 0 1 1 0 8 0 processpl 904 241 0 211 4 0 4 4 0 8 0 procpl 632 248 0 211 4 0 4 4 0 8 0 sockpl 384 80 0 62 2 0 2 2 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 68 0 0 9 0 9 9 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 88 0 0 6 0 6 6 0 8 0 bufpl 280 5948 0 1340 330 0 330 330 0 8 0 anonpl 16 22379 0 20793 14 1 13 13 0 125 5 amapchunkpl 152 765 0 698 5 0 5 5 0 158 2 amappl16 192 79 0 57 2 0 2 2 0 8 0 amappl15 184 58 0 55 1 0 1 1 0 8 0 amappl14 176 37 0 32 1 0 1 1 0 8 0 amappl13 168 1 0 0 1 0 1 1 0 8 0 amappl12 160 5 0 4 2 1 1 1 0 8 0 amappl11 152 48 0 33 1 0 1 1 0 8 0 amappl10 144 15 0 12 1 0 1 1 0 8 0 amappl9 136 437 0 435 1 0 1 1 0 8 0 amappl8 128 94 0 82 1 0 1 1 0 8 0 amappl7 120 102 0 89 1 0 1 1 0 8 0 amappl6 112 59 0 53 1 0 1 1 0 8 0 amappl5 104 124 0 111 1 0 1 1 0 8 0 amappl4 96 498 0 470 1 0 1 1 0 8 0 amappl3 88 125 0 116 1 0 1 1 0 8 0 amappl2 80 934 0 875 3 0 3 3 0 8 1 amappl1 72 15420 0 14993 27 9 18 21 0 8 8 amappl 80 474 0 446 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 226 0 212 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 226 0 212 1 0 1 1 0 8 0 vmmpekpl 168 6190 0 6168 2 0 2 2 0 8 0 vmmpepl 168 33082 0 32140 86 4 82 82 0 357 39 vmsppl 368 225 0 212 2 0 2 2 0 8 0 pdppl 4096 459 0 424 6 0 6 6 0 8 1 pvpl 32 112691 0 108704 116 0 116 116 0 265 82 pmappl 232 225 0 212 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 143 0 3 4 0 4 4 0 8 0 ddb{1}>