panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *249650 78263 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823e990f) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805da5a008,fffffd805da5a100,284) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d678c08,ffff80001d678c14,6,2) at tcp_input+0x477a sys/netinet/tcp_input.c:957 ip_deliver(ffff80001d678c08,ffff80001d678c14,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d678c08,ffff80001d678c14,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d678c08,ffff80001d678c14,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805c37b700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805c37b700,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d678d18) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d678d18) at if_input_process+0xf8 sys/net/if.c:942 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff80000002b080) at taskq_thread+0x92 sys/kern/kern_task.c:438 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(ffffffff823e990f) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805da5a008,fffffd805da5a100,284) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d678c08,ffff80001d678c14,6,2) at tcp_input+0x477a sys/netinet/tcp_input.c:957 ip_deliver(ffff80001d678c08,ffff80001d678c14,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d678c08,ffff80001d678c14,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d678c08,ffff80001d678c14,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805c37b700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805c37b700,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d678d18) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d678d18) at if_input_process+0xf8 sys/net/if.c:942 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff80000002b080) at taskq_thread+0x92 sys/kern/kern_task.c:438 end trace frame: 0x0, count: -12 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d678790 rbx 0xffff80001d678840 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81ad64bf kprintf+0x15f r9 0x1 r10 0x2 r11 0x17fb2368cd2424a6 r12 0x3000000008 r13 0xffff80001d6787a0 r14 0x100 r15 0x1 rip 0xffffffff8181e468 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d678780 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=249650 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d651270,0xffff80001d651760 process=0xffff8000ffffe000 user=0xffff80001d673000, vmspace=0xffffffff828303a0 estcpu=0, cpticks=0, pctcpu=0.19 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 66626 93167 0 0 3 0x14200 acct acct 20962 420572 48201 0 3 0x80 nanosleep syz-executor.0 20962 506559 48201 0 3 0x4000080 poll syz-executor.0 20962 277730 48201 0 3 0x4000080 fsleep syz-executor.0 15648 225000 0 0 3 0x14280 nfsidl nfsio 19946 305660 0 0 3 0x14280 nfsidl nfsio 89368 180977 0 0 3 0x14280 nfsidl nfsio 22014 111165 0 0 3 0x14280 nfsidl nfsio 61144 330961 0 0 3 0x14280 nfsidl nfsio 88390 361102 0 0 3 0x14280 nfsidl nfsio 97445 1486 0 0 3 0x14280 nfsidl nfsio 47316 427485 0 0 3 0x14280 nfsidl nfsio 16197 200540 0 0 3 0x14280 nfsidl nfsio 48070 83892 0 0 3 0x14280 nfsidl nfsio 1416 366236 0 0 3 0x14280 nfsidl nfsio 67594 18541 0 0 3 0x14280 nfsidl nfsio 75304 499738 0 0 3 0x14280 nfsidl nfsio 86932 432757 0 0 3 0x14280 nfsidl nfsio 51921 468374 0 0 3 0x14280 nfsidl nfsio 86585 86754 0 0 3 0x14280 nfsidl nfsio 4704 159813 0 0 3 0x14280 nfsidl nfsio 62431 259819 0 0 3 0x14280 nfsidl nfsio 11554 391181 0 0 3 0x14280 nfsidl nfsio 67355 337812 0 0 3 0x14280 nfsidl nfsio 5522 393973 0 0 3 0x14200 bored sosplice 48201 461733 53464 0 3 0x82 nanosleep syz-executor.0 23371 162358 53464 0 3 0x82 piperd syz-executor.1 53464 293289 46349 0 3 0x82 kqread syz-fuzzer 53464 371119 46349 0 3 0x4000082 thrsleep syz-fuzzer 53464 149486 46349 0 3 0x4000082 thrsleep syz-fuzzer 53464 466129 46349 0 3 0x4000082 thrsleep syz-fuzzer 53464 341126 46349 0 3 0x4000082 thrsleep syz-fuzzer 53464 408822 46349 0 3 0x4000082 thrsleep syz-fuzzer 53464 368383 46349 0 3 0x4000082 thrsleep syz-fuzzer 53464 131825 46349 0 3 0x4000082 thrsleep syz-fuzzer 46349 305625 92098 0 3 0x10008a pause ksh 92098 112151 11507 0 3 0x92 select sshd 38489 72590 1 0 3 0x100083 ttyin getty 11507 257152 1 0 3 0x80 select sshd 79228 111800 66314 73 3 0x100090 kqread syslogd 66314 314005 1 0 3 0x100082 netio syslogd 8582 352961 1 77 3 0x100090 poll dhclient 24961 271410 1 0 3 0x80 poll dhclient 61079 305055 0 0 3 0x14200 bored smr 92217 311395 0 0 3 0x14200 pgzero zerothread 32296 362107 0 0 3 0x14200 aiodoned aiodoned 15618 195518 0 0 3 0x14200 syncer update 25757 471869 0 0 3 0x14200 cleaner cleaner 37760 514366 0 0 3 0x14200 reaper reaper 71159 32530 0 0 3 0x14200 pgdaemon pagedaemon 1236 261698 0 0 3 0x14200 bored crynlk 63665 330973 0 0 3 0x14200 bored crypto 45953 480386 0 0 3 0x40014200 acpi0 acpi0 *78263 249650 0 0 7 0x14200 softnet 31864 256061 0 0 3 0x14200 bored systqmp 96541 384655 0 0 3 0x14200 bored systq 6350 169029 0 0 3 0x40014200 bored softclock 47937 424309 0 0 3 0x40014200 idle0 1 437463 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 9474 6333K 6588K 78643K 10811 0 pcb 13 8K 8K 78643K 53 0 rtable 102 3K 7K 78643K 320 0 ifaddr 54 12K 13K 78643K 109 0 counters 21 16K 16K 78643K 27 0 ioctlops 0 0K 4K 78643K 35 0 iov 0 0K 12K 78643K 28 0 mount 1 1K 1K 78643K 1 0 vnodes 1217 77K 77K 78643K 1300 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 12 1K 1K 78643K 16 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 147 0 sigio 0 0K 0K 78643K 5 0 proc 48 38K 54K 78643K 371 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 10 0 in_multi 36 2K 2K 78643K 62 0 ether_multi 1 0K 0K 78643K 7 0 mrt 0 0K 0K 78643K 5 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 191 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 131 39K 64K 78643K 1200 0 UVM aobj 4 2K 2K 78643K 4 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 20 0 NDP 8 0K 0K 78643K 19 0 temp 77 3844K 3908K 78643K 6363 0 kqueue 3 4K 9K 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 6 0 0 1 0 1 1 0 8 0 rtpcb 80 25 0 23 1 0 1 1 0 8 0 rtentry 112 51 0 10 2 0 2 2 0 8 0 unpcb 120 119 0 110 1 0 1 1 0 8 0 syncache 264 8 0 8 2 2 0 1 0 8 0 tcpqe 32 120 0 120 1 1 0 1 0 8 0 tcpcb 544 97 0 92 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 287 0 279 3 1 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 7 0 3 1 0 1 1 0 8 0 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 35 0 34 2 1 1 1 0 8 0 pftag 88 6 0 6 2 1 1 1 0 8 1 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 112 4 0 0 1 0 1 1 0 8 0 pfstate 328 2 0 0 1 0 1 1 0 8 0 pfrule 1360 6 0 4 2 1 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 213 0 40 13 0 13 13 0 8 0 art_table 32 214 0 40 2 0 2 2 0 8 0 art_node 16 50 0 12 1 0 1 1 0 8 0 semupl 112 3 0 3 2 1 1 1 0 8 1 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1595 0 197 88 0 88 88 0 8 0 ffsino 240 1595 0 197 83 0 83 83 0 8 0 nchpl 144 1968 0 367 60 0 60 60 0 8 0 uvmvnodes 72 1696 0 0 31 0 31 31 0 8 0 vnodes 208 1696 0 0 90 0 90 90 0 8 0 namei 1024 5102 0 5102 2 1 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 pfiaddrpl 120 10 0 10 2 1 1 1 0 8 1 scsiplug 64 1 0 1 1 0 1 1 0 8 1 scxspl 192 5753 0 5753 1 0 1 1 0 8 1 plimitpl 152 18 0 11 1 0 1 1 0 8 0 sigapl 424 355 0 305 6 0 6 6 0 8 0 futexpl 56 2801 0 2800 2 1 1 1 0 8 0 knotepl 112 68 0 49 1 0 1 1 0 8 0 kqueuepl 144 22 0 20 1 0 1 1 0 8 0 pipelkpl 16 87 0 76 1 0 1 1 0 8 0 pipepl 120 174 0 153 1 0 1 1 0 8 0 fdescpl 432 319 0 305 2 0 2 2 0 8 0 filepl 120 1928 0 1825 4 0 4 4 0 8 0 lockfpl 104 38 0 37 1 0 1 1 0 8 0 lockfspl 48 17 0 16 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 163 0 156 1 0 1 1 0 8 0 zombiepl 144 305 0 305 1 0 1 1 0 8 1 processpl 920 355 0 305 7 0 7 7 0 8 0 procpl 624 509 0 450 5 0 5 5 0 8 0 sosppl 128 4 0 4 1 1 0 1 0 8 0 sockpl 400 433 0 414 4 1 3 4 0 8 0 mcl64k 65536 9 0 9 2 1 1 1 0 8 1 mcl12k 12288 3 0 3 2 1 1 1 0 8 1 mcl9k 9216 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 6 0 6 2 1 1 1 0 8 1 mcl4k 4096 21 0 21 3 2 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 75051 0 75009 14 8 6 12 0 8 0 mtagpl 80 18 0 2 2 1 1 1 0 8 0 mbufpl 256 120983 0 120864 37 18 19 29 0 8 7 bufpl 280 3581 0 126 247 0 247 247 0 8 0 anonpl 16 44584 0 28957 68 2 66 66 0 107 0 amapchunkpl 152 2714 0 2567 22 2 20 20 0 158 14 amappl16 192 1414 0 536 45 0 45 45 0 8 0 amappl15 184 71 0 66 1 0 1 1 0 8 0 amappl14 176 27 0 19 1 0 1 1 0 8 0 amappl13 168 26 0 23 1 0 1 1 0 8 0 amappl12 160 11 0 9 1 0 1 1 0 8 0 amappl11 152 107 0 96 1 0 1 1 0 8 0 amappl10 144 11 0 8 1 0 1 1 0 8 0 amappl9 136 415 0 413 1 0 1 1 0 8 0 amappl8 128 377 0 335 2 0 2 2 0 8 0 amappl7 120 106 0 95 1 0 1 1 0 8 0 amappl6 112 22 0 20 1 0 1 1 0 8 0 amappl5 104 278 0 266 1 0 1 1 0 8 0 amappl4 96 423 0 393 1 0 1 1 0 8 0 amappl3 88 106 0 101 1 0 1 1 0 8 0 amappl2 80 1763 0 1698 2 0 2 2 0 8 0 amappl1 72 15415 0 14996 23 13 10 17 0 8 0 amappl 80 717 0 672 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 321 0 305 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 321 0 305 1 0 1 1 0 8 0 vmmpekpl 168 6348 0 6317 2 0 2 2 0 8 0 vmmpepl 168 45050 0 43068 113 18 95 109 0 357 4 vmsppl 272 320 0 305 2 0 2 2 0 8 0 pdppl 4096 648 0 612 6 1 5 6 0 8 0 pvpl 32 148997 0 130285 160 3 157 160 0 265 0 pmappl 200 320 0 305 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 270 0 36 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(ffffffff823e990f) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805da5a008,fffffd805da5a100,284) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d678c08,ffff80001d678c14,6,2) at tcp_input+0x477a sys/netinet/tcp_input.c:957 ip_deliver(ffff80001d678c08,ffff80001d678c14,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d678c08,ffff80001d678c14,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d678c08,ffff80001d678c14,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805c37b700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805c37b700,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d678d18) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d678d18) at if_input_process+0xf8 sys/net/if.c:942 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff80000002b080) at taskq_thread+0x92 sys/kern/kern_task.c:438 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(ffffffff823e990f) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805da5a008,fffffd805da5a100,284) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d678c08,ffff80001d678c14,6,2) at tcp_input+0x477a sys/netinet/tcp_input.c:957 ip_deliver(ffff80001d678c08,ffff80001d678c14,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d678c08,ffff80001d678c14,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d678c08,ffff80001d678c14,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd805c37b700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd805c37b700,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d678d18) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d678d18) at if_input_process+0xf8 sys/net/if.c:942 ifiq_process(ffff80000017a660) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff80000002b080) at taskq_thread+0x92 sys/kern/kern_task.c:438 end trace frame: 0x0, count: -12