login: panic: receive 3: so 0xfffffd805e564320, so_type 3, m 0xfffffd8052718800, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *219508 84791 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ac86c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e564320,0,ffff80001d372dd8,0,0,ffff80001d372ce4) at soreceive+0x16e7 soo_read(fffffd805eb10618,ffff80001d372dd8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339278,6,ffff80001d372dd8,0,ffff80001d372ec0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339278,ffff80001d372e70,ffff80001d372ec0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372f40) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc0330, 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 0xfffffd805e564320, so_type 3, m 0xfffffd8052718800, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ac86c) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e564320,0,ffff80001d372dd8,0,0,ffff80001d372ce4) at soreceive+0x16e7 soo_read(fffffd805eb10618,ffff80001d372dd8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d339278,6,ffff80001d372dd8,0,ffff80001d372ec0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d339278,ffff80001d372e70,ffff80001d372ec0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372f40) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc0330, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d372b20 rbx 0xffff80001d372bd0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d372ae0 r9 0x1 r10 0 r11 0x87b8409f37126947 r12 0x3000000008 r13 0xffff80001d372b30 r14 0x100 r15 0x1 rip 0xffffffff8209c498 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d372b10 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=219508 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a388,0xffff80001d339768 process=0xffff8000ffffaa90 user=0xffff80001d36d000, vmspace=0xfffffd806bc09220 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 12014 419871 15255 0 2 0 syz-executor.0 12014 52680 15255 0 2 0x4000000 syz-executor.0 84047 111956 75086 0 2 0x480 syz-executor.1 84047 366199 75086 0 3 0x4000080 select syz-executor.1 84047 254034 75086 0 3 0x4000080 fsleep syz-executor.1 839 48008 0 0 3 0x14200 acct acct 64830 158045 1 0 3 0x100083 ttyin getty 53998 122673 0 0 3 0x14200 bored sosplice 15255 406138 11093 0 2 0x482 syz-executor.0 75086 47913 11093 0 3 0x82 nanosleep syz-executor.1 11093 241489 28656 0 3 0x82 thrsleep syz-fuzzer 11093 56644 28656 0 3 0x4000082 thrsleep syz-fuzzer 11093 134064 28656 0 3 0x4000082 thrsleep syz-fuzzer 11093 433741 28656 0 3 0x4000082 thrsleep syz-fuzzer 11093 447300 28656 0 3 0x4000082 kqread syz-fuzzer 11093 373152 28656 0 3 0x4000082 thrsleep syz-fuzzer 11093 289273 28656 0 3 0x4000082 thrsleep syz-fuzzer 11093 470498 28656 0 3 0x4000082 thrsleep syz-fuzzer 28656 77939 83802 0 3 0x10008a pause ksh 83802 195590 40162 0 3 0x92 select sshd 40162 357771 1 0 3 0x80 select sshd 34460 390005 64593 73 3 0x100090 kqread syslogd 64593 59133 1 0 3 0x100082 netio syslogd 59985 356956 1 77 2 0x100010 dhclient *84791 219508 1 0 7 0 dhclient 76471 335566 0 0 2 0x14200 zerothread 66136 292353 0 0 3 0x14200 aiodoned aiodoned 38821 187824 0 0 3 0x14200 syncer update 75382 402842 0 0 3 0x14200 cleaner cleaner 12957 278996 0 0 3 0x14200 reaper reaper 59253 275402 0 0 3 0x14200 pgdaemon pagedaemon 88643 19578 0 0 3 0x14200 bored crynlk 68411 69402 0 0 3 0x14200 bored crypto 61309 246961 0 0 3 0x40014200 acpi0 acpi0 66100 154801 0 0 2 0x14200 softnet 4356 228698 0 0 3 0x14200 bored systqmp 97804 120775 0 0 3 0x14200 bored systq 61302 508961 0 0 3 0x40014200 bored softclock 68936 195489 0 0 3 0x40014200 idle0 45526 259397 0 0 3 0x14200 bored smr 1 452387 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 9506 6362K 6876K 78643K 11219 0 pcb 14 8K 8K 78643K 114 0 rtable 100 3K 4K 78643K 364 0 ifaddr 84 16K 16K 78643K 143 0 counters 22 16K 16K 78643K 31 0 ioctlops 0 0K 2K 78643K 37 0 iov 0 0K 12K 78643K 78 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1418 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 48 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 346 0 sigio 0 0K 0K 78643K 4 0 proc 51 38K 55K 78643K 415 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 112 0 in_multi 67 3K 3K 78643K 131 0 ether_multi 1 0K 0K 78643K 19 0 mrt 0 0K 0K 78643K 1 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 223 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 108 54K 54K 78643K 1719 0 UVM aobj 21 2K 2K 78643K 25 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 1 0K 0K 78643K 104 0 NDP 13 0K 0K 78643K 27 0 temp 135 3030K 3094K 78643K 33955 0 kqueue 3 4K 16K 78643K 50 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 1 1 0 1 1 0 8 0 rtpcb 80 33 0 31 1 0 1 1 0 8 0 rtentry 112 52 0 12 2 0 2 2 0 8 0 unpcb 120 341 0 333 1 0 1 1 0 8 0 syncache 264 7 0 7 2 2 0 1 0 8 0 tcpqe 32 69 0 69 2 2 0 1 0 8 0 tcpcb 544 246 0 240 2 1 1 2 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 45 0 45 1 0 1 1 0 8 1 inpcb 280 676 0 665 4 2 2 3 0 8 1 nd6 48 8 0 4 1 0 1 1 0 8 0 ppxss 1128 3 0 3 2 1 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 220 0 44 13 0 13 13 0 8 0 art_table 32 221 0 44 2 0 2 2 0 8 0 art_node 16 51 0 14 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 32 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 46 0 36 1 0 1 1 0 8 0 shmpl 112 23 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1939 0 541 46 0 46 46 0 8 0 ffsino 240 1939 0 541 83 0 83 83 0 8 0 nchpl 144 2709 0 1094 60 0 60 60 0 8 0 uvmvnodes 72 2088 0 0 38 0 38 38 0 8 0 vnodes 208 2088 0 0 110 0 110 110 0 8 0 namei 1024 7632 0 7632 1 0 1 1 0 8 1 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 528 5 0 2 1 0 1 1 0 8 0 scxspl 192 8348 0 8348 1 0 1 1 0 8 1 plimitpl 152 44 0 37 1 0 1 1 0 8 0 sigapl 432 518 0 504 2 0 2 2 0 8 0 futexpl 56 11030 0 11029 1 0 1 1 0 8 0 knotepl 112 126 0 107 1 0 1 1 0 8 0 kqueuepl 144 99 0 96 1 0 1 1 0 8 0 pipelkpl 16 279 0 269 1 0 1 1 0 8 0 pipepl 120 558 0 539 3 1 2 2 0 8 1 fdescpl 432 519 0 504 2 0 2 2 0 8 0 filepl 120 4400 0 4299 7 2 5 6 0 8 1 lockfpl 104 113 0 112 1 0 1 1 0 8 0 lockfspl 48 38 0 37 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 24 0 14 1 0 1 1 0 8 0 ucredpl 96 395 0 387 1 0 1 1 0 8 0 zombiepl 144 504 0 504 1 0 1 1 0 8 1 processpl 896 535 0 504 4 0 4 4 0 8 0 procpl 624 1004 0 963 4 0 4 4 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 1052 0 1031 9 5 4 6 0 8 1 mcl64k 65536 303 0 303 32 11 21 32 0 8 21 mcl16k 16384 4 0 4 2 1 1 1 0 8 1 mcl12k 12288 12 0 12 3 2 1 1 0 8 1 mcl9k 9216 6 0 6 2 1 1 1 0 8 1 mcl8k 8192 18 0 18 3 2 1 1 0 8 1 mcl4k 4096 40 0 40 2 1 1 1 0 8 1 mcl2k2 2112 8 0 8 1 1 0 1 0 8 0 mcl2k 2048 63316 0 63271 17 10 7 14 0 8 0 mtagpl 80 35 0 2 2 1 1 1 0 8 0 mbufpl 256 103431 0 103252 29 9 20 25 0 8 6 bufpl 280 6213 0 829 385 0 385 385 0 8 0 anonpl 16 73729 0 57066 95 11 84 84 0 107 13 amapchunkpl 152 2615 0 2471 14 5 9 11 0 158 2 amappl16 192 3269 0 2335 71 12 59 59 0 8 12 amappl15 184 3 0 1 1 0 1 1 0 8 0 amappl14 176 3 0 2 2 1 1 1 0 8 0 amappl13 168 180 0 176 1 0 1 1 0 8 0 amappl12 160 4 0 4 1 1 0 1 0 8 0 amappl11 152 64 0 52 1 0 1 1 0 8 0 amappl10 144 182 0 175 1 0 1 1 0 8 0 amappl9 136 369 0 366 1 0 1 1 0 8 0 amappl8 128 274 0 256 1 0 1 1 0 8 0 amappl7 120 266 0 253 1 0 1 1 0 8 0 amappl6 112 22 0 20 1 0 1 1 0 8 0 amappl5 104 472 0 459 1 0 1 1 0 8 0 amappl4 96 599 0 570 1 0 1 1 0 8 0 amappl3 88 121 0 116 1 0 1 1 0 8 0 amappl2 80 3371 0 3296 3 1 2 3 0 8 0 amappl1 72 18691 0 18259 27 18 9 20 0 8 0 amappl 80 1246 0 1197 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 24 0 4 1 0 1 1 0 8 0 uaddrrnd 24 524 0 506 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 524 0 506 1 0 1 1 0 8 0 vmmpekpl 168 7918 0 7891 2 0 2 2 0 8 0 vmmpepl 168 68306 0 66204 157 29 128 150 0 357 36 vmsppl 272 523 0 506 3 1 2 2 0 8 0 pdppl 4096 1054 0 1015 7 1 6 6 0 8 1 pvpl 32 206001 0 186258 207 10 197 197 0 265 31 pmappl 200 523 0 506 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 213 0 44 6 0 6 6 0 8 0