panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *494813 82220 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821fc6dd) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacb008,fffffd805dacb100,3c4) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d707f18,ffff80001d707f24,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d707f18,ffff80001d707f24,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d707f18,ffff80001d707f24,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d707f18,ffff80001d707f24,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806b6c3000) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806b6c3000,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708028) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708028) 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(ffffffff821fc6dd) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacb008,fffffd805dacb100,3c4) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d707f18,ffff80001d707f24,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d707f18,ffff80001d707f24,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d707f18,ffff80001d707f24,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d707f18,ffff80001d707f24,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806b6c3000) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806b6c3000,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708028) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708028) 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 0xffff80001d707aa0 rbx 0xffff80001d707b50 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff813a9b8f kprintf+0x15f r9 0x1 r10 0x2 r11 0x7b759deed74c0464 r12 0x3000000008 r13 0xffff80001d707ab0 r14 0x100 r15 0x1 rip 0xffffffff812792c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d707a90 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=494813 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6e1ea0,0xffff80001d6e19d0 process=0xffff8000ffffe398 user=0xffff80001d703000, vmspace=0xffffffff82593550 estcpu=0, cpticks=0, pctcpu=0.3 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 80159 404462 33481 0 3 0x80 nanosleep syz-executor.1 80159 490710 33481 0 3 0x4000080 netcon syz-executor.1 80159 411972 33481 0 3 0x4000080 fsleep syz-executor.1 33481 342503 65054 0 3 0x82 nanosleep syz-executor.1 12980 146707 65054 0 3 0x82 piperd syz-executor.0 65054 19534 54700 0 3 0x82 thrsleep syz-fuzzer 65054 24941 54700 0 3 0x4000082 thrsleep syz-fuzzer 65054 427632 54700 0 3 0x4000082 thrsleep syz-fuzzer 65054 354753 54700 0 3 0x4000082 thrsleep syz-fuzzer 65054 412312 54700 0 3 0x4000082 thrsleep syz-fuzzer 65054 291162 54700 0 3 0x4000082 thrsleep syz-fuzzer 65054 209490 54700 0 3 0x4000082 thrsleep syz-fuzzer 65054 414029 54700 0 3 0x4000082 kqread syz-fuzzer 54700 170921 93453 0 3 0x10008a pause ksh 93453 417149 88854 0 3 0x92 select sshd 52369 61091 1 0 3 0x100083 ttyin getty 88854 95284 1 0 3 0x80 select sshd 35491 323809 63569 73 3 0x100090 kqread syslogd 63569 294365 1 0 3 0x100082 netio syslogd 80437 424273 1 77 3 0x100090 poll dhclient 62785 253302 1 0 3 0x80 poll dhclient 99578 294206 0 0 3 0x14200 bored smr 29166 39953 0 0 3 0x14200 pgzero zerothread 16810 426077 0 0 3 0x14200 aiodoned aiodoned 24859 85265 0 0 3 0x14200 syncer update 95142 86994 0 0 3 0x14200 cleaner cleaner 64949 103025 0 0 3 0x14200 reaper reaper 37775 90700 0 0 3 0x14200 pgdaemon pagedaemon 3673 422821 0 0 3 0x14200 bored crynlk 93348 281903 0 0 3 0x14200 bored crypto 40374 409731 0 0 3 0x40014200 acpi0 acpi0 *82220 494813 0 0 7 0x14200 softnet 88810 429488 0 0 3 0x14200 bored systqmp 73983 354554 0 0 3 0x14200 bored systq 76699 289490 0 0 3 0x40014200 bored softclock 2376 423265 0 0 3 0x40014200 idle0 1 24966 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 9487 6338K 14532K 78643K 10827 0 pcb 13 8K 8K 78643K 97 0 rtable 96 3K 4K 78643K 261 0 ifaddr 60 12K 12K 78643K 92 0 counters 21 16K 16K 78643K 26 0 ioctlops 0 0K 2K 78643K 25 0 iov 0 0K 12K 78643K 22 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1314 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 0K 0K 78643K 32 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 197 0 sigio 0 0K 0K 78643K 6 0 proc 50 38K 63K 78643K 367 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 27 0 in_multi 32 2K 2K 78643K 87 0 ether_multi 1 0K 0K 78643K 14 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 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 107 21K 38K 78643K 1369 0 UVM aobj 9 2K 2K 78643K 9 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 88 0 NDP 10 0K 0K 78643K 21 0 temp 84 3036K 3100K 78643K 2444 0 kqueue 3 4K 9K 78643K 23 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 35 0 33 1 0 1 1 0 8 0 rtentry 112 53 0 15 2 0 2 2 0 8 0 unpcb 120 109 0 100 1 0 1 1 0 8 0 syncache 264 7 0 7 2 1 1 1 0 8 1 tcpqe 32 90 0 90 2 1 1 1 0 8 1 tcpcb 544 310 0 304 1 0 1 1 0 8 0 ipq 40 3 0 3 1 1 0 1 0 8 0 ipqe 40 49 0 49 1 1 0 1 0 8 0 inpcb 280 503 0 493 2 0 2 2 0 8 1 nd6 48 8 0 6 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 3 0 3 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 236 0 80 12 0 12 12 0 8 0 art_table 32 237 0 80 2 0 2 2 0 8 0 art_node 16 52 0 16 1 0 1 1 0 8 0 semapl 112 28 0 18 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1674 0 278 88 0 88 88 0 8 0 ffsino 240 1674 0 278 83 0 83 83 0 8 0 nchpl 144 2113 0 512 60 0 60 60 0 8 0 uvmvnodes 72 1768 0 0 33 0 33 33 0 8 0 vnodes 208 1768 0 0 94 0 94 94 0 8 0 namei 1024 5391 0 5391 1 0 1 1 0 8 1 vmpool 528 2 0 2 1 0 1 1 0 8 1 scxspl 192 5593 0 5593 1 0 1 1 0 8 1 plimitpl 152 32 0 25 1 0 1 1 0 8 0 sigapl 424 383 0 355 4 0 4 4 0 8 0 futexpl 56 4648 0 4647 1 0 1 1 0 8 0 knotepl 112 82 0 63 1 0 1 1 0 8 0 kqueuepl 144 26 0 24 1 0 1 1 0 8 0 pipelkpl 16 84 0 74 1 0 1 1 0 8 0 pipepl 120 168 0 149 1 0 1 1 0 8 0 fdescpl 432 369 0 355 2 0 2 2 0 8 0 filepl 120 2317 0 2219 4 0 4 4 0 8 1 lockfpl 104 57 0 56 1 0 1 1 0 8 0 lockfspl 48 20 0 19 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 185 0 177 1 0 1 1 0 8 0 zombiepl 144 355 0 355 1 0 1 1 0 8 1 processpl 920 383 0 355 4 0 4 4 0 8 0 procpl 624 678 0 641 4 0 4 4 0 8 1 sockpl 400 651 0 630 4 1 3 4 0 8 0 mcl64k 65536 24 0 24 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 4 0 4 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 4 0 4 2 2 0 1 0 8 0 mcl4k 4096 26 0 26 2 1 1 1 0 8 1 mcl2k 2048 63847 0 63797 17 10 7 14 0 8 0 mtagpl 80 16 0 2 2 1 1 1 0 8 0 mbufpl 256 103136 0 102998 21 9 12 18 0 8 0 bufpl 280 3538 0 128 244 0 244 244 0 8 0 anonpl 16 47023 0 33019 60 1 59 59 0 107 0 amapchunkpl 152 2125 0 1999 21 13 8 19 0 158 3 amappl16 192 1491 0 711 41 0 41 41 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 187 0 180 1 0 1 1 0 8 0 amappl13 168 187 0 183 1 0 1 1 0 8 0 amappl12 160 10 0 7 1 0 1 1 0 8 0 amappl11 152 44 0 35 1 0 1 1 0 8 0 amappl10 144 14 0 9 1 0 1 1 0 8 0 amappl9 136 363 0 361 1 0 1 1 0 8 0 amappl8 128 283 0 262 1 0 1 1 0 8 0 amappl7 120 109 0 96 1 0 1 1 0 8 0 amappl6 112 23 0 20 1 0 1 1 0 8 0 amappl5 104 161 0 151 1 0 1 1 0 8 0 amappl4 96 590 0 560 1 0 1 1 0 8 0 amappl3 88 271 0 263 1 0 1 1 0 8 0 amappl2 80 2133 0 2068 2 0 2 2 0 8 0 amappl1 72 16599 0 16194 23 14 9 17 0 8 0 amappl 80 907 0 867 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 8 0 0 1 0 1 1 0 8 0 uaddrrnd 24 371 0 357 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 371 0 357 1 0 1 1 0 8 0 vmmpekpl 168 6577 0 6550 2 0 2 2 0 8 0 vmmpepl 168 50779 0 48952 107 19 88 101 0 357 4 vmsppl 272 370 0 357 3 1 2 2 0 8 1 pdppl 4096 748 0 714 6 1 5 6 0 8 0 pvpl 32 158343 0 141373 151 4 147 147 0 265 6 pmappl 200 370 0 357 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 252 0 27 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(ffffffff821fc6dd) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacb008,fffffd805dacb100,3c4) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d707f18,ffff80001d707f24,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d707f18,ffff80001d707f24,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d707f18,ffff80001d707f24,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d707f18,ffff80001d707f24,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806b6c3000) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806b6c3000,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708028) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708028) 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(ffffffff821fc6dd) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacb008,fffffd805dacb100,3c4) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d707f18,ffff80001d707f24,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d707f18,ffff80001d707f24,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d707f18,ffff80001d707f24,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d707f18,ffff80001d707f24,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806b6c3000) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806b6c3000,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708028) at if_input_process+0xf8 if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017a2a8,ffff80001d708028) 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