W%Nt˜[ك;BkzeL Y9t!jS~PA^2#Ųm-x>Ӄ+_ƩH;B$/8E$ٓ4dH\}oipanic: receive 1: so 0xfffffd806aa8d320, so_type 3, sb_cc 7965 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *399955 14360 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821cda5f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806aa8d320,0,ffff80001d772c88,0,0,ffff80001d772b94) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd8069df3690,ffff80001d772c88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d7394e8,6,ffff80001d772c88,0,ffff80001d772d70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d7394e8,ffff80001d772d20,ffff80001d772d70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d772df0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcea20, count: 7 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 receive 1: so 0xfffffd806aa8d320, so_type 3, sb_cc 7965 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821cda5f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806aa8d320,0,ffff80001d772c88,0,0,ffff80001d772b94) at soreceive+0x16ac sys/kern/uipc_socket.c:823 soo_read(fffffd8069df3690,ffff80001d772c88,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d7394e8,6,ffff80001d772c88,0,ffff80001d772d70) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d7394e8,ffff80001d772d20,ffff80001d772d70) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d772df0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcea20, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d7729d0 rbx 0xffff80001d772a80 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d772990 r9 0x1 r10 0 r11 0x8e7a31e1df383e3a r12 0x3000000008 r13 0xffff80001d7729e0 r14 0x100 r15 0x1 rip 0xffffffff81eb0e88 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d7729c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=399955 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d73a5f8,0xffff80001d739288 process=0xffff8000ffffa740 user=0xffff80001d76d000, vmspace=0xfffffd806bc09660 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 78731 434265 96364 0 2 0 syz-executor.1 78731 348874 96364 0 3 0x4000000 smrbar syz-executor.1 71792 317133 1 0 3 0x100083 ttyin getty 83911 241324 0 0 3 0x14200 bored sosplice 25898 128202 0 0 3 0x14200 acct acct 64155 522962 68781 0 3 0x82 nanosleep syz-executor.0 96364 65668 68781 0 3 0x82 nanosleep syz-executor.1 68781 22214 18353 0 3 0x82 thrsleep syz-fuzzer 68781 348136 18353 0 3 0x4000082 thrsleep syz-fuzzer 68781 492014 18353 0 3 0x4000082 thrsleep syz-fuzzer 68781 145425 18353 0 3 0x4000082 thrsleep syz-fuzzer 68781 404573 18353 0 3 0x4000082 kqread syz-fuzzer 68781 436633 18353 0 3 0x4000082 thrsleep syz-fuzzer 68781 291353 18353 0 3 0x4000082 thrsleep syz-fuzzer 18353 388304 3739 0 3 0x10008a pause ksh 3739 390988 91971 0 3 0x92 select sshd 91971 483688 1 0 3 0x80 select sshd 88223 128363 42397 73 3 0x100090 kqread syslogd 42397 496483 1 0 3 0x100082 netio syslogd 48931 204922 1 77 3 0x100090 poll dhclient *14360 399955 1 0 7 0 dhclient 21271 432545 0 0 3 0x14200 bored smr 65115 18839 0 0 2 0x14200 zerothread 33098 411211 0 0 3 0x14200 aiodoned aiodoned 45487 229135 0 0 3 0x14200 syncer update 49848 251918 0 0 3 0x14200 cleaner cleaner 9662 413626 0 0 3 0x14200 reaper reaper 65738 205875 0 0 3 0x14200 pgdaemon pagedaemon 12499 81380 0 0 3 0x14200 bored crynlk 78882 184434 0 0 3 0x14200 bored crypto 27373 328796 0 0 3 0x40014200 acpi0 acpi0 55156 342972 0 0 3 0x14200 bored softnet 2337 23874 0 0 3 0x14200 bored systqmp 22945 43577 0 0 3 0x14200 bored systq 23530 466307 0 0 3 0x40014200 bored softclock 86990 253778 0 0 3 0x40014200 idle0 1 88769 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 6351K 6717K 78643K 11122 0 pcb 13 8K 8K 78643K 81 0 rtable 101 3K 4K 78643K 340 0 ifaddr 89 18K 18K 78643K 139 0 counters 22 16K 17K 78643K 29 0 ioctlops 0 0K 2K 78643K 28 0 iov 0 0K 16K 78643K 38 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1406 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 9 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 38 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 331 0 sigio 0 0K 0K 78643K 4 0 proc 49 38K 63K 78643K 406 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 100 0 in_multi 93 4K 4K 78643K 164 0 ether_multi 1 0K 0K 78643K 11 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 208 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 94 37K 39K 78643K 1606 0 UVM aobj 33 4K 4K 78643K 35 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 80 0 NDP 13 0K 0K 78643K 27 0 temp 98 3034K 3098K 78643K 5469 0 kqueue 3 4K 12K 78643K 30 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 7 0 1 1 0 1 1 0 8 0 rtpcb 80 43 0 41 1 0 1 1 0 8 0 rtentry 112 72 0 33 2 0 2 2 0 8 0 unpcb 120 175 0 167 1 0 1 1 0 8 0 syncache 264 9 0 9 2 1 1 1 0 8 1 tcpqe 32 251 0 251 2 1 1 1 0 8 1 tcpcb 544 303 0 296 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 45 0 45 1 1 0 1 0 8 0 inpcb 280 687 0 679 2 0 2 2 0 8 1 rttmr 72 2 0 2 2 2 0 1 0 8 0 nd6 48 11 0 9 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 299 0 132 14 0 14 14 0 8 2 art_table 32 301 0 132 2 0 2 2 0 8 0 art_node 16 71 0 34 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 8 1 0 1 1 0 8 1 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 36 0 26 1 0 1 1 0 8 0 shmpl 112 33 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1890 0 490 88 0 88 88 0 8 0 ffsino 240 1890 0 490 83 0 83 83 0 8 0 nchpl 144 2643 0 1033 60 0 60 60 0 8 0 uvmvnodes 72 2053 0 0 38 0 38 38 0 8 0 vnodes 208 2053 0 0 109 0 109 109 0 8 0 namei 1024 6825 0 6825 1 0 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 4 0 2 1 0 1 1 0 8 0 scxspl 192 7452 0 7452 1 0 1 1 0 8 1 plimitpl 152 54 0 47 1 0 1 1 0 8 0 sigapl 424 520 0 490 4 0 4 4 0 8 0 futexpl 56 7021 0 7021 1 0 1 1 0 8 1 knotepl 112 94 0 75 1 0 1 1 0 8 0 kqueuepl 144 72 0 69 1 0 1 1 0 8 0 pipelkpl 16 123 0 113 1 0 1 1 0 8 0 pipepl 120 246 0 227 1 0 1 1 0 8 0 fdescpl 432 504 0 490 2 0 2 2 0 8 0 filepl 120 3306 0 3211 4 0 4 4 0 8 1 lockfpl 104 70 0 69 1 0 1 1 0 8 0 lockfspl 48 21 0 20 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 22 0 12 1 0 1 1 0 8 0 ucredpl 96 291 0 284 1 0 1 1 0 8 0 zombiepl 144 490 0 489 1 0 1 1 0 8 0 processpl 920 520 0 489 4 0 4 4 0 8 0 procpl 624 900 0 862 4 0 4 4 0 8 1 sosppl 128 7 0 7 1 1 0 1 0 8 0 sockpl 400 907 0 889 3 0 3 3 0 8 1 mcl64k 65536 43 0 43 1 0 1 1 0 8 1 mcl16k 16384 2 0 2 1 1 0 1 0 8 0 mcl12k 12288 5 0 5 2 1 1 1 0 8 1 mcl9k 9216 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 11 0 11 1 0 1 1 0 8 1 mcl4k 4096 29 0 29 2 1 1 1 0 8 1 mcl2k2 2112 2 0 2 2 1 1 1 0 8 1 mcl2k 2048 62904 0 62847 19 11 8 17 0 8 0 mtagpl 80 17 0 2 2 1 1 1 0 8 0 mbufpl 256 102143 0 101892 23 6 17 18 0 8 0 bufpl 280 4507 0 185 309 0 309 309 0 8 0 anonpl 16 64310 0 49558 79 4 75 75 0 107 15 amapchunkpl 152 2881 0 2746 16 0 16 16 0 158 9 amappl16 192 2683 0 1876 56 7 49 52 0 8 8 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 23 0 19 1 0 1 1 0 8 0 amappl13 168 23 0 22 1 0 1 1 0 8 0 amappl12 160 164 0 161 2 1 1 1 0 8 0 amappl11 152 203 0 190 1 0 1 1 0 8 0 amappl10 144 15 0 11 1 0 1 1 0 8 0 amappl9 136 382 0 378 1 0 1 1 0 8 0 amappl8 128 268 0 253 1 0 1 1 0 8 0 amappl7 120 107 0 96 1 0 1 1 0 8 0 amappl6 112 164 0 162 1 0 1 1 0 8 0 amappl5 104 590 0 577 1 0 1 1 0 8 0 amappl4 96 426 0 400 1 0 1 1 0 8 0 amappl3 88 116 0 109 1 0 1 1 0 8 0 amappl2 80 3238 0 3176 3 1 2 3 0 8 0 amappl1 72 18523 0 18122 27 18 9 20 0 8 0 amappl 80 1140 0 1097 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 34 0 2 1 0 1 1 0 8 0 uaddrrnd 24 508 0 492 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 508 0 492 1 0 1 1 0 8 0 vmmpekpl 168 7360 0 7333 2 0 2 2 0 8 0 vmmpepl 168 66386 0 64538 110 17 93 103 0 357 11 vmsppl 272 507 0 492 3 1 2 2 0 8 0 pdppl 4096 1022 0 986 7 1 6 6 0 8 1 pvpl 32 190618 0 172866 179 3 176 177 0 265 31 pmappl 200 507 0 492 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 258 0 23 7 0 7 7 0 8 0