login: panic: uvm_fault_unwire_locked: address not in map Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 333043 82568 32767 0x10 0 0 syz-executor *405289 82568 32767 0x10 0x4000000 1 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830bd849) at panic+0x1e5 sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806c25d8d8,20001000,20002000) at uvm_fault_unwire_locked+0x487 sys/uvm/uvm_fault.c:1663 uvm_fault_unwire(fffffd806c25d8d8,20001000,20002000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1623 sysctl_vsunlock(20001540,210) at sysctl_vsunlock+0x7b sys/kern/kern_sysctl.c:209 net_sysctl(ffff8000357a9d04,3,20001540,ffff8000357a9d38,0,0,69fdef180fb07778) at net_sysctl+0x69a sys/kern/uipc_domain.c:251 sys_sysctl(ffff8000ffff62a0,ffff8000357a9e70,ffff8000357a9dc0) at sys_sysctl+0x422 syscall(ffff8000357a9e70) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000357a9e70) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc45c4f71740, count: 6 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 *cpu1: uvm_fault_unwire_locked: address not in map ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830bd849) at panic+0x1e5 sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806c25d8d8,20001000,20002000) at uvm_fault_unwire_locked+0x487 sys/uvm/uvm_fault.c:1663 uvm_fault_unwire(fffffd806c25d8d8,20001000,20002000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1623 sysctl_vsunlock(20001540,210) at sysctl_vsunlock+0x7b sys/kern/kern_sysctl.c:209 net_sysctl(ffff8000357a9d04,3,20001540,ffff8000357a9d38,0,0,69fdef180fb07778) at net_sysctl+0x69a sys/kern/uipc_domain.c:251 sys_sysctl(ffff8000ffff62a0,ffff8000357a9e70,ffff8000357a9dc0) at sys_sysctl+0x422 syscall(ffff8000357a9e70) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000357a9e70) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc45c4f71740, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000357a9a80 rbx 0xffff800029b7cdbf rdx 0 rcx 0xffff8000ffff62a0 rax 0xffff800029b7bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x87e4f7c4839ac20a r11 0x75a219b0b94c63d8 r12 0xffff800029b7cbc0 r13 0 r14 0 r15 0x1 rip 0xffffffff82949a85 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000357a9a70 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=405289 pid=82568 tcnt=4 stat=onproc flags process=10 proc=4000000 runpri=36, usrpri=86, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff6018,0xffff8000ffff6a48 process=0xffff8000371d1b50 user=0xffff8000357a4000, vmspace=0xfffffd806c25d8d8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 82568 333043 86734 32767 7 0x10 syz-executor *82568 405289 86734 32767 7 0x4000010 syz-executor 82568 174063 86734 32767 2 0x4000010 syz-executor 82568 405810 86734 32767 3 0x4000010 vmmaplk syz-executor 9079 77833 30408 32767 2 0x10 syz-executor 9079 288643 30408 32767 3 0x4000090 kqpoll syz-executor 9079 257186 30408 32767 3 0x4000090 sbwait syz-executor 9079 11399 30408 32767 3 0x4000090 fsleep syz-executor 34959 118613 56738 32767 3 0x90 nanoslp syz-executor 34959 344406 56738 32767 3 0x4000090 fsleep syz-executor 34959 258287 56738 32767 3 0x4000090 fsleep syz-executor 34959 12748 56738 32767 3 0x4000090 kqpoll syz-executor 33992 2998 15124 32767 3 0x90 nanoslp syz-executor 33992 155803 15124 32767 3 0x4000090 kqread syz-executor 33992 141653 15124 32767 3 0x4000090 fsleep syz-executor 60817 369702 70734 32767 3 0x90 nanoslp syz-executor 60817 122919 70734 32767 3 0x4000090 kqsel syz-executor 71150 349381 0 0 3 0x14200 bored sosplice 30120 201051 37194 0 3 0x100082 sbwait arp 37194 191788 42916 0 3 0x10008a sigsusp sh 69724 294671 71274 32767 3 0x90 nanoslp syz-executor 45070 121702 55339 32767 3 0x90 nanoslp syz-executor 15124 348647 98238 32767 3 0x90 nanoslp syz-executor 70734 125452 27376 32767 3 0x90 nanoslp syz-executor 42916 333041 99285 0 3 0x80 wait syz-executor 86734 336544 75628 32767 3 0x90 nanoslp syz-executor 56738 352417 64104 32767 3 0x90 nanoslp syz-executor 30408 53305 44090 32767 3 0x90 nanoslp syz-executor 27376 387111 42735 0 3 0x82 wait syz-executor 98238 139357 42735 0 3 0x82 wait syz-executor 99285 255736 42735 0 3 0x82 wait syz-executor 44090 364497 42735 0 3 0x82 wait syz-executor 71274 271649 42735 0 3 0x82 wait syz-executor 64104 85983 42735 0 3 0x82 wait syz-executor 55339 241379 42735 0 3 0x82 wait syz-executor 75628 199506 42735 0 3 0x82 wait syz-executor 42735 125363 53707 0 3 0x82 kqread syz-executor 53707 340004 56902 0 3 0x10008a sigsusp ksh 56902 192879 12276 0 3 0x98 kqread sshd-session 12276 72801 84601 0 3 0x92 kqread sshd-session 71474 238682 1 0 3 0x100083 ttyin getty 84601 491209 1 0 3 0x88 kqread sshd 15794 37771 30204 73 3 0x1100090 kqread syslogd 30204 483844 1 0 3 0x100082 sbwait syslogd 24020 288806 1 0 3 0x100080 kqread resolvd 29854 442290 50586 77 3 0x100092 kqread dhcpleased 70601 278828 50586 77 3 0x100092 kqread dhcpleased 50586 220020 1 0 3 0x80 kqread dhcpleased 42354 159590 0 0 3 0x14200 bored smr 5658 479927 0 0 2 0x14200 zerothread 37299 299534 0 0 3 0x14200 aiodoned aiodoned 34545 157542 0 0 3 0x14200 syncer update 309 523653 0 0 3 0x14200 cleaner cleaner 77480 391882 0 0 3 0x14200 reaper reaper 49541 363037 0 0 3 0x14200 pgdaemon pagedaemon 97511 299698 0 0 3 0x14200 bored viomb 66056 475566 0 0 3 0x40014200 acpi0 acpi0 35085 79942 0 0 3 0x40014200 idle1 73808 142151 0 0 3 0x14200 bored softnet3 74637 348988 0 0 3 0x14200 bored softnet2 38674 397226 0 0 3 0x14200 bored softnet1 48779 109680 0 0 3 0x14200 bored softnet0 64763 148611 0 0 3 0x14200 bored systqmp 38189 265528 0 0 3 0x14200 bored systq 39204 211667 0 0 3 0x14200 tmoslp softclockmp 59580 106555 0 0 3 0x40014200 tmoslp softclock 69916 517912 0 0 3 0x40014200 idle0 1 86288 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 82568 (syz-executor) thread 0xffff8000ffff62a0 (405289) shared rwlock vmmaplk r = 0 (0xfffffd806c25d9d0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 uvm_fault_unwire+0x3e sys/uvm/uvm_fault.c:1622 #3 sysctl_vsunlock+0x7b sys/kern/kern_sysctl.c:209 #4 net_sysctl+0x69a sys/kern/uipc_domain.c:251 #5 sys_sysctl+0x422 #6 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #6 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83624568) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 __mp_acquire_count+0x58 #2 mi_switch+0x4b7 sys/kern/sched_bsd.c:441 #3 sleep_finish+0x21e sys/kern/kern_synch.c:416 #4 rw_enter+0x348 sys/kern/kern_rwlock.c:285 #5 uvm_fault_unwire+0x3e sys/uvm/uvm_fault.c:1622 #6 sysctl_vsunlock+0x7b sys/kern/kern_sysctl.c:209 #7 net_sysctl+0x69a sys/kern/uipc_domain.c:251 #8 sys_sysctl+0x422 #9 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #9 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #10 Xsyscall+0x128 exclusive rwlock sysctllk r = 0 (0xffffffff834322a0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 sysctl_vslock+0x45 sys/kern/kern_sysctl.c:181 #3 net_sysctl+0x5a1 sys/kern/uipc_domain.c:245 #4 sys_sysctl+0x422 #5 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #5 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #6 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10208 11050K 11059K 166960K 11287 0 pcb 17 12K 12K 166960K 17 0 rtable 224 6K 6K 166960K 372 0 pf 31 16K 16K 166960K 31 0 ifaddr 40 7K 7K 166960K 42 0 ifgroup 50 2K 2K 166960K 50 0 sysctl 2 0K 2K 166960K 3 0 counters 64 36K 36K 166960K 64 0 ioctlops 0 0K 2K 166960K 39 0 iov 1 2K 8K 166960K 16 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1364 86K 86K 166960K 1413 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 18 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 27 101K 125K 166960K 328 0 sigio 1 0K 0K 166960K 46 0 proc 59 91K 115K 166960K 488 0 subproc 104 6K 6K 166960K 104 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 30 0 in_multi 89 6K 7K 166960K 101 0 ether_multi 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 217 970K 970K 166960K 217 0 exec 0 0K 1K 166960K 355 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 282 75K 90K 166960K 4408 0 UVM aobj 15 3K 3K 166960K 18 0 pinsyscall 49 98K 114K 166960K 1332 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 20 0 NDP 11 0K 1K 166960K 25 0 temp 54 6818K 6893K 166960K 4420 0 kqueue 14 22K 26K 166960K 47 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 123 0 119 3 0 3 3 0 8 2 rtentry 112 106 0 1 3 0 3 3 0 8 0 unpcb 144 229 0 212 4 0 4 4 0 8 3 syncache 336 9 0 9 1 0 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 808 172 0 165 8 0 8 8 0 8 6 arp 120 17 0 0 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 45 0 44 1 0 1 1 0 8 0 inpcb 336 461 0 448 12 0 12 12 0 8 10 nd6 136 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 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 418 0 0 27 0 27 27 0 8 0 art_table 32 419 0 0 4 0 4 4 0 8 0 art_node 16 105 0 9 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 9 1 0 1 1 0 8 0 semapl 112 15 0 5 1 0 1 1 0 8 0 shmpl 112 15 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1822 0 322 95 0 95 95 0 8 0 ffsino 272 1822 0 322 101 0 101 101 0 8 0 nchpl 144 2275 0 603 63 0 63 63 0 8 0 uvmvnodes 80 1935 0 0 40 0 40 40 0 8 0 vnodes 216 1935 0 0 108 0 108 108 0 8 0 namei 1024 7185 0 7185 1 0 1 1 0 8 1 percpumem 16 46 0 0 1 0 1 1 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 6806 0 6806 9 1 8 8 1 8 8 plimitpl 152 60 0 35 2 0 2 2 0 8 1 sigapl 424 605 0 547 8 0 8 8 0 8 0 futexpl 64 2708 0 2704 1 0 1 1 0 8 0 knotepl 120 308 0 0 10 0 10 10 0 8 0 kqueuepl 216 62 0 49 1 0 1 1 0 8 0 pipepl 320 186 0 158 3 0 3 3 0 8 0 fdescpl 496 586 0 547 6 0 6 6 0 8 0 filepl 152 3082 0 2833 18 0 18 18 0 8 8 lockfpl 104 124 0 122 1 0 1 1 0 8 0 lockfspl 48 20 0 18 1 0 1 1 0 8 0 sessionpl 144 27 0 11 1 0 1 1 0 8 0 pgrppl 48 43 0 19 1 0 1 1 0 8 0 ucredpl 104 480 0 462 1 0 1 1 0 8 0 zombiepl 144 549 0 547 1 0 1 1 0 8 0 processpl 1160 605 0 547 5 0 5 5 0 8 0 procpl 648 929 0 859 7 0 7 7 0 8 1 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 664 818 0 784 17 3 14 14 0 8 11 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 139 0 0 18 0 18 18 0 8 0 mcl2k 2048 28 0 0 4 0 4 4 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 2268 0 0 142 0 142 142 0 8 0 bufpl 280 2445 0 95 168 0 168 168 0 8 0 anonpl 24 110484 0 105896 52 0 52 52 0 185 22 amapchunkpl 152 14244 0 13532 41 0 41 41 0 158 13 amappl16 200 1890 0 1873 16 2 14 14 0 8 13 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 109 0 98 1 0 1 1 0 8 0 amappl13 176 27 0 27 1 1 0 1 0 8 0 amappl12 168 1202 0 1163 2 0 2 2 0 8 0 amappl11 160 51 0 41 1 0 1 1 0 8 0 amappl10 152 19 0 17 1 0 1 1 0 8 0 amappl9 144 225 0 224 1 0 1 1 0 8 0 amappl8 136 18 0 17 1 0 1 1 0 8 0 amappl7 128 93 0 82 1 0 1 1 0 8 0 amappl6 120 165 0 163 1 0 1 1 0 8 0 amappl5 112 126 0 117 1 0 1 1 0 8 0 amappl4 104 287 0 271 1 0 1 1 0 8 0 amappl3 96 2375 0 2248 4 0 4 4 0 8 0 amappl2 88 882 0 796 3 0 3 3 0 8 0 amappl1 80 9064 0 8500 14 0 14 14 0 8 0 amappl 88 4031 0 3807 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 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 72 17 0 3 1 0 1 1 0 8 0 uaddrrnd 24 586 0 547 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 586 0 547 1 0 1 1 0 8 0 vmmpekpl 168 6662 0 6629 3 0 3 3 0 8 0 vmmpepl 168 42813 0 40699 101 0 101 101 0 357 6 vmsppl 448 585 0 547 5 0 5 5 0 8 0 rwobjpl 56 16642 0 13761 43 0 43 43 0 8 1 pdppl 4096 1179 0 1094 111 24 87 97 0 8 2 pvpl 32 15467 0 0 127 2 125 125 0 265 0 pmappl 248 585 0 547 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 535 0 26 15 0 15 15 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83448ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x7c2cd2492990, count: 12 ddb{0}> trace x86_ipi_db(ffffffff83448ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x7c2cd2492990, count: -3 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830bd849) at panic+0x1e5 sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806c25d8d8,20001000,20002000) at uvm_fault_unwire_locked+0x487 sys/uvm/uvm_fault.c:1663 uvm_fault_unwire(fffffd806c25d8d8,20001000,20002000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1623 sysctl_vsunlock(20001540,210) at sysctl_vsunlock+0x7b sys/kern/kern_sysctl.c:209 net_sysctl(ffff8000357a9d04,3,20001540,ffff8000357a9d38,0,0,69fdef180fb07778) at net_sysctl+0x69a sys/kern/uipc_domain.c:251 sys_sysctl(ffff8000ffff62a0,ffff8000357a9e70,ffff8000357a9dc0) at sys_sysctl+0x422 syscall(ffff8000357a9e70) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000357a9e70) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc45c4f71740, count: 6 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830bd849) at panic+0x1e5 sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806c25d8d8,20001000,20002000) at uvm_fault_unwire_locked+0x487 sys/uvm/uvm_fault.c:1663 uvm_fault_unwire(fffffd806c25d8d8,20001000,20002000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1623 sysctl_vsunlock(20001540,210) at sysctl_vsunlock+0x7b sys/kern/kern_sysctl.c:209 net_sysctl(ffff8000357a9d04,3,20001540,ffff8000357a9d38,0,0,69fdef180fb07778) at net_sysctl+0x69a sys/kern/uipc_domain.c:251 sys_sysctl(ffff8000ffff62a0,ffff8000357a9e70,ffff8000357a9dc0) at sys_sysctl+0x422 syscall(ffff8000357a9e70) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000357a9e70) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc45c4f71740, count: -9