panic: receive 1a: so 0xfffffd805e573320, so_type 3, m 0xfffffd8065bf9c00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *460289 20336 0 0 0 0 dhclient db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ba361) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e573320,0,ffff80001d3728a8,0,0,ffff80001d3727b4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd80655f2618,ffff80001d3728a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3394e8,6,ffff80001d3728a8,0,ffff80001d372990) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3394e8,ffff80001d372940,ffff80001d372990) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372a10) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff62c0, 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 1a: so 0xfffffd805e573320, so_type 3, m 0xfffffd8065bf9c00, m_type 0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ba361) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd805e573320,0,ffff80001d3728a8,0,0,ffff80001d3727b4) at soreceive+0x170a sys/kern/uipc_socket.c:977 soo_read(fffffd80655f2618,ffff80001d3728a8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff80001d3394e8,6,ffff80001d3728a8,0,ffff80001d372990) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80001d3394e8,ffff80001d372940,ffff80001d372990) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80001d372a10) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff62c0, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d3725f0 rbx 0xffff80001d3726a0 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d3725b0 r9 0x1 r10 0 r11 0x6af3ca571a360b63 r12 0x3000000008 r13 0xffff80001d372600 r14 0x100 r15 0x1 rip 0xffffffff816dc298 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d3725e0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (dhclient) pid=460289 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d33a868,0xffff80001d339768 process=0xffff8000ffffa710 user=0xffff80001d36d000, vmspace=0xfffffd806bc0a660 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 2077 343070 4619 0 2 0 syz-executor.1 2077 343871 4619 0 2 0x4000000 syz-executor.1 97744 170666 78691 0 2 0x2 syz-executor.0 81113 339503 1 0 3 0x100083 ttyin getty 45182 47195 0 0 3 0x14200 bored sosplice 4619 263412 78691 0 2 0x482 syz-executor.1 78691 338980 41596 0 3 0x82 thrsleep syz-fuzzer 78691 469388 41596 0 2 0x4000482 syz-fuzzer 78691 196505 41596 0 3 0x4000082 thrsleep syz-fuzzer 78691 192956 41596 0 3 0x4000082 thrsleep syz-fuzzer 78691 142335 41596 0 3 0x4000082 thrsleep syz-fuzzer 78691 245776 41596 0 3 0x4000082 kqread syz-fuzzer 78691 75641 41596 0 3 0x4000082 thrsleep syz-fuzzer 41596 484287 12044 0 3 0x10008a pause ksh 12044 392949 88722 0 3 0x92 select sshd 88722 275998 1 0 3 0x80 select sshd 10413 255761 93136 73 3 0x100090 kqread syslogd 93136 81707 1 0 3 0x100082 netio syslogd 5833 232459 1 77 3 0x100090 poll dhclient *20336 460289 1 0 7 0 dhclient 27486 262872 0 0 2 0x14200 zerothread 96721 158020 0 0 3 0x14200 aiodoned aiodoned 48852 204732 0 0 3 0x14200 syncer update 14481 336921 0 0 3 0x14200 cleaner cleaner 34574 289660 0 0 3 0x14200 reaper reaper 41471 320910 0 0 3 0x14200 pgdaemon pagedaemon 42092 28435 0 0 3 0x14200 bored crynlk 862 461148 0 0 3 0x14200 bored crypto 65915 315131 0 0 3 0x40014200 acpi0 acpi0 24766 103957 0 0 3 0x14200 bored softnet 46550 75766 0 0 3 0x14200 bored systqmp 46281 421520 0 0 3 0x14200 bored systq 40639 216566 0 0 2 0x40014200 softclock 70981 80593 0 0 3 0x40014200 idle0 11390 401018 0 0 3 0x14200 bored smr 1 444341 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 9530 6356K 6869K 78643K 11560 0 pcb 13 8K 8K 78643K 144 0 rtable 112 3K 4K 78643K 349 0 ifaddr 102 19K 19K 78643K 158 0 counters 22 16K 16K 78643K 28 0 ioctlops 0 0K 2K 78643K 43 0 iov 0 0K 32K 78643K 129 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1565 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 137 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 559 0 sigio 0 0K 0K 78643K 2 0 proc 52 38K 55K 78643K 447 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 1K 78643K 95 0 in_multi 98 4K 4K 78643K 199 0 ether_multi 1 0K 0K 78643K 34 0 mrt 0 0K 0K 78643K 20 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 67 307K 307K 78643K 67 0 exec 0 0K 1K 78643K 248 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 124 103K 103K 78643K 2245 0 UVM aobj 38 2K 3K 78643K 42 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 147 0 NDP 16 0K 0K 78643K 29 0 temp 146 3022K 3087K 78643K 25063 0 kqueue 3 4K 18K 78643K 35 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 9 0 3 1 0 1 1 0 8 0 rtpcb 80 47 0 45 1 0 1 1 0 8 0 rtentry 112 74 0 28 2 0 2 2 0 8 0 unpcb 120 2711 0 2698 4 3 1 2 0 8 0 syncache 264 9 0 9 3 3 0 1 0 8 0 tcpqe 32 76 0 76 2 2 0 1 0 8 0 tcpcb 544 353 0 348 4 3 1 3 0 8 0 ipq 40 3 0 3 2 1 1 1 0 8 1 ipqe 40 53 0 53 2 1 1 1 0 8 1 inpcb 280 923 0 915 5 3 2 4 0 8 1 rttmr 72 6 0 6 1 1 0 1 0 8 0 nd6 48 12 0 5 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 1 0 1 0 8 0 ppxss 1128 2 0 1 2 1 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 308 0 107 17 4 13 14 0 8 0 art_table 32 310 0 107 2 0 2 2 0 8 0 art_node 16 73 0 31 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 29 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 127 0 117 1 0 1 1 0 8 0 shmpl 112 40 0 4 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2333 0 932 46 0 46 46 0 8 0 ffsino 240 2333 0 932 83 0 83 83 0 8 0 nchpl 144 3372 0 1770 60 0 60 60 0 8 0 uvmvnodes 72 2612 0 0 48 0 48 48 0 8 0 vnodes 208 2612 0 0 138 0 138 138 0 8 0 namei 1024 9628 0 9628 1 0 1 1 0 8 1 vcpupl 1984 8 0 0 1 0 1 1 0 8 0 vmpool 528 12 0 4 1 0 1 1 0 8 0 scxspl 192 10568 0 10568 1 0 1 1 0 8 1 plimitpl 152 60 0 53 1 0 1 1 0 8 0 sigapl 424 744 0 715 4 0 4 4 0 8 0 futexpl 56 17568 0 17568 1 0 1 1 0 8 1 knotepl 112 105 0 86 1 0 1 1 0 8 0 kqueuepl 144 153 0 151 2 1 1 2 0 8 0 pipelkpl 16 195 0 185 1 0 1 1 0 8 0 pipepl 120 390 0 371 1 0 1 1 0 8 0 fdescpl 432 729 0 715 2 0 2 2 0 8 0 filepl 120 7623 0 7525 8 4 4 5 0 8 1 lockfpl 104 134 0 133 1 0 1 1 0 8 0 lockfspl 48 49 0 48 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 25 0 15 1 0 1 1 0 8 0 ucredpl 96 537 0 530 1 0 1 1 0 8 0 zombiepl 144 715 0 715 1 0 1 1 0 8 1 processpl 896 744 0 715 4 0 4 4 0 8 0 procpl 624 1448 0 1412 4 0 4 4 0 8 1 sosppl 128 22 0 22 3 3 0 1 0 8 0 sockpl 400 3695 0 3672 9 4 5 8 0 8 2 mcl64k 65536 319 0 317 29 28 1 29 0 8 0 mcl16k 16384 12 0 12 3 2 1 1 0 8 1 mcl12k 12288 12 0 12 2 2 0 1 0 8 0 mcl9k 9216 12 0 12 3 2 1 1 0 8 1 mcl8k 8192 24 0 24 1 0 1 1 0 8 1 mcl4k 4096 87 0 87 1 0 1 1 0 8 1 mcl2k2 2112 8 0 8 4 3 1 1 0 8 1 mcl2k 2048 61266 0 61223 14 7 7 11 0 8 0 mtagpl 80 27 0 4 2 1 1 1 0 8 0 mbufpl 256 103770 0 103429 62 32 30 33 0 8 8 bufpl 280 5635 0 251 385 0 385 385 0 8 0 anonpl 16 91623 0 74870 88 16 72 82 0 107 3 amapchunkpl 152 4369 0 4233 34 19 15 20 0 158 8 amappl16 192 4350 0 3422 65 15 50 58 0 8 3 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 3 0 2 2 1 1 1 0 8 0 amappl13 168 32 0 30 1 0 1 1 0 8 0 amappl12 160 5 0 5 1 1 0 1 0 8 0 amappl11 152 161 0 149 1 0 1 1 0 8 0 amappl10 144 165 0 158 1 0 1 1 0 8 0 amappl9 136 376 0 372 1 0 1 1 0 8 0 amappl8 128 305 0 279 1 0 1 1 0 8 0 amappl7 120 273 0 260 1 0 1 1 0 8 0 amappl6 112 120 0 118 1 0 1 1 0 8 0 amappl5 104 577 0 563 1 0 1 1 0 8 0 amappl4 96 566 0 536 1 0 1 1 0 8 0 amappl3 88 121 0 116 1 0 1 1 0 8 0 amappl2 80 4954 0 4886 3 1 2 3 0 8 0 amappl1 72 22938 0 22532 24 15 9 20 0 8 0 amappl 80 1716 0 1668 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 41 0 4 1 0 1 1 0 8 0 uaddrrnd 24 741 0 719 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 741 0 719 1 0 1 1 0 8 0 vmmpekpl 168 8411 0 8383 2 0 2 2 0 8 0 vmmpepl 168 93327 0 91325 152 46 106 148 0 357 13 vmsppl 272 740 0 719 3 1 2 2 0 8 0 pdppl 4096 1488 0 1446 7 1 6 6 0 8 0 pvpl 32 257106 0 237361 196 22 174 192 0 265 13 pmappl 200 740 0 719 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 245 0 84 5 0 5 5 0 8 0