login: panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 30934 87632 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ff6c4) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacc7d8,fffffd805dacc8d0,578) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f8198,ffff80001d6f81a4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f8198,ffff80001d6f81a4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f8198,ffff80001d6f81a4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f8198,ffff80001d6f81a4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806bc21c00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806bc21c00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f82a8) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f82a8) 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(ffffffff821ff6c4) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacc7d8,fffffd805dacc8d0,578) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f8198,ffff80001d6f81a4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f8198,ffff80001d6f81a4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f8198,ffff80001d6f81a4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f8198,ffff80001d6f81a4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806bc21c00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806bc21c00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f82a8) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f82a8) 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 0xffff80001d6f7d20 rbx 0xffff80001d6f7dd0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81638c7f kprintf+0x15f r9 0x1 r10 0x2 r11 0x19968ec8d30e7231 r12 0x3000000008 r13 0xffff80001d6f7d30 r14 0x100 r15 0x1 rip 0xffffffff81c224d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6f7d10 ss 0 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=30934 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6d1c30,0xffff80001d6d1760 process=0xffff8000ffffe730 user=0xffff80001d6f3000, vmspace=0xffffffff825bc290 estcpu=0, cpticks=0, pctcpu=0.46 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 7924 349804 88875 0 2 0 syz-executor.1 7924 84245 88875 0 2 0x4000000 syz-executor.1 7590 37914 12204 0 3 0x82 nanosleep syz-executor.0 88875 203452 12204 0 3 0x82 nanosleep syz-executor.1 12204 187689 7936 0 3 0x82 thrsleep syz-fuzzer 12204 473746 7936 0 3 0x4000082 nanosleep syz-fuzzer 12204 140679 7936 0 3 0x4000082 thrsleep syz-fuzzer 12204 169903 7936 0 3 0x4000082 thrsleep syz-fuzzer 12204 293090 7936 0 3 0x4000082 thrsleep syz-fuzzer 12204 502542 7936 0 3 0x4000082 kqread syz-fuzzer 12204 250540 7936 0 3 0x4000082 thrsleep syz-fuzzer 12204 28036 7936 0 3 0x4000082 thrsleep syz-fuzzer 7936 326530 47874 0 3 0x10008a pause ksh 47874 374028 57159 0 3 0x92 select sshd 90991 397553 1 0 3 0x100083 ttyin getty 57159 198334 1 0 3 0x80 select sshd 49521 191644 96735 73 3 0x100090 kqread syslogd 96735 278884 1 0 3 0x100082 netio syslogd 98665 41133 1 77 3 0x100090 poll dhclient 47909 496449 1 0 3 0x80 poll dhclient 66043 46317 0 0 3 0x14200 bored smr 33692 71560 0 0 2 0x14200 zerothread 51344 99664 0 0 3 0x14200 aiodoned aiodoned 54072 58714 0 0 3 0x14200 syncer update 37141 201749 0 0 3 0x14200 cleaner cleaner 32166 257415 0 0 3 0x14200 reaper reaper 80005 169171 0 0 3 0x14200 pgdaemon pagedaemon 84151 461307 0 0 3 0x14200 bored crynlk 63907 296234 0 0 3 0x14200 bored crypto 90588 83671 0 0 3 0x40014200 acpi0 acpi0 *87632 30934 0 0 7 0x14200 softnet 47317 489770 0 0 3 0x14200 bored systqmp 30205 309799 0 0 3 0x14200 bored systq 20605 44201 0 0 3 0x40014200 bored softclock 28668 334855 0 0 3 0x40014200 idle0 1 486407 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 9465 6329K 6464K 78643K 10619 0 pcb 13 8K 8K 78643K 25 0 rtable 84 3K 3K 78643K 240 0 ifaddr 51 11K 12K 78643K 83 0 counters 21 16K 16K 78643K 26 0 ioctlops 0 0K 4K 78643K 25 0 iov 0 0K 12K 78643K 6 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1241 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 70 0 proc 48 38K 63K 78643K 362 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 2 0 in_multi 39 2K 2K 78643K 55 0 ether_multi 1 0K 0K 78643K 2 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 185 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 118 22K 23K 78643K 996 0 UVM aobj 6 2K 2K 78643K 6 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 4 0 NDP 7 0K 0K 78643K 17 0 temp 74 3028K 3093K 78643K 2380 0 kqueue 3 4K 4K 78643K 3 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 19 0 17 1 0 1 1 0 8 0 rtentry 112 50 0 18 2 0 2 2 0 8 0 unpcb 120 25 0 17 1 0 1 1 0 8 0 syncache 264 8 0 8 2 1 1 1 0 8 1 tcpqe 32 416 0 416 2 1 1 1 0 8 1 tcpcb 544 30 0 25 1 0 1 1 0 8 0 inpcb 280 104 0 96 2 0 2 2 0 8 1 nd6 48 8 0 4 1 0 1 1 0 8 0 ppxss 1128 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 2 0 2 1 0 1 1 0 8 1 pfrule 1360 4 0 4 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 227 0 95 13 0 13 13 0 8 1 art_table 32 228 0 95 2 0 2 2 0 8 0 art_node 16 49 0 22 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1477 0 78 88 0 88 88 0 8 0 ffsino 240 1477 0 78 83 0 83 83 0 8 0 nchpl 144 1735 0 133 60 0 60 60 0 8 0 uvmvnodes 72 1530 0 0 28 0 28 28 0 8 0 vnodes 208 1530 0 0 81 0 81 81 0 8 0 namei 1024 4384 0 4384 2 1 1 1 0 8 1 scxspl 192 4581 0 4581 1 0 1 1 0 8 1 plimitpl 152 14 0 7 1 0 1 1 0 8 0 sigapl 424 256 0 228 4 0 4 4 0 8 0 futexpl 56 839 0 839 1 0 1 1 0 8 1 knotepl 112 61 0 42 1 0 1 1 0 8 0 kqueuepl 144 8 0 6 1 0 1 1 0 8 0 pipelkpl 16 78 0 68 1 0 1 1 0 8 0 pipepl 120 156 0 137 1 0 1 1 0 8 0 fdescpl 432 242 0 228 2 0 2 2 0 8 0 filepl 120 1305 0 1210 4 0 4 4 0 8 1 lockfpl 104 9 0 8 1 0 1 1 0 8 0 lockfspl 48 5 0 4 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 131 0 124 1 0 1 1 0 8 0 zombiepl 144 228 0 227 2 1 1 1 0 8 0 processpl 920 256 0 227 4 0 4 4 0 8 0 procpl 624 310 0 273 4 0 4 4 0 8 1 sockpl 400 148 0 130 3 0 3 3 0 8 1 mcl64k 65536 2 0 2 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 14 0 14 2 1 1 1 0 8 1 mcl2k 2048 74815 0 74744 24 7 17 19 0 8 7 mtagpl 80 4 0 2 2 1 1 1 0 8 0 mbufpl 256 119196 0 119074 14 3 11 13 0 8 1 bufpl 280 3354 0 126 231 0 231 231 0 8 0 anonpl 16 37169 0 23022 60 2 58 58 0 107 0 amapchunkpl 152 1022 0 895 7 0 7 7 0 158 1 amappl16 192 1002 0 239 39 0 39 39 0 8 0 amappl15 184 2 0 1 1 0 1 1 0 8 0 amappl14 176 45 0 37 1 0 1 1 0 8 0 amappl13 168 26 0 23 1 0 1 1 0 8 0 amappl12 160 44 0 38 1 0 1 1 0 8 0 amappl11 152 49 0 39 1 0 1 1 0 8 0 amappl10 144 12 0 6 1 0 1 1 0 8 0 amappl9 136 20 0 19 1 0 1 1 0 8 0 amappl8 128 318 0 278 2 0 2 2 0 8 0 amappl7 120 106 0 94 1 0 1 1 0 8 0 amappl6 112 23 0 21 1 0 1 1 0 8 0 amappl5 104 903 0 889 1 0 1 1 0 8 0 amappl4 96 422 0 393 1 0 1 1 0 8 0 amappl3 88 104 0 99 1 0 1 1 0 8 0 amappl2 80 1123 0 1059 2 0 2 2 0 8 0 amappl1 72 13892 0 13482 24 14 10 17 0 8 1 amappl 80 529 0 490 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 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 242 0 228 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 242 0 228 1 0 1 1 0 8 0 vmmpekpl 168 5834 0 5807 2 0 2 2 0 8 0 vmmpepl 168 36755 0 34910 113 9 104 104 0 357 23 vmsppl 272 241 0 228 2 0 2 2 0 8 1 pdppl 4096 490 0 456 6 0 6 6 0 8 1 pvpl 32 129254 0 112144 142 0 142 142 0 265 3 pmappl 200 241 0 228 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 251 0 14 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(ffffffff821ff6c4) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacc7d8,fffffd805dacc8d0,578) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f8198,ffff80001d6f81a4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f8198,ffff80001d6f81a4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f8198,ffff80001d6f81a4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f8198,ffff80001d6f81a4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806bc21c00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806bc21c00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f82a8) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f82a8) 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(ffffffff821ff6c4) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dacc7d8,fffffd805dacc8d0,578) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d6f8198,ffff80001d6f81a4,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d6f8198,ffff80001d6f81a4,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d6f8198,ffff80001d6f81a4,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d6f8198,ffff80001d6f81a4,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd806bc21c00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd806bc21c00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d6f82a8) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d6f82a8) 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