panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *151353 99991 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821fcde5) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dac8008,fffffd805dac8100,b00) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708c08,ffff80001d708c14,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708c08,ffff80001d708c14,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708c08,ffff80001d708c14,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708c08,ffff80001d708c14,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80593c2e00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd80593c2e00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708d18) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d708d18) 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(ffffffff821fcde5) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dac8008,fffffd805dac8100,b00) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708c08,ffff80001d708c14,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708c08,ffff80001d708c14,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708c08,ffff80001d708c14,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708c08,ffff80001d708c14,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80593c2e00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd80593c2e00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708d18) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d708d18) 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 0xffff80001d708790 rbx 0xffff80001d708840 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff81726bbf kprintf+0x15f r9 0x1 r10 0x2 r11 0x1897b81ea9cfcf87 r12 0x3000000008 r13 0xffff80001d7087a0 r14 0x100 r15 0x1 rip 0xffffffff82065928 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d708780 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softnet) pid=151353 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6e19c0,0xffff80001d6e1010 process=0xffff8000ffffee60 user=0xffff80001d703000, vmspace=0xffffffff8257aa00 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 88213 134153 64479 0 3 0x82 nanosleep syz-executor.1 37466 195662 1 0 3 0x100083 ttyin getty 58404 502421 0 0 3 0x14200 bored sosplice 93147 348331 64479 0 2 0x2 syz-executor.0 64479 255138 95941 0 3 0x82 thrsleep syz-fuzzer 64479 497298 95941 0 3 0x4000082 nanosleep syz-fuzzer 64479 136387 95941 0 3 0x4000082 kqread syz-fuzzer 64479 276220 95941 0 3 0x4000082 thrsleep syz-fuzzer 64479 412497 95941 0 3 0x4000082 thrsleep syz-fuzzer 64479 503894 95941 0 3 0x4000082 thrsleep syz-fuzzer 64479 330439 95941 0 3 0x4000082 thrsleep syz-fuzzer 64479 195293 95941 0 3 0x4000082 thrsleep syz-fuzzer 95941 162058 75660 0 3 0x10008a pause ksh 75660 475903 35359 0 3 0x92 select sshd 35359 477823 1 0 3 0x80 select sshd 45287 162381 39833 73 3 0x100090 kqread syslogd 39833 375119 1 0 3 0x100082 netio syslogd 36076 373604 1 77 3 0x100090 poll dhclient 87892 84173 1 0 3 0x80 poll dhclient 627 474266 0 0 3 0x14200 bored smr 90572 124522 0 0 2 0x14200 zerothread 86390 229249 0 0 3 0x14200 aiodoned aiodoned 14838 149503 0 0 3 0x14200 syncer update 5089 371565 0 0 3 0x14200 cleaner cleaner 2092 219111 0 0 3 0x14200 reaper reaper 49453 507620 0 0 3 0x14200 pgdaemon pagedaemon 8568 167771 0 0 3 0x14200 bored crynlk 7139 73945 0 0 3 0x14200 bored crypto 93894 123661 0 0 3 0x40014200 acpi0 acpi0 *99991 151353 0 0 7 0x14200 softnet 39738 131279 0 0 3 0x14200 bored systqmp 65574 354470 0 0 3 0x14200 bored systq 12699 405985 0 0 3 0x40014200 bored softclock 69881 410972 0 0 3 0x40014200 idle0 1 50191 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 9509 6597K 6855K 78643K 11191 0 pcb 13 8K 8K 78643K 95 0 rtable 118 6K 6K 78643K 403 0 ifaddr 73 15K 17K 78643K 149 0 counters 21 16K 17K 78643K 31 0 ioctlops 0 0K 4K 78643K 70 0 iov 0 0K 16K 78643K 68 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1457 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 92 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 4 9K 21K 78643K 425 0 sigio 0 0K 0K 78643K 24 0 proc 51 38K 55K 78643K 425 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 20 0 in_multi 61 3K 3K 78643K 115 0 ether_multi 1 0K 0K 78643K 9 0 mrt 0 0K 0K 78643K 6 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 236 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 134 104K 104K 78643K 1866 0 UVM aobj 22 2K 2K 78643K 22 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 59 0 NDP 11 0K 0K 78643K 29 0 temp 116 3045K 3112K 78643K 11929 0 kqueue 3 4K 12K 78643K 19 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 2 1 0 1 1 0 8 0 rtpcb 80 31 0 29 1 0 1 1 0 8 0 rtentry 112 76 0 32 2 0 2 2 0 8 0 unpcb 120 829 0 821 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 sackhl 24 1 0 1 1 0 1 1 0 8 1 tcpqe 32 107 0 107 1 1 0 1 0 8 0 tcpcb 544 214 0 210 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 523 0 516 4 2 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 14 0 9 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pfrktable 1344 27 0 22 1 0 1 1 0 8 0 pftag 88 12 0 10 3 2 1 1 0 8 0 pfstitem 24 1 0 0 1 0 1 1 0 8 0 pfstkey 112 2 0 1 1 0 1 1 0 8 0 pfstate 328 2 0 1 1 0 1 1 0 8 0 pfrule 1360 20 0 10 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 344 0 157 15 1 14 14 0 8 0 art_table 32 346 0 157 2 0 2 2 0 8 0 art_node 16 75 0 34 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 6 1 0 1 1 0 8 0 semapl 112 88 0 78 1 0 1 1 0 8 0 shmpl 112 20 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2065 0 665 88 0 88 88 0 8 0 ffsino 240 2065 0 665 83 0 83 83 0 8 0 nchpl 144 2862 0 1278 60 0 60 60 0 8 0 uvmvnodes 72 2263 0 0 42 0 42 42 0 8 0 vnodes 208 2263 0 0 120 0 120 120 0 8 0 namei 1024 8105 0 8104 1 0 1 1 0 8 0 vcpupl 1984 9 0 0 2 0 2 2 0 8 0 vmpool 528 9 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 12 0 8 1 0 1 1 0 8 0 scxspl 192 7548 0 7548 1 0 1 1 0 8 1 plimitpl 152 51 0 44 1 0 1 1 0 8 0 sigapl 424 612 0 584 4 0 4 4 0 8 0 futexpl 56 9069 0 9069 1 0 1 1 0 8 1 knotepl 112 95 0 76 1 0 1 1 0 8 0 kqueuepl 144 56 0 53 1 0 1 1 0 8 0 pipelkpl 16 152 0 142 1 0 1 1 0 8 0 pipepl 120 304 0 285 1 0 1 1 0 8 0 fdescpl 432 595 0 582 2 0 2 2 0 8 0 filepl 120 4499 0 4404 4 0 4 4 0 8 1 lockfpl 104 463 0 462 1 0 1 1 0 8 0 lockfspl 48 120 0 119 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 727 0 720 1 0 1 1 0 8 0 zombiepl 144 584 0 583 1 0 1 1 0 8 0 processpl 920 612 0 583 4 0 4 4 0 8 0 procpl 624 1088 0 1052 4 0 4 4 0 8 0 sosppl 128 7 0 7 2 1 1 1 0 8 1 sockpl 400 1388 0 1371 5 2 3 4 0 8 1 mcl64k 65536 34 0 34 3 2 1 1 0 8 1 mcl16k 16384 3 0 3 1 1 0 1 0 8 0 mcl12k 12288 14 0 13 3 2 1 1 0 8 0 mcl9k 9216 3 0 3 3 2 1 1 0 8 1 mcl8k 8192 14 0 14 3 2 1 1 0 8 1 mcl4k 4096 34 0 34 3 2 1 1 0 8 1 mcl2k2 2112 4 0 4 2 2 0 1 0 8 0 mcl2k 2048 72718 0 72663 16 9 7 14 0 8 0 mtagpl 80 42 0 19 2 1 1 1 0 8 0 mbufpl 256 118599 0 118395 25 8 17 22 0 8 4 bufpl 280 3971 0 126 275 0 275 275 0 8 0 anonpl 16 74223 0 58866 82 17 65 79 0 107 1 amapchunkpl 152 2570 0 2444 9 2 7 9 0 158 0 amappl16 192 3053 0 2210 57 12 45 55 0 8 2 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 27 0 21 1 0 1 1 0 8 0 amappl13 168 33 0 30 1 0 1 1 0 8 0 amappl12 160 15 0 13 1 0 1 1 0 8 0 amappl11 152 249 0 239 1 0 1 1 0 8 0 amappl10 144 98 0 89 1 0 1 1 0 8 0 amappl9 136 406 0 404 1 0 1 1 0 8 0 amappl8 128 463 0 418 2 0 2 2 0 8 0 amappl7 120 192 0 181 1 0 1 1 0 8 0 amappl6 112 220 0 215 1 0 1 1 0 8 0 amappl5 104 664 0 652 1 0 1 1 0 8 0 amappl4 96 444 0 416 1 0 1 1 0 8 0 amappl3 88 117 0 109 1 0 1 1 0 8 0 amappl2 80 3863 0 3802 2 0 2 2 0 8 0 amappl1 72 20020 0 19618 24 15 9 17 0 8 0 amappl 80 1334 0 1290 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 21 0 0 1 0 1 1 0 8 0 uaddrrnd 24 604 0 582 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 604 0 582 1 0 1 1 0 8 0 vmmpekpl 168 8034 0 8006 2 0 2 2 0 8 0 vmmpepl 168 77077 0 75231 132 35 97 118 0 357 6 vmsppl 272 603 0 582 3 1 2 2 0 8 0 pdppl 4096 1214 0 1173 6 0 6 6 0 8 0 pvpl 32 216164 0 197894 193 22 171 193 0 265 19 pmappl 200 603 0 582 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 265 0 30 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(ffffffff821fcde5) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dac8008,fffffd805dac8100,b00) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708c08,ffff80001d708c14,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708c08,ffff80001d708c14,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708c08,ffff80001d708c14,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708c08,ffff80001d708c14,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80593c2e00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd80593c2e00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708d18) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d708d18) 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(ffffffff821fcde5) at panic+0x15c sys/kern/subr_prf.c:207 sbdrop(fffffd805dac8008,fffffd805dac8100,b00) at sbdrop+0x3a6 sys/kern/uipc_socket2.c:953 tcp_input(ffff80001d708c08,ffff80001d708c14,6,2) at tcp_input+0x38ce sys/netinet/tcp_input.c:1725 ip_deliver(ffff80001d708c08,ffff80001d708c14,6,2) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip_ours(ffff80001d708c08,ffff80001d708c14,2,0) at ip_ours+0x4fe sys/netinet/ip_input.c:563 ip_input_if(ffff80001d708c08,ffff80001d708c14,4,0,ffff80000017a2a8) at ip_input_if+0x571 ipv4_input(ffff80000017a2a8,fffffd80593c2e00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017a2a8,fffffd80593c2e00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017a2a8,ffff80001d708d18) at if_input_process+0xf8 if_ih_input sys/net/if.c:908 [inline] if_input_process(ffff80000017a2a8,ffff80001d708d18) 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