login: panic: receive 3: so 0xfffffd805e56d4b0, so_type 3, m 0xfffffd805baa5c00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *144452 87577 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821abe2f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56d4b0,0,ffff80001d372468,0,0,ffff80001d372374) at soreceive+0x16e7 soo_read(fffffd80611f2618,ffff80001d372468,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372468,0,ffff80001d372550) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372500,ffff80001d372550) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3725d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7e20, 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 0xfffffd805e56d4b0, so_type 3, m 0xfffffd805baa5c00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821abe2f) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e56d4b0,0,ffff80001d372468,0,0,ffff80001d372374) at soreceive+0x16e7 soo_read(fffffd80611f2618,ffff80001d372468,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339008,6,ffff80001d372468,0,ffff80001d372550) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339008,ffff80001d372500,ffff80001d372550) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d3725d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7e20, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d3721b0 rbx 0xffff80001d372260 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372170 r9 0x1 r10 0 r11 0xc04f0fe77f58bf9c r12 0x3000000008 r13 0xffff80001d3721c0 r14 0x100 r15 0x1 rip 0xffffffff819e0b28 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3721a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=144452 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a118,0xffff80001d339768 process=0xffff8000ffffae10 user=0xffff80001d36d000, vmspace=0xfffffd806bc09440 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 96491 182179 74712 0 2 0 syz-executor.0 96491 406892 74712 0 2 0x4000000 syz-executor.0 60354 477232 45754 0 2 0 syz-executor.1 60354 302788 45754 0 3 0x4000080 ttyout syz-executor.1 45754 37493 25843 0 3 0x82 nanosleep syz-executor.1 74712 405831 25843 0 2 0x482 syz-executor.0 25843 437534 81394 0 3 0x82 thrsleep syz-fuzzer 25843 480592 81394 0 3 0x4000082 thrsleep syz-fuzzer 25843 134342 81394 0 3 0x4000082 thrsleep syz-fuzzer 25843 410622 81394 0 3 0x4000082 thrsleep syz-fuzzer 25843 261723 81394 0 3 0x4000082 thrsleep syz-fuzzer 25843 432972 81394 0 3 0x4000082 kqread syz-fuzzer 25843 376021 81394 0 3 0x4000082 thrsleep syz-fuzzer 25843 522163 81394 0 3 0x4000082 thrsleep syz-fuzzer 81394 284299 88372 0 3 0x10008a pause ksh 88372 490180 77722 0 3 0x92 select sshd 24528 236643 1 0 3 0x100083 ttyin getty 77722 66268 1 0 3 0x80 select sshd 24644 499644 58561 73 3 0x100090 kqread syslogd 58561 160231 1 0 3 0x100082 netio syslogd 47010 103887 1 77 2 0x100010 dhclient *87577 144452 1 0 7 0 dhclient 41461 507061 0 0 2 0x14200 zerothread 1431 105485 0 0 3 0x14200 aiodoned aiodoned 89775 264206 0 0 3 0x14200 syncer update 4101 388705 0 0 3 0x14200 cleaner cleaner 65053 346421 0 0 3 0x14200 reaper reaper 48911 99575 0 0 3 0x14200 pgdaemon pagedaemon 75804 512873 0 0 3 0x14200 bored crynlk 34233 154273 0 0 3 0x14200 bored crypto 68962 394213 0 0 3 0x40014200 acpi0 acpi0 19166 349269 0 0 3 0x14200 bored softnet 31833 429118 0 0 3 0x14200 bored systqmp 74971 254994 0 0 3 0x14200 bored systq 80210 6614 0 0 3 0x40014200 bored softclock 4849 435517 0 0 3 0x40014200 idle0 4109 212350 0 0 3 0x14200 bored smr 1 237891 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 9457 6326K 6581K 78643K 10587 0 pcb 13 8K 8K 78643K 21 0 rtable 105 3K 3K 78643K 193 0 ifaddr 44 10K 10K 78643K 48 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 2K 78643K 15 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 77K 78643K 1232 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 4 0K 0K 78643K 6 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 53 0 proc 47 38K 54K 78643K 361 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 13 0 in_multi 33 2K 2K 78643K 39 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 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 183 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 21K 78643K 950 0 UVM aobj 8 2K 2K 78643K 8 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 16 0 NDP 6 0K 0K 78643K 10 0 temp 75 3010K 3073K 78643K 1869 0 kqueue 3 4K 10K 78643K 8 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 23 0 21 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 55 0 47 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 25 0 25 1 0 1 1 0 8 1 tcpcb 544 42 0 38 2 0 2 2 0 8 1 inpcb 280 108 0 101 2 0 2 2 0 8 1 nd6 48 6 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 14 1 0 1 1 0 8 1 semapl 112 2 0 0 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1446 0 47 46 0 46 46 0 8 0 ffsino 240 1446 0 47 83 0 83 83 0 8 0 nchpl 144 1705 0 94 60 0 60 60 0 8 0 uvmvnodes 72 1497 0 0 28 0 28 28 0 8 0 vnodes 208 1497 0 0 79 0 79 79 0 8 0 namei 1024 4089 0 4089 1 0 1 1 0 8 1 scxspl 192 4835 0 4835 1 0 1 1 0 8 1 plimitpl 152 14 0 7 1 0 1 1 0 8 0 sigapl 432 224 0 210 2 0 2 2 0 8 0 futexpl 56 711 0 711 1 0 1 1 0 8 1 knotepl 112 58 0 39 1 0 1 1 0 8 0 kqueuepl 144 8 0 6 1 0 1 1 0 8 0 pipelkpl 16 73 0 63 1 0 1 1 0 8 0 pipepl 120 146 0 127 1 0 1 1 0 8 0 fdescpl 432 225 0 210 2 0 2 2 0 8 0 filepl 120 1190 0 1092 4 0 4 4 0 8 1 lockfpl 104 11 0 10 1 0 1 1 0 8 0 lockfspl 48 6 0 5 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 67 0 60 1 0 1 1 0 8 0 zombiepl 144 210 0 210 1 0 1 1 0 8 1 processpl 896 239 0 210 4 0 4 4 0 8 0 procpl 624 278 0 240 4 0 4 4 0 8 1 sockpl 400 186 0 169 5 0 5 5 0 8 3 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 13 0 13 2 1 1 1 0 8 1 mcl2k 2048 64072 0 64029 17 3 14 14 0 8 8 mtagpl 80 4 0 2 2 1 1 1 0 8 0 mbufpl 256 101311 0 101208 11 1 10 10 0 8 0 bufpl 280 3990 0 162 274 0 274 274 0 8 0 anonpl 16 37251 0 21543 65 1 64 64 0 107 0 amapchunkpl 152 1030 0 894 8 0 8 8 0 158 2 amappl16 192 1039 0 178 44 0 44 44 0 8 0 amappl15 184 3 0 1 1 0 1 1 0 8 0 amappl14 176 2 0 2 2 2 0 1 0 8 0 amappl13 168 23 0 22 1 0 1 1 0 8 0 amappl12 160 25 0 23 2 1 1 1 0 8 0 amappl11 152 69 0 56 1 0 1 1 0 8 0 amappl10 144 21 0 14 1 0 1 1 0 8 0 amappl9 136 367 0 364 1 0 1 1 0 8 0 amappl8 128 270 0 252 1 0 1 1 0 8 0 amappl7 120 114 0 102 1 0 1 1 0 8 0 amappl6 112 20 0 16 1 0 1 1 0 8 0 amappl5 104 195 0 183 1 0 1 1 0 8 0 amappl4 96 434 0 404 1 0 1 1 0 8 0 amappl3 88 103 0 98 1 0 1 1 0 8 0 amappl2 80 1001 0 926 3 0 3 3 0 8 1 amappl1 72 13632 0 13205 27 11 16 20 0 8 7 amappl 80 504 0 460 2 0 2 2 0 84 1 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 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 225 0 210 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 225 0 210 1 0 1 1 0 8 0 vmmpekpl 168 5707 0 5681 2 0 2 2 0 8 0 vmmpepl 168 34563 0 32546 123 7 116 116 0 357 28 vmsppl 272 224 0 210 2 0 2 2 0 8 1 pdppl 4096 456 0 420 6 0 6 6 0 8 1 pvpl 32 126895 0 108180 151 0 151 151 0 265 0 pmappl 200 224 0 210 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 152 0 7 5 0 5 5 0 8 0