panic: receive 1: so 0xfffffd806f68e000, so_type 3, sb_cc 96 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *146043 80324 0 0 0 1K dhclient 281406 43508 0 0x14000 0x200 0 reaper db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823f0bc6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f68e000,0,ffff800020e1d0c8,0,0,ffff800020e1cfd4) at soreceive+0x16ec sys/kern/uipc_socket.c:829 soo_read(fffffd8077ff72f8,ffff800020e1d0c8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddc9c8,6,ffff800020e1d0c8,0,ffff800020e1d1b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddc9c8,ffff800020e1d160,ffff800020e1d1b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e1d230) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e1d230) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdafb0, 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 1: so 0xfffffd806f68e000, so_type 3, sb_cc 96 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823f0bc6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f68e000,0,ffff800020e1d0c8,0,0,ffff800020e1cfd4) at soreceive+0x16ec sys/kern/uipc_socket.c:829 soo_read(fffffd8077ff72f8,ffff800020e1d0c8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddc9c8,6,ffff800020e1d0c8,0,ffff800020e1d1b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddc9c8,ffff800020e1d160,ffff800020e1d1b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e1d230) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e1d230) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdafb0, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020e1ce10 rbx 0xffff800020e1cec0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81e4919f kprintf+0x16f r9 0x1 r10 0x2 r11 0x5668f13fae0c1897 r12 0x3000000008 r13 0xffff800020e1ce20 r14 0x100 r15 0x1 rip 0xffffffff82098318 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020e1ce00 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (dhclient) pid=146043 stat=onproc flags process=0 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddcc38,0xffff800020ddceb8 process=0xffff800020df1348 user=0xffff800020e18000, vmspace=0xfffffd807f000170 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 34460 9075 82519 0 2 0x2 syz-executor.1 44312 118765 0 0 3 0x14200 bored sosplice 57945 432661 0 0 3 0x14280 nfsidl nfsio 24840 263827 0 0 3 0x14280 nfsidl nfsio 16427 104287 0 0 3 0x14280 nfsidl nfsio 14326 172724 0 0 3 0x14280 nfsidl nfsio 38544 294328 0 0 3 0x14280 nfsidl nfsio 53710 106219 0 0 3 0x14280 nfsidl nfsio 92550 412138 0 0 3 0x14280 nfsidl nfsio 20766 281387 0 0 3 0x14280 nfsidl nfsio 23336 464688 0 0 3 0x14280 nfsidl nfsio 47806 149322 0 0 3 0x14280 nfsidl nfsio 74859 457323 0 0 3 0x14280 nfsidl nfsio 88155 358125 0 0 3 0x14280 nfsidl nfsio 98699 86830 0 0 3 0x14280 nfsidl nfsio 96352 459664 0 0 3 0x14280 nfsidl nfsio 2382 497206 0 0 3 0x14280 nfsidl nfsio 79348 387888 0 0 3 0x14280 nfsidl nfsio 13835 160134 0 0 3 0x14280 nfsidl nfsio 72811 120941 0 0 3 0x14280 nfsidl nfsio 60174 168639 0 0 3 0x14280 nfsidl nfsio 10920 149119 0 0 3 0x14280 nfsidl nfsio 82519 482066 16605 0 3 0x82 thrsleep syz-fuzzer 82519 502331 16605 0 3 0x4000082 nanosleep syz-fuzzer 82519 90961 16605 0 3 0x4000082 thrsleep syz-fuzzer 82519 225247 16605 0 3 0x4000082 thrsleep syz-fuzzer 82519 467519 16605 0 3 0x4000082 thrsleep syz-fuzzer 82519 258729 16605 0 3 0x4000082 thrsleep syz-fuzzer 82519 114587 16605 0 3 0x4000082 kqread syz-fuzzer 82519 97002 16605 0 3 0x4000082 thrsleep syz-fuzzer 82519 250750 16605 0 3 0x4000082 thrsleep syz-fuzzer 82519 90578 16605 0 3 0x4000082 thrsleep syz-fuzzer 16605 181772 80279 0 3 0x10008a pause ksh 80279 47791 46578 0 3 0x92 select sshd 97072 277931 1 0 3 0x100083 ttyin getty 46578 356609 1 0 3 0x80 select sshd 33740 375448 90536 74 3 0x100092 bpf pflogd 90536 284386 1 0 3 0x80 netio pflogd 42164 242992 24255 73 3 0x100090 kqread syslogd 24255 194836 1 0 3 0x100082 netio syslogd 61912 319828 1 77 3 0x100090 poll dhclient *80324 146043 1 0 7 0 dhclient 32696 300178 0 0 3 0x14200 bored smr 86141 270280 0 0 2 0x14200 zerothread 51443 466217 0 0 3 0x14200 aiodoned aiodoned 29301 106215 0 0 3 0x14200 syncer update 33555 235695 0 0 3 0x14200 cleaner cleaner 43508 281406 0 0 7 0x14200 reaper 20556 133824 0 0 3 0x14200 pgdaemon pagedaemon 3317 429824 0 0 3 0x14200 bored crynlk 7666 299046 0 0 3 0x14200 bored crypto 37664 414194 0 0 3 0x40014200 acpi0 acpi0 730 455682 0 0 3 0x40014200 idle1 15974 351961 0 0 2 0x14200 softnet 92309 402420 0 0 3 0x14200 bored systqmp 81234 25880 0 0 3 0x14200 bored systq 57195 333214 0 0 3 0x40014200 bored softclock 63648 460634 0 0 3 0x40014200 idle0 1 320551 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd807d8683b8) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 pmap_do_remove+0x88 rcr3 machine/cpufunc.h:141 [inline] #3 pmap_do_remove+0x88 pmap_map_ptes sys/arch/amd64/amd64/pmap.c:414 [inline] #3 pmap_do_remove+0x88 sys/arch/amd64/amd64/pmap.c:1756 #4 uvm_map_teardown+0x195 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:176 [inline] #4 uvm_map_teardown+0x195 sys/uvm/uvm_map.c:2739 #5 uvmspace_free+0x86 sys/uvm/uvm_map.c:3646 #6 uvm_exit+0x29 sys/uvm/uvm_glue.c:297 #7 reaper+0x189 sys/kern/kern_exit.c:456 #8 proc_trampoline+0x1c Process 34460 (syz-executor.1) thread 0xffff8000230d73a8 (9075) Process 80324 (dhclient) thread 0xffff800020ddc9c8 (146043) Process 15974 (softnet) thread 0xffff800020d889c0 (351961) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9546 6437K 7142K 78643K 13212 0 pcb 13 8K 8K 78643K 148 0 rtable 87 6K 10K 78643K 615 0 ifaddr 91 17K 18K 78643K 216 0 counters 41 33K 34K 78643K 67 0 ioctlops 0 0K 4K 78643K 1562 0 iov 0 0K 20K 78643K 101 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1972 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 9 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 161 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 3 5K 25K 78643K 751 0 sigio 0 0K 0K 78643K 8 0 proc 61 63K 83K 78643K 615 0 subproc 16 1K 2K 78643K 85 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 52 0 in_multi 55 2K 3K 78643K 244 0 ether_multi 1 0K 0K 78643K 21 0 mrt 0 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 295 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 141 72K 77K 78643K 3562 0 UVM aobj 11 4K 4K 78643K 15 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 124 0 NDP 15 0K 0K 78643K 55 0 temp 130 3869K 3937K 78643K 20373 0 kqueue 3 4K 21K 78643K 44 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 15 0 9 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 71 0 69 1 0 1 1 0 8 0 rtentry 112 127 0 101 2 0 2 2 0 8 0 unpcb 120 410 0 399 2 1 1 2 0 8 0 syncache 264 14 0 14 5 4 1 1 0 8 1 tcpqe 32 1000 0 1000 2 2 0 1 0 8 0 tcpcb 544 293 0 289 2 1 1 2 0 8 0 inpcb 296 1249 0 1240 3 1 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 35 0 33 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pfstscr 40 4 0 2 1 0 1 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 40 0 34 4 3 1 1 0 8 0 pfstitem 24 38 0 29 1 0 1 1 0 8 0 pfstkey 112 40 0 31 1 0 1 1 0 8 0 pfstate 328 38 0 30 3 0 3 3 0 8 0 pfrule 1360 33 0 24 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 501 0 387 15 2 13 13 0 8 2 art_table 32 502 0 387 2 0 2 2 0 8 0 art_node 16 124 0 102 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 32 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 159 0 149 1 0 1 1 0 8 0 shmpl 112 13 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2417 0 1020 89 0 89 89 0 8 0 ffsino 272 2417 0 1020 96 1 95 95 0 8 0 nchpl 144 3623 0 2030 61 1 60 61 0 8 0 uvmvnodes 72 3090 0 0 57 0 57 57 0 8 0 vnodes 208 3090 0 0 163 0 163 163 0 8 0 namei 1024 11212 0 11212 3 2 1 1 0 8 1 percpumem 16 44 0 13 1 0 1 1 0 8 0 vcpupl 1984 7 0 0 1 0 1 1 0 8 0 vmpool 560 10 0 3 1 0 1 1 0 8 0 pfiaddrpl 120 13 0 9 3 2 1 1 0 8 0 scxspl 192 11609 0 11609 12 11 1 7 0 8 1 plimitpl 152 70 0 62 1 0 1 1 0 8 0 sigapl 424 978 0 928 6 0 6 6 0 8 0 futexpl 56 13225 0 13225 1 0 1 1 0 8 1 knotepl 112 195 0 182 2 1 1 2 0 8 0 kqueuepl 144 330 0 328 1 0 1 1 0 8 0 pipepl 304 199 0 192 5 4 1 2 0 8 0 fdescpl 496 942 0 928 3 0 3 3 0 8 0 filepl 152 6466 0 6389 7 2 5 6 0 8 1 lockfpl 104 431 0 430 1 0 1 1 0 8 0 lockfspl 48 139 0 138 1 0 1 1 0 8 0 sessionpl 112 21 0 10 1 0 1 1 0 8 0 pgrppl 48 25 0 14 1 0 1 1 0 8 0 ucredpl 96 789 0 780 1 0 1 1 0 8 0 zombiepl 144 928 0 927 3 2 1 1 0 8 0 processpl 984 978 0 927 8 1 7 7 0 8 0 procpl 624 2562 0 2502 6 0 6 6 0 8 0 sosppl 128 12 0 12 3 2 1 1 0 8 1 sockpl 400 1736 0 1714 11 7 4 6 0 8 1 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 12 0 0 2 0 2 2 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 219 0 0 27 0 27 27 0 8 0 mtagpl 96 202 0 0 5 0 5 5 0 8 0 mbufpl 256 566 0 0 32 0 32 32 0 8 0 bufpl 280 5516 0 143 384 0 384 384 0 8 0 anonpl 16 109248 0 96779 81 10 71 79 0 124 1 amapchunkpl 152 6060 0 5898 16 1 15 15 0 158 7 amappl16 192 4053 0 3142 69 22 47 58 0 8 0 amappl15 184 102 0 100 1 0 1 1 0 8 0 amappl14 176 446 0 441 1 0 1 1 0 8 0 amappl13 168 104 0 101 1 0 1 1 0 8 0 amappl12 160 15 0 11 1 0 1 1 0 8 0 amappl11 152 486 0 470 1 0 1 1 0 8 0 amappl10 144 136 0 130 1 0 1 1 0 8 0 amappl9 136 390 0 389 1 0 1 1 0 8 0 amappl8 128 429 0 395 2 0 2 2 0 8 0 amappl7 120 240 0 224 1 0 1 1 0 8 0 amappl6 112 274 0 271 1 0 1 1 0 8 0 amappl5 104 405 0 388 1 0 1 1 0 8 0 amappl4 96 1000 0 970 1 0 1 1 0 8 0 amappl3 88 308 0 303 1 0 1 1 0 8 0 amappl2 80 6458 0 6386 2 0 2 2 0 8 0 amappl1 72 31062 0 30633 23 13 10 18 0 8 0 amappl 80 2856 0 2805 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 14 0 4 1 0 1 1 0 8 0 uaddrrnd 24 952 0 931 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 952 0 931 1 0 1 1 0 8 0 vmmpekpl 168 11292 0 11252 2 0 2 2 0 8 0 vmmpepl 168 123554 0 121570 196 86 110 126 0 357 13 vmsppl 368 951 0 930 3 0 3 3 0 8 0 pdppl 4096 1911 0 1867 8 1 7 7 0 8 0 pvpl 32 323898 0 308644 203 26 177 187 0 265 11 pmappl 232 951 0 930 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 305 0 17 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff827a9ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff829230c8) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829230c8) at __mp_lock+0x127 sys/kern/kern_lock.c:147 uvm_unmap_detach(ffff800020dcefb0,1) at uvm_unmap_detach+0xe7 sys/uvm/uvm_map.c:1581 uvm_map_teardown(fffffd8067fbe5d0) at uvm_map_teardown+0x25c sys/uvm/uvm_map.c:2757 uvmspace_free(fffffd8067fbe5d0) at uvmspace_free+0x86 sys/uvm/uvm_map.c:3646 uvm_exit(ffff8000230fb748) at uvm_exit+0x29 sys/uvm/uvm_glue.c:297 reaper(ffff800020d895f0) at reaper+0x189 sys/kern/kern_exit.c:456 end trace frame: 0x0, count: 6 ddb{0}> trace x86_ipi_db(ffffffff827a9ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff829230c8) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829230c8) at __mp_lock+0x127 sys/kern/kern_lock.c:147 uvm_unmap_detach(ffff800020dcefb0,1) at uvm_unmap_detach+0xe7 sys/uvm/uvm_map.c:1581 uvm_map_teardown(fffffd8067fbe5d0) at uvm_map_teardown+0x25c sys/uvm/uvm_map.c:2757 uvmspace_free(fffffd8067fbe5d0) at uvmspace_free+0x86 sys/uvm/uvm_map.c:3646 uvm_exit(ffff8000230fb748) at uvm_exit+0x29 sys/uvm/uvm_glue.c:297 reaper(ffff800020d895f0) at reaper+0x189 sys/kern/kern_exit.c:456 end trace frame: 0x0, count: -9 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823f0bc6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f68e000,0,ffff800020e1d0c8,0,0,ffff800020e1cfd4) at soreceive+0x16ec sys/kern/uipc_socket.c:829 soo_read(fffffd8077ff72f8,ffff800020e1d0c8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddc9c8,6,ffff800020e1d0c8,0,ffff800020e1d1b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddc9c8,ffff800020e1d160,ffff800020e1d1b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e1d230) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e1d230) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdafb0, count: 7 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823f0bc6) at panic+0x15c sys/kern/subr_prf.c:207 soreceive(fffffd806f68e000,0,ffff800020e1d0c8,0,0,ffff800020e1cfd4) at soreceive+0x16ec sys/kern/uipc_socket.c:829 soo_read(fffffd8077ff72f8,ffff800020e1d0c8,0) at soo_read+0x53 sys/kern/sys_socket.c:70 dofilereadv(ffff800020ddc9c8,6,ffff800020e1d0c8,0,ffff800020e1d1b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ddc9c8,ffff800020e1d160,ffff800020e1d1b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e1d230) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e1d230) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdafb0, count: -8