panic: receive 3: so 0xfffffd806f6eb7d0, so_type 3, m 0xfffffd806d8cab00, m_type 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 81977 95551 0 0 0 1K dhclient 519822 34553 0 0x14000 0x200 0 reaper db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821d02a5) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6eb7d0,0,ffff800020abdbd8,0,0,ffff800020abdae4) at soreceive+0x1727 soo_read(fffffd8072bf24c0,ffff800020abdbd8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020a7c758,6,ffff800020abdbd8,0,ffff800020abdcc0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020a7c758,ffff800020abdc70,ffff800020abdcc0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020abdd40) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020abdd40) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff3c30, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic receive 3: so 0xfffffd806f6eb7d0, so_type 3, m 0xfffffd806d8cab00, m_type 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821d02a5) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f6eb7d0,0,ffff800020abdbd8,0,0,ffff800020abdae4) at soreceive+0x1727 soo_read(fffffd8072bf24c0,ffff800020abdbd8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020a7c758,6,ffff800020abdbd8,0,ffff800020abdcc0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020a7c758,ffff800020abdc70,ffff800020abdcc0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020abdd40) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020abdd40) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff3c30, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020abd920 rbx 0xffff800020abd9d0 rdx 0xffff800020a7c758 rcx 0 rax 0 r8 0xffffffff814a3d9f kprintf+0x16f r9 0x1 r10 0x25 r11 0x6192de5f974c97e r12 0x3000000008 r13 0xffff800020abd930 r14 0x100 r15 0x1 rip 0xffffffff8153b258 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020abd910 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (dhclient) pid=81977 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a7d5f8,0xffff800020a7c9d8 process=0xffff800020a90790 user=0xffff800020ab8000, vmspace=0xfffffd807f000000 estcpu=0, cpticks=1, pctcpu=0.0 user=1, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 45326 377859 0 0 3 0x14200 bored sosplice 42058 387693 87204 0 2 0x2 syz-executor.1 90716 394899 87204 0 3 0x82 nanosleep syz-executor.0 87204 495140 83106 0 3 0x82 kqread syz-fuzzer 87204 173021 83106 0 3 0x4000082 nanosleep syz-fuzzer 87204 358350 83106 0 2 0x4000002 syz-fuzzer 87204 43295 83106 0 3 0x4000082 thrsleep syz-fuzzer 87204 278541 83106 0 3 0x4000082 thrsleep syz-fuzzer 87204 125922 83106 0 3 0x4000082 thrsleep syz-fuzzer 87204 492519 83106 0 3 0x4000082 thrsleep syz-fuzzer 87204 276376 83106 0 3 0x4000082 thrsleep syz-fuzzer 87204 188763 83106 0 3 0x4000082 thrsleep syz-fuzzer 87204 493133 83106 0 3 0x4000082 thrsleep syz-fuzzer 83106 491111 852 0 3 0x10008a pause ksh 852 103878 16081 0 3 0x92 select sshd 64352 198934 1 0 3 0x100083 ttyin getty 16081 191885 1 0 3 0x80 select sshd 50920 59838 84428 74 3 0x100092 bpf pflogd 84428 496983 1 0 3 0x80 netio pflogd 89348 478409 25742 73 3 0x100090 kqread syslogd 25742 6101 1 0 3 0x100082 netio syslogd 70836 135552 1 77 3 0x100090 poll dhclient *95551 81977 1 0 7 0 dhclient 51464 153232 0 0 2 0x14200 zerothread 85746 201882 0 0 3 0x14200 aiodoned aiodoned 59559 74757 0 0 3 0x14200 syncer update 46005 468140 0 0 3 0x14200 cleaner cleaner 34553 519822 0 0 7 0x14200 reaper 94236 198239 0 0 3 0x14200 pgdaemon pagedaemon 14173 284351 0 0 3 0x14200 bored crynlk 12250 309271 0 0 3 0x14200 bored crypto 70528 100162 0 0 3 0x40014200 acpi0 acpi0 71524 213365 0 0 3 0x40014200 idle1 25811 300398 0 0 3 0x14200 bored softnet 77186 499590 0 0 3 0x14200 bored systqmp 99952 148698 0 0 3 0x14200 bored systq 19689 394220 0 0 3 0x40014200 bored softclock 3922 390591 0 0 3 0x40014200 idle0 78930 519127 0 0 3 0x14200 bored smr 1 385998 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff82660858) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 uvm_pmr_freepages+0x126 sys/uvm/uvm_pmemrange.c:1254 #4 pmap_do_remove+0x68b sys/arch/amd64/amd64/pmap.c:1871 #5 uvm_map_teardown+0x195 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:176 [inline] #5 uvm_map_teardown+0x195 sys/uvm/uvm_map.c:2737 #6 uvmspace_free+0x86 sys/uvm/uvm_map.c:3611 #7 uvm_exit+0x29 sys/uvm/uvm_glue.c:297 #8 reaper+0x189 sys/kern/kern_exit.c:443 #9 proc_trampoline+0x1c Process 95551 (dhclient) thread 0xffff800020a7c758 (81977) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82662d80) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 solock+0x66 sys/kern/uipc_socket2.c:292 #2 soreceive+0x114 sys/kern/uipc_socket.c:731 #3 soo_read+0x53 sys/kern/sys_socket.c:70 #4 dofilereadv+0x1a1 sys/kern/sys_generic.c:237 #5 sys_read+0x83 sys/kern/sys_generic.c:157 #6 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #7 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9481 6401K 6659K 78643K 10686 0 pcb 13 8K 8K 78643K 41 0 rtable 99 3K 3K 78643K 228 0 ifaddr 54 12K 12K 78643K 60 0 counters 43 33K 33K 78643K 43 0 ioctlops 0 0K 4K 78643K 1469 0 iov 0 0K 16K 78643K 9 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1261 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 1K 1K 78643K 2 0 sem 11 0K 0K 78643K 11 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 4 9K 25K 78643K 87 0 sigio 0 0K 0K 78643K 2 0 proc 60 63K 83K 78643K 446 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 30 0 in_multi 49 2K 2K 78643K 80 0 ether_multi 1 0K 0K 78643K 4 0 mrt 0 0K 0K 78643K 8 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 209 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 116 22K 23K 78643K 1232 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 25 0 NDP 7 0K 0K 78643K 12 0 temp 98 3018K 3082K 78643K 4628 0 kqueue 3 4K 4K 78643K 3 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 26 0 24 1 0 1 1 0 8 0 rtentry 112 54 0 13 2 0 2 2 0 8 0 unpcb 120 132 0 122 2 0 2 2 0 8 1 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 65 0 65 1 1 0 1 0 8 0 tcpcb 544 88 0 84 2 0 2 2 0 8 1 inpcb 280 213 0 206 2 0 2 2 0 8 1 rttmr 72 4 0 4 1 0 1 1 0 8 1 nd6 48 8 0 4 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 swfcl 56 2 0 0 1 0 1 1 0 8 0 pffrag 232 4 0 4 1 0 1 1 0 482 1 pffrnode 88 4 0 4 1 0 1 1 0 8 1 pffrent 40 180 0 180 1 0 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 22 0 0 1 0 1 1 0 8 0 pfstkey 112 22 0 0 1 0 1 1 0 8 0 pfstate 328 22 0 0 2 0 2 2 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 215 0 42 12 0 12 12 0 8 0 art_table 32 216 0 42 2 0 2 2 0 8 0 art_node 16 53 0 15 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 6 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 9 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1498 0 87 46 0 46 46 0 8 0 ffsino 272 1498 0 87 95 0 95 95 0 8 0 nchpl 144 1802 0 180 61 0 61 61 0 8 0 uvmvnodes 72 1575 0 0 29 0 29 29 0 8 0 vnodes 208 1575 0 0 83 0 83 83 0 8 0 namei 1024 4680 0 4680 1 0 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 192 5419 0 5419 8 4 4 7 0 8 4 plimitpl 152 21 0 13 1 0 1 1 0 8 0 sigapl 424 303 0 272 4 0 4 4 0 8 0 futexpl 56 1371 0 1371 1 0 1 1 0 8 1 knotepl 112 53 0 34 1 0 1 1 0 8 0 kqueuepl 144 12 0 10 1 0 1 1 0 8 0 pipelkpl 48 88 0 78 1 0 1 1 0 8 0 pipepl 120 176 0 157 1 0 1 1 0 8 0 fdescpl 496 287 0 272 3 0 3 3 0 8 0 filepl 152 1690 0 1590 6 0 6 6 0 8 2 lockfpl 104 19 0 18 1 0 1 1 0 8 0 lockfspl 48 8 0 7 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 103 0 94 1 0 1 1 0 8 0 zombiepl 144 272 0 271 1 0 1 1 0 8 0 processpl 960 303 0 271 5 0 5 5 0 8 0 procpl 624 460 0 419 4 0 4 4 0 8 0 sosppl 128 7 0 7 1 0 1 1 0 8 1 sockpl 400 375 0 356 5 0 5 5 0 8 3 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 165 0 0 20 0 20 20 0 8 0 mtagpl 80 13 0 0 1 0 1 1 0 8 0 mbufpl 256 371 0 0 23 0 23 23 0 8 0 bufpl 280 6248 0 176 434 0 434 434 0 8 0 anonpl 16 46183 0 30544 81 1 80 80 0 124 16 amapchunkpl 152 1509 0 1352 9 0 9 9 0 158 1 amappl16 192 1467 0 618 55 0 55 55 0 8 11 amappl15 184 2 0 1 1 0 1 1 0 8 0 amappl14 176 2 0 2 2 2 0 1 0 8 0 amappl13 168 26 0 25 1 0 1 1 0 8 0 amappl12 160 38 0 31 1 0 1 1 0 8 0 amappl11 152 96 0 77 1 0 1 1 0 8 0 amappl10 144 21 0 14 1 0 1 1 0 8 0 amappl9 136 389 0 386 1 0 1 1 0 8 0 amappl8 128 337 0 304 2 0 2 2 0 8 0 amappl7 120 122 0 110 1 0 1 1 0 8 0 amappl6 112 57 0 49 2 1 1 1 0 8 0 amappl5 104 157 0 141 1 0 1 1 0 8 0 amappl4 96 526 0 494 2 1 1 2 0 8 0 amappl3 88 109 0 101 1 0 1 1 0 8 0 amappl2 80 1401 0 1329 3 1 2 3 0 8 0 amappl1 72 16440 0 15999 26 16 10 20 0 8 0 amappl 80 720 0 674 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 287 0 272 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 287 0 272 1 0 1 1 0 8 0 vmmpekpl 168 6283 0 6252 2 0 2 2 0 8 0 vmmpepl 168 42872 0 40892 130 12 118 119 0 357 26 vmsppl 368 286 0 271 2 0 2 2 0 8 0 pdppl 4096 581 0 542 6 0 6 6 0 8 1 pvpl 32 150192 0 131573 190 0 190 190 0 265 37 pmappl 232 286 0 271 2 1 1 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 182 0 3 6 0 6 6 0 8 0