panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *393165 46777 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ff626) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dad1008,fffffd805dad1100,7e0) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f8928,ffff80001d6f8934,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f8928,ffff80001d6f8934,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f8928,ffff80001d6f8934,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f8928,ffff80001d6f8934,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805ea89500) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805ea89500,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f8a38) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f8a38) 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(ffffffff821ff626) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dad1008,fffffd805dad1100,7e0) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f8928,ffff80001d6f8934,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f8928,ffff80001d6f8934,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f8928,ffff80001d6f8934,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f8928,ffff80001d6f8934,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805ea89500) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805ea89500,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f8a38) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f8a38) 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 0xffff80001d6f84b0 rbx 0xffff80001d6f8560 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81b8dcbf kprintf+0x15f r9 0x1 r10 0x2 r11 0x8774bc7d2f3257ee r12 0x3000000008 r13 0xffff80001d6f84c0 r14 0x100 r15 0x1 rip 0xffffffff814b7f98 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6f84a0 ss 0 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=393165 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6d1750,0xffff80001d6d1010 process=0xffff8000ffffe000 user=0xffff80001d6f3000, vmspace=0xffffffff82583ad0 estcpu=0, cpticks=0, pctcpu=0.32 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 45662 76110 35547 0 2 0 syz-executor.0 45662 511706 35547 0 3 0x4000080 pipewr syz-executor.0 45662 120210 35547 0 3 0x4000080 fsleep syz-executor.0 49024 166148 0 0 3 0x14280 nfsidl nfsio 13512 211872 0 0 3 0x14280 nfsidl nfsio 26896 122320 0 0 3 0x14280 nfsidl nfsio 3568 133718 0 0 3 0x14280 nfsidl nfsio 83113 374832 0 0 3 0x14280 nfsidl nfsio 82805 147533 0 0 3 0x14280 nfsidl nfsio 8521 427639 0 0 3 0x14280 nfsidl nfsio 72491 253937 0 0 3 0x14280 nfsidl nfsio 23688 65344 0 0 3 0x14280 nfsidl nfsio 29258 251987 0 0 3 0x14280 nfsidl nfsio 10814 197146 0 0 3 0x14280 nfsidl nfsio 91638 197250 0 0 3 0x14280 nfsidl nfsio 87556 295613 0 0 3 0x14280 nfsidl nfsio 50181 186148 0 0 3 0x14280 nfsidl nfsio 6511 67792 0 0 3 0x14280 nfsidl nfsio 25736 395911 0 0 3 0x14280 nfsidl nfsio 43139 310833 0 0 3 0x14280 nfsidl nfsio 28433 178480 0 0 3 0x14280 nfsidl nfsio 85868 257895 0 0 3 0x14280 nfsidl nfsio 23120 434368 0 0 3 0x14280 nfsidl nfsio 18619 52093 0 0 3 0x14200 bored sosplice 35547 377950 8982 0 3 0x82 nanosleep syz-executor.0 18872 112458 8982 0 3 0x82 nanosleep syz-executor.1 8982 291969 67212 0 3 0x82 thrsleep syz-fuzzer 8982 194305 67212 0 3 0x4000082 thrsleep syz-fuzzer 8982 190963 67212 0 3 0x4000082 thrsleep syz-fuzzer 8982 513799 67212 0 3 0x4000082 thrsleep syz-fuzzer 8982 76577 67212 0 3 0x4000082 kqread syz-fuzzer 8982 343181 67212 0 3 0x4000082 thrsleep syz-fuzzer 8982 118074 67212 0 3 0x4000082 thrsleep syz-fuzzer 67212 365946 28322 0 3 0x10008a pause ksh 28322 401707 37693 0 3 0x92 select sshd 68416 418668 1 0 3 0x100083 ttyin getty 37693 282449 1 0 3 0x80 select sshd 49720 158982 91493 73 3 0x100090 kqread syslogd 91493 462784 1 0 3 0x100082 netio syslogd 49286 243566 1 77 3 0x100090 poll dhclient 21112 456793 1 0 3 0x80 poll dhclient 51413 417772 0 0 3 0x14200 bored smr 19500 100484 0 0 2 0x14200 zerothread 17147 362011 0 0 3 0x14200 aiodoned aiodoned 36447 322356 0 0 3 0x14200 syncer update 1815 103604 0 0 3 0x14200 cleaner cleaner 50478 95363 0 0 3 0x14200 reaper reaper 23185 320566 0 0 3 0x14200 pgdaemon pagedaemon 63075 345366 0 0 3 0x14200 bored crynlk 13211 254080 0 0 3 0x14200 bored crypto 85149 139449 0 0 3 0x40014200 acpi0 acpi0 *46777 393165 0 0 7 0x14200 softnet 72862 50598 0 0 3 0x14200 bored systqmp 41068 453515 0 0 3 0x14200 bored systq 45225 253229 0 0 3 0x40014200 bored softclock 73095 132460 0 0 3 0x40014200 idle0 1 369298 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 9500 6358K 6809K 78643K 11071 0 pcb 13 8K 8K 78643K 37 0 rtable 110 3K 4K 78643K 262 0 ifaddr 66 13K 13K 78643K 91 0 counters 21 16K 16K 78643K 24 0 ioctlops 0 0K 2K 78643K 33 0 iov 0 0K 16K 78643K 44 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1414 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 56 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 194 0 sigio 0 0K 0K 78643K 9 0 proc 49 38K 63K 78643K 377 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 33 0 in_multi 29 1K 2K 78643K 71 0 ether_multi 1 0K 0K 78643K 11 0 mrt 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 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 140 72K 88K 78643K 1335 0 UVM aobj 18 4K 4K 78643K 18 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 19 0 temp 91 3029K 3093K 78643K 3538 0 kqueue 3 4K 8K 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 8 0 0 1 0 1 1 0 8 0 rtpcb 80 39 0 37 1 0 1 1 0 8 0 rtentry 112 53 0 8 2 0 2 2 0 8 0 unpcb 120 181 0 173 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 535 0 535 1 1 0 1 0 8 0 tcpcb 544 86 0 82 1 0 1 1 0 8 0 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 90 0 90 1 0 1 1 0 8 1 inpcb 280 226 0 217 2 0 2 2 0 8 1 nd6 48 7 0 3 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 ppxss 1128 1 0 1 1 0 1 1 0 8 1 pfstscr 40 2 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 112 8 0 4 1 0 1 1 0 8 0 pfstate 328 4 0 2 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 225 0 40 14 0 14 14 0 8 0 art_table 32 226 0 40 2 0 2 2 0 8 0 art_node 16 52 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 52 0 42 1 0 1 1 0 8 0 shmpl 112 16 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1677 0 281 88 0 88 88 0 8 0 ffsino 240 1677 0 281 83 0 83 83 0 8 0 nchpl 144 2140 0 535 60 0 60 60 0 8 0 uvmvnodes 72 1892 0 0 35 0 35 35 0 8 0 vnodes 208 1892 0 0 100 0 100 100 0 8 0 namei 1024 5758 0 5758 1 0 1 1 0 8 1 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 528 7 0 2 1 0 1 1 0 8 0 scxspl 192 5850 0 5850 1 0 1 1 0 8 1 plimitpl 152 24 0 17 1 0 1 1 0 8 0 sigapl 424 401 0 352 6 0 6 6 0 8 0 futexpl 56 4034 0 4033 1 0 1 1 0 8 0 knotepl 112 70 0 51 1 0 1 1 0 8 0 kqueuepl 144 21 0 17 1 0 1 1 0 8 0 pipelkpl 16 98 0 87 1 0 1 1 0 8 0 pipepl 120 196 0 175 2 1 1 2 0 8 0 fdescpl 432 366 0 352 2 0 2 2 0 8 0 filepl 120 2289 0 2190 4 0 4 4 0 8 0 lockfpl 104 53 0 52 1 0 1 1 0 8 0 lockfspl 48 22 0 21 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 185 0 178 1 0 1 1 0 8 0 zombiepl 144 352 0 351 1 0 1 1 0 8 0 processpl 920 401 0 351 7 0 7 7 0 8 0 procpl 624 607 0 549 5 0 5 5 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 450 0 433 4 0 4 4 0 8 2 mcl64k 65536 17 0 17 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 7 0 7 1 1 0 1 0 8 0 mcl9k 9216 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 3 0 3 1 0 1 1 0 8 1 mcl4k 4096 24 0 24 2 1 1 1 0 8 1 mcl2k 2048 74468 0 74413 18 9 9 18 0 8 1 mtagpl 80 26 0 2 2 1 1 1 0 8 0 mbufpl 256 119816 0 119665 22 5 17 19 0 8 5 bufpl 280 3635 0 128 251 0 251 251 0 8 0 anonpl 16 49517 0 34022 67 2 65 66 0 107 0 amapchunkpl 152 2072 0 1928 22 2 20 20 0 158 14 amappl16 192 1635 0 773 45 1 44 45 0 8 0 amappl15 184 77 0 74 1 0 1 1 0 8 0 amappl14 176 25 0 19 1 0 1 1 0 8 0 amappl13 168 197 0 192 1 0 1 1 0 8 0 amappl12 160 14 0 11 1 0 1 1 0 8 0 amappl11 152 47 0 37 1 0 1 1 0 8 0 amappl10 144 13 0 9 1 0 1 1 0 8 0 amappl9 136 367 0 366 1 0 1 1 0 8 0 amappl8 128 331 0 290 2 0 2 2 0 8 0 amappl7 120 106 0 94 1 0 1 1 0 8 0 amappl6 112 20 0 18 2 1 1 1 0 8 0 amappl5 104 228 0 218 1 0 1 1 0 8 0 amappl4 96 507 0 477 1 0 1 1 0 8 0 amappl3 88 193 0 186 1 0 1 1 0 8 0 amappl2 80 2186 0 2120 2 0 2 2 0 8 0 amappl1 72 16226 0 15809 24 15 9 17 0 8 0 amappl 80 843 0 795 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 17 0 0 1 0 1 1 0 8 0 uaddrrnd 24 373 0 354 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 373 0 354 1 0 1 1 0 8 0 vmmpekpl 168 6399 0 6367 2 0 2 2 0 8 0 vmmpepl 168 50675 0 48718 117 14 103 108 0 357 15 vmsppl 272 372 0 354 2 0 2 2 0 8 0 pdppl 4096 752 0 713 6 0 6 6 0 8 1 pvpl 32 162712 0 144064 159 4 155 159 0 265 2 pmappl 200 372 0 354 2 0 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 255 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(ffffffff821ff626) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dad1008,fffffd805dad1100,7e0) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f8928,ffff80001d6f8934,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f8928,ffff80001d6f8934,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f8928,ffff80001d6f8934,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f8928,ffff80001d6f8934,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805ea89500) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805ea89500,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f8a38) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f8a38) 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(ffffffff821ff626) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dad1008,fffffd805dad1100,7e0) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f8928,ffff80001d6f8934,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f8928,ffff80001d6f8934,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f8928,ffff80001d6f8934,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f8928,ffff80001d6f8934,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805ea89500) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805ea89500,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f8a38) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f8a38) 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