login: 3`;g!a&0|b:]ؤJM"Q-Ng: -;UGM3`;g!a&0|b:]ؤJM"Q-Ng: -;UGMpanic: receive 3: so 0xfffffd805e566640, so_type 3, m 0xfffffd805bb4b100, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *503228 6637 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ae49a) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e566640,0,ffff80001d372ae8,0,0,ffff80001d3729f4) at soreceive+0x16e7 soo_read(fffffd8060ff3690,ffff80001d372ae8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3399c8,6,ffff80001d372ae8,0,ffff80001d372bd0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3399c8,ffff80001d372b80,ffff80001d372bd0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372c50) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca5d0, 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 3: so 0xfffffd805e566640, so_type 3, m 0xfffffd805bb4b100, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ae49a) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e566640,0,ffff80001d372ae8,0,0,ffff80001d3729f4) at soreceive+0x16e7 soo_read(fffffd8060ff3690,ffff80001d372ae8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3399c8,6,ffff80001d372ae8,0,ffff80001d372bd0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3399c8,ffff80001d372b80,ffff80001d372bd0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372c50) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca5d0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372830 rbx 0xffff80001d3728e0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3727f0 r9 0x1 r10 0 r11 0x5d3143731e1f6394 r12 0x3000000008 r13 0xffff80001d372840 r14 0x100 r15 0x1 rip 0xffffffff82082f48 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372820 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=503228 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d339c38,0xffff80001d339eb8 process=0xffff8000ffffa390 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a220 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 64202 162234 69946 0 2 0 syz-executor.0 64202 93166 69946 0 2 0x4000000 syz-executor.0 98076 280438 33790 0 2 0x2 syz-executor.1 69946 71495 33790 0 3 0x82 nanosleep syz-executor.0 33790 121677 44708 0 3 0x82 thrsleep syz-fuzzer 33790 467291 44708 0 3 0x4000082 nanosleep syz-fuzzer 33790 377121 44708 0 3 0x4000082 thrsleep syz-fuzzer 33790 59735 44708 0 3 0x4000082 thrsleep syz-fuzzer 33790 453895 44708 0 3 0x4000082 thrsleep syz-fuzzer 33790 55845 44708 0 3 0x4000082 thrsleep syz-fuzzer 33790 252109 44708 0 3 0x4000082 thrsleep syz-fuzzer 33790 45160 44708 0 3 0x4000082 kqread syz-fuzzer 44708 189720 60316 0 3 0x10008a pause ksh 60316 220861 63575 0 3 0x92 select sshd 10542 62531 1 0 3 0x100083 ttyin getty 63575 413032 1 0 3 0x80 select sshd 76357 454354 73451 73 3 0x100090 kqread syslogd 73451 147843 1 0 3 0x100082 netio syslogd 29420 182577 1 77 2 0x100010 dhclient * 6637 503228 1 0 7 0 dhclient 8989 306505 0 0 2 0x14200 zerothread 19803 47848 0 0 3 0x14200 aiodoned aiodoned 79997 56714 0 0 3 0x14200 syncer update 94325 52192 0 0 3 0x14200 cleaner cleaner 9918 329567 0 0 3 0x14200 reaper reaper 55492 126549 0 0 3 0x14200 pgdaemon pagedaemon 56591 114963 0 0 3 0x14200 bored crynlk 63513 195280 0 0 3 0x14200 bored crypto 55402 393076 0 0 3 0x40014200 acpi0 acpi0 77910 131953 0 0 3 0x14200 bored softnet 71044 435608 0 0 3 0x14200 bored systqmp 16612 194371 0 0 3 0x14200 bored systq 8525 513792 0 0 2 0x40014200 softclock 2515 192452 0 0 3 0x40014200 idle0 88824 58454 0 0 3 0x14200 bored smr 1 124757 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 9464 6392K 6971K 78643K 10620 0 pcb 13 8K 8K 78643K 27 0 rtable 99 2K 3K 78643K 205 0 ifaddr 43 10K 10K 78643K 49 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 15 0 iov 0 0K 2K 78643K 10 0 mount 1 1K 1K 78643K 1 0 vnodes 1226 77K 77K 78643K 1245 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 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 54 0 proc 47 38K 63K 78643K 365 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 18 0 in_multi 29 1K 2K 78643K 39 0 ether_multi 1 0K 0K 78643K 1 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 181 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 97 21K 22K 78643K 936 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 2 0 NDP 7 0K 0K 78643K 11 0 temp 74 3009K 3073K 78643K 1884 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 25 0 23 1 0 1 1 0 8 0 rtentry 112 50 0 9 2 0 2 2 0 8 0 unpcb 120 89 0 81 2 0 2 2 0 8 1 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 9 0 9 1 0 1 1 0 8 1 tcpcb 544 18 0 14 1 0 1 1 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 46 0 46 1 0 1 1 0 8 1 inpcb 280 70 0 63 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 7 0 3 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 218 0 46 13 0 13 13 0 8 0 art_table 32 219 0 46 2 0 2 2 0 8 0 art_node 16 49 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 4 1 0 1 1 0 8 1 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1446 0 45 46 0 46 46 0 8 0 ffsino 240 1446 0 45 83 0 83 83 0 8 0 nchpl 144 1702 0 91 60 0 60 60 0 8 0 uvmvnodes 72 1510 0 0 28 0 28 28 0 8 0 vnodes 208 1510 0 0 80 0 80 80 0 8 0 namei 1024 4117 0 4116 1 0 1 1 0 8 0 scxspl 192 4812 0 4812 1 0 1 1 0 8 1 plimitpl 152 19 0 12 1 0 1 1 0 8 0 sigapl 432 225 0 212 2 0 2 2 0 8 0 futexpl 56 706 0 706 1 0 1 1 0 8 1 knotepl 112 53 0 34 1 0 1 1 0 8 0 kqueuepl 144 4 0 2 1 0 1 1 0 8 0 pipelkpl 16 71 0 61 1 0 1 1 0 8 0 pipepl 120 142 0 123 1 0 1 1 0 8 0 fdescpl 432 226 0 212 2 0 2 2 0 8 0 filepl 120 1219 0 1123 5 0 5 5 0 8 2 lockfpl 104 10 0 9 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 21 0 11 1 0 1 1 0 8 0 ucredpl 96 50 0 43 1 0 1 1 0 8 0 zombiepl 144 212 0 212 1 0 1 1 0 8 1 processpl 896 240 0 212 4 0 4 4 0 8 0 procpl 624 275 0 239 4 0 4 4 0 8 1 sockpl 400 184 0 167 8 0 8 8 0 8 6 mcl64k 65536 7 0 7 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 mcl8k 8192 3 0 3 1 0 1 1 0 8 1 mcl4k 4096 10 0 10 2 1 1 1 0 8 1 mcl2k 2048 63997 0 63954 23 9 14 20 0 8 8 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 101402 0 101284 25 3 22 22 0 8 4 bufpl 280 3985 0 160 274 0 274 274 0 8 0 anonpl 16 36614 0 21585 63 2 61 61 0 107 0 amapchunkpl 152 1065 0 935 8 0 8 8 0 158 2 amappl16 192 1010 0 183 42 0 42 42 0 8 0 amappl15 184 2 0 0 1 0 1 1 0 8 0 amappl14 176 4 0 1 2 1 1 1 0 8 0 amappl13 168 32 0 30 2 1 1 1 0 8 0 amappl12 160 5 0 4 2 1 1 1 0 8 0 amappl11 152 58 0 46 1 0 1 1 0 8 0 amappl10 144 28 0 20 1 0 1 1 0 8 0 amappl9 136 384 0 380 1 0 1 1 0 8 0 amappl8 128 266 0 251 1 0 1 1 0 8 0 amappl7 120 129 0 116 1 0 1 1 0 8 0 amappl6 112 18 0 17 2 1 1 1 0 8 0 amappl5 104 157 0 144 1 0 1 1 0 8 0 amappl4 96 433 0 404 1 0 1 1 0 8 0 amappl3 88 107 0 101 1 0 1 1 0 8 0 amappl2 80 938 0 876 4 1 3 3 0 8 1 amappl1 72 13971 0 13568 27 10 17 20 0 8 8 amappl 80 493 0 453 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 226 0 212 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 226 0 212 1 0 1 1 0 8 0 vmmpekpl 168 5709 0 5685 2 0 2 2 0 8 0 vmmpepl 168 34608 0 32745 117 10 107 107 0 357 26 vmsppl 272 225 0 212 2 0 2 2 0 8 1 pdppl 4096 458 0 424 6 0 6 6 0 8 1 pvpl 32 125953 0 107966 148 0 148 148 0 265 2 pmappl 200 225 0 212 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 177 0 15 5 0 5 5 0 8 0