login: panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *420108 80976 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821fd77e) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dab6008,fffffd805dab6100,294) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d7081c8,ffff80001d7081d4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d7081c8,ffff80001d7081d4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d7081c8,ffff80001d7081d4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d7081c8,ffff80001d7081d4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805bd01d00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805bd01d00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7082d8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7082d8) 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(ffffffff821fd77e) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dab6008,fffffd805dab6100,294) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d7081c8,ffff80001d7081d4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d7081c8,ffff80001d7081d4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d7081c8,ffff80001d7081d4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d7081c8,ffff80001d7081d4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805bd01d00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805bd01d00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7082d8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7082d8) 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 0xffff80001d707d50 rbx 0xffff80001d707e00 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff810217ef kprintf+0x15f r9 0x1 r10 0x2 r11 0xd73d37e620869b7d r12 0x3000000008 r13 0xffff80001d707d60 r14 0x100 r15 0x1 rip 0xffffffff81c62918 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d707d40 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=420108 stat=onproc flags process=14000 proc=200 pri=32, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6e1c30,0xffff80001d6e1280 process=0xffff8000ffffee60 user=0xffff80001d703000, vmspace=0xffffffff8257c670 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 91286 509128 55167 0 3 0x90 nanosleep syz-executor.1 91286 275130 55167 0 3 0x4000090 lockf syz-executor.1 91286 55324 55167 0 3 0x4000090 fsleep syz-executor.1 46096 253879 1 0 3 0x100083 ttyin getty 55167 63454 49332 0 2 0x482 syz-executor.1 91460 503494 49332 0 3 0x82 piperd syz-executor.0 6080 72434 0 0 3 0x14200 bored sosplice 49332 93380 91422 0 3 0x82 thrsleep syz-fuzzer 49332 429392 91422 0 3 0x4000082 thrsleep syz-fuzzer 49332 219283 91422 0 3 0x4000082 kqread syz-fuzzer 49332 59345 91422 0 3 0x4000082 thrsleep syz-fuzzer 49332 304413 91422 0 3 0x4000082 thrsleep syz-fuzzer 49332 519004 91422 0 3 0x4000082 thrsleep syz-fuzzer 49332 410363 91422 0 3 0x4000082 thrsleep syz-fuzzer 49332 29055 91422 0 3 0x4000082 thrsleep syz-fuzzer 91422 314731 35741 0 3 0x10008a pause ksh 35741 89155 13276 0 3 0x92 select sshd 13276 220778 1 0 3 0x80 select sshd 29650 264782 10981 73 3 0x100090 kqread syslogd 10981 229053 1 0 3 0x100082 netio syslogd 92461 69849 1 77 3 0x100090 poll dhclient 37918 521560 1 0 3 0x80 poll dhclient 25452 72482 0 0 3 0x14200 bored smr 24445 27562 0 0 3 0x14200 pgzero zerothread 13907 486268 0 0 3 0x14200 aiodoned aiodoned 83765 2222 0 0 3 0x14200 syncer update 56276 29026 0 0 3 0x14200 cleaner cleaner 59770 119398 0 0 3 0x14200 reaper reaper 39653 42503 0 0 3 0x14200 pgdaemon pagedaemon 91287 117990 0 0 3 0x14200 bored crynlk 47779 79073 0 0 3 0x14200 bored crypto 83487 207762 0 0 3 0x40014200 acpi0 acpi0 *80976 420108 0 0 7 0x14200 softnet 64352 501107 0 0 3 0x14200 bored systqmp 16879 19411 0 0 3 0x14200 bored systq 62936 197038 0 0 3 0x40014200 bored softclock 48018 34794 0 0 3 0x40014200 idle0 1 16735 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 9537 6372K 6885K 78643K 12000 0 pcb 13 8K 8K 78643K 144 0 rtable 101 2K 3K 78643K 913 0 ifaddr 94 17K 17K 78643K 207 0 counters 21 16K 16K 78643K 36 0 ioctlops 0 0K 2K 78643K 55 0 iov 0 0K 14K 78643K 264 0 mount 1 1K 1K 78643K 1 0 vnodes 1210 76K 77K 78643K 1665 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 188 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 641 0 sigio 0 0K 0K 78643K 8 0 proc 49 38K 55K 78643K 489 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 57 0 in_multi 85 4K 4K 78643K 197 0 ether_multi 1 0K 0K 78643K 22 0 mrt 0 0K 0K 78643K 2 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 263 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 151 153K 153K 78643K 2439 0 UVM aobj 26 4K 5K 78643K 32 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 139 0 NDP 16 0K 0K 78643K 45 0 temp 126 3041K 3151K 78643K 16763 0 kqueue 5 8K 14K 78643K 45 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 11 0 5 1 0 1 1 0 8 0 rtpcb 80 619 0 617 1 0 1 1 0 8 0 rtentry 112 99 0 57 2 0 2 2 0 8 0 unpcb 120 291 0 283 1 0 1 1 0 8 0 syncache 264 14 0 14 5 5 0 1 0 8 0 tcpqe 32 214 0 214 2 2 0 1 0 8 0 tcpcb 544 377 0 372 2 1 1 2 0 8 0 ipq 40 5 0 5 3 3 0 1 0 8 0 ipqe 40 139 0 139 3 3 0 1 0 8 0 inpcb 280 879 0 871 5 4 1 2 0 8 0 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 19 0 15 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 2 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 467 0 281 14 2 12 13 0 8 0 art_table 32 469 0 281 2 0 2 2 0 8 0 art_node 16 98 0 59 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 6 1 0 1 1 0 8 0 semapl 112 186 0 176 1 0 1 1 0 8 0 shmpl 112 30 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2316 0 927 88 0 88 88 0 8 0 ffsino 240 2316 0 927 83 0 83 83 0 8 0 nchpl 144 3460 0 1880 60 0 60 60 0 8 0 uvmvnodes 72 2675 0 0 49 0 49 49 0 8 0 vnodes 208 2675 0 0 141 0 141 141 0 8 0 namei 1024 9811 0 9811 3 2 1 1 0 8 1 vcpupl 1984 14 0 0 2 0 2 2 0 8 0 vmpool 528 18 0 4 1 0 1 1 0 8 0 scxspl 192 9989 0 9989 1 0 1 1 0 8 1 plimitpl 152 83 0 76 1 0 1 1 0 8 0 sigapl 424 823 0 794 4 0 4 4 0 8 0 futexpl 56 13695 0 13694 3 2 1 1 0 8 0 knotepl 112 139 0 120 1 0 1 1 0 8 0 kqueuepl 144 140 0 132 1 0 1 1 0 8 0 pipelkpl 16 148 0 138 1 0 1 1 0 8 0 pipepl 120 296 0 277 1 0 1 1 0 8 0 fdescpl 432 808 0 794 2 0 2 2 0 8 0 filepl 120 5667 0 5569 4 0 4 4 0 8 1 lockfpl 104 397 0 394 1 0 1 1 0 8 0 lockfspl 48 97 0 95 1 0 1 1 0 8 0 sessionpl 112 20 0 10 1 0 1 1 0 8 0 pgrppl 48 26 0 16 1 0 1 1 0 8 0 ucredpl 96 822 0 814 1 0 1 1 0 8 0 zombiepl 144 794 0 794 1 0 1 1 0 8 1 processpl 920 823 0 794 4 0 4 4 0 8 0 procpl 624 1584 0 1546 5 1 4 4 0 8 0 sosppl 128 15 0 15 4 4 0 1 0 8 0 sockpl 400 1797 0 1779 9 5 4 4 0 8 2 mcl64k 65536 75 0 75 3 3 0 1 0 8 0 mcl16k 16384 8 0 8 3 3 0 1 0 8 0 mcl12k 12288 28 0 28 3 3 0 1 0 8 0 mcl9k 9216 10 0 10 4 4 0 1 0 8 0 mcl8k 8192 21 0 21 4 3 1 1 0 8 1 mcl4k 4096 72 0 72 5 4 1 1 0 8 1 mcl2k2 2112 6 0 6 2 2 0 1 0 8 0 mcl2k 2048 66667 0 66607 23 15 8 17 0 8 0 mtagpl 80 76 0 38 2 1 1 1 0 8 0 mbufpl 256 112463 0 112250 33 11 22 26 0 8 0 bufpl 280 4911 0 139 341 0 341 341 0 8 0 anonpl 16 103455 0 89888 107 36 71 74 0 107 10 amapchunkpl 152 4305 0 4164 20 11 9 13 0 158 0 amappl16 192 4712 0 3950 83 35 48 51 0 8 8 amappl15 184 9 0 8 1 0 1 1 0 8 0 amappl14 176 44 0 37 1 0 1 1 0 8 0 amappl13 168 36 0 35 1 0 1 1 0 8 0 amappl12 160 23 0 18 1 0 1 1 0 8 0 amappl11 152 247 0 237 1 0 1 1 0 8 0 amappl10 144 17 0 11 1 0 1 1 0 8 0 amappl9 136 676 0 673 1 0 1 1 0 8 0 amappl8 128 758 0 718 2 0 2 2 0 8 0 amappl7 120 120 0 107 1 0 1 1 0 8 0 amappl6 112 225 0 218 1 0 1 1 0 8 0 amappl5 104 897 0 883 1 0 1 1 0 8 0 amappl4 96 463 0 433 1 0 1 1 0 8 0 amappl3 88 128 0 123 1 0 1 1 0 8 0 amappl2 80 5531 0 5465 2 0 2 2 0 8 0 amappl1 72 23820 0 23402 22 13 9 17 0 8 0 amappl 80 1868 0 1814 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 31 0 6 1 0 1 1 0 8 0 uaddrrnd 24 826 0 798 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 826 0 798 1 0 1 1 0 8 0 vmmpekpl 168 8591 0 8560 2 0 2 2 0 8 0 vmmpepl 168 103606 0 101730 166 69 97 134 0 357 10 vmsppl 272 825 0 798 2 0 2 2 0 8 0 pdppl 4096 1658 0 1610 9 2 7 7 0 8 0 pvpl 32 284735 0 268178 218 48 170 177 0 265 28 pmappl 200 825 0 798 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 293 0 54 8 0 8 8 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(ffffffff821fd77e) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dab6008,fffffd805dab6100,294) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d7081c8,ffff80001d7081d4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d7081c8,ffff80001d7081d4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d7081c8,ffff80001d7081d4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d7081c8,ffff80001d7081d4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805bd01d00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805bd01d00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7082d8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7082d8) 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(ffffffff821fd77e) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dab6008,fffffd805dab6100,294) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d7081c8,ffff80001d7081d4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d7081c8,ffff80001d7081d4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d7081c8,ffff80001d7081d4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d7081c8,ffff80001d7081d4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805bd01d00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805bd01d00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d7082d8) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d7082d8) 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