panic: uvm_fault_unwire_locked: address not in map Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 167060 53028 0 0 0x4000000 0 syz-executor3750094340 * 48049 55266 0 0 0x4000000 1K syz-executor3750094340 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82847d4b) at panic+0x17b sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806d93e020,20000000,20001000) at uvm_fault_unwire_locked+0x321 sys/uvm/uvm_fault.c:1651 uvm_fault_unwire(fffffd806d93e020,20000000,20001000) at uvm_fault_unwire+0x43 sys/uvm/uvm_fault.c:1611 sys_sysctl(ffff800021234850,ffff80002126b7d0,ffff80002126b820) at sys_sysctl+0x239 sys/kern/kern_sysctl.c:256 syscall(ffff80002126b8a0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002126b8a0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xca0f1a7a320, count: 8 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+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82847d4b) at panic+0x17b sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806d93e020,20000000,20001000) at uvm_fault_unwire_locked+0x321 sys/uvm/uvm_fault.c:1651 uvm_fault_unwire(fffffd806d93e020,20000000,20001000) at uvm_fault_unwire+0x43 sys/uvm/uvm_fault.c:1611 sys_sysctl(ffff800021234850,ffff80002126b7d0,ffff80002126b820) at sys_sysctl+0x239 sys/kern/kern_sysctl.c:256 syscall(ffff80002126b8a0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002126b8a0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xca0f1a7a320, count: -7 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002126b5a0 rbx 0xffff800020d59b8f rdx 0x3fd rcx 0 rax 0x33 r8 0x101010101010101 r9 0x8080808080808080 r10 0x6feff8e2239fafcc r11 0x8efb86a38fcd078e r12 0xffff800020d59990 r13 0 r14 0 r15 0x1 rip 0xffffffff812ec33c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002126b590 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor3750094340) pid=48049 stat=onproc flags process=0 proc=4000000 pri=36, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800021234598,0xffff800021234b18 process=0xffff8000212a9938 user=0xffff800021266000, vmspace=0xfffffd806d93e020 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 64302 238180 88591 0 2 0 syz-executor3750094340 53028 514637 49995 0 2 0 syz-executor3750094340 53028 167060 49995 0 7 0x4000000 syz-executor3750094340 53028 411417 49995 0 2 0x4000000 syz-executor3750094340 23958 150872 50481 0 2 0 syz-executor3750094340 23958 54321 50481 0 2 0x4000000 syz-executor3750094340 23958 368159 50481 0 2 0x4000000 syz-executor3750094340 14395 102100 22026 0 2 0 syz-executor3750094340 14395 391708 22026 0 2 0x4000000 syz-executor3750094340 14395 300130 22026 0 2 0x4000000 syz-executor3750094340 55266 326818 22918 0 2 0 syz-executor3750094340 *55266 48049 22918 0 7 0x4000000 syz-executor3750094340 55266 187309 22918 0 3 0x4000080 fsleep syz-executor3750094340 7706 430277 8924 0 4 0x80c80 syz-executor3750094340 7706 156098 8924 0 2 0x4002800 syz-executor3750094340 7706 364244 8924 0 4 0x4080880 fsleep syz-executor3750094340 35836 514295 58573 0 4 0x80800 syz-executor3750094340 35836 17544 58573 0 2 0x4002800 syz-executor3750094340 35836 478580 58573 0 4 0x4080880 fsleep syz-executor3750094340 56926 63689 40879 0 4 0x80c80 syz-executor3750094340 56926 96494 40879 0 2 0x4002800 syz-executor3750094340 56926 89681 40879 0 4 0x4080880 fsleep syz-executor3750094340 40879 221130 78274 0 3 0x80 nanoslp syz-executor3750094340 8924 41729 78274 0 3 0x80 nanoslp syz-executor3750094340 88591 397101 78274 0 2 0 syz-executor3750094340 22026 175370 78274 0 2 0 syz-executor3750094340 22918 215592 78274 0 3 0x80 nanoslp syz-executor3750094340 50481 192843 78274 0 3 0x80 nanoslp syz-executor3750094340 58573 512783 78274 0 3 0x80 nanoslp syz-executor3750094340 49995 159135 78274 0 3 0x80 nanoslp syz-executor3750094340 78274 38706 16168 0 3 0x82 nanoslp syz-executor3750094340 16168 113695 74748 0 3 0x10008a sigsusp ksh 74748 59490 54393 0 3 0x9a kqread sshd 37561 227730 1 0 3 0x100083 ttyin getty 54393 507433 1 0 3 0x88 kqread sshd 56955 119167 22593 73 3 0x1100090 kqread syslogd 22593 167628 1 0 3 0x100082 netio syslogd 47676 511015 1 0 3 0x100080 kqread resolvd 42306 114154 2674 77 3 0x100092 kqread dhcpleased 63020 352033 2674 77 3 0x100092 kqread dhcpleased 2674 457029 1 0 3 0x80 kqread dhcpleased 25000 506621 0 0 3 0x14200 bored smr 42382 65449 0 0 2 0x14200 zerothread 55812 306121 0 0 3 0x14200 aiodoned aiodoned 53956 316495 0 0 3 0x14200 syncer update 72867 489551 0 0 3 0x14200 cleaner cleaner 83074 305158 0 0 3 0x14200 reaper reaper 68911 132091 0 0 3 0x14200 pgdaemon pagedaemon 80894 286815 0 0 3 0x14200 bored viomb 72654 294417 0 0 3 0x40014200 acpi0 acpi0 38689 250945 0 0 3 0x40014200 idle1 87134 398269 0 0 3 0x14200 bored softnet3 31914 491995 0 0 3 0x14200 bored softnet2 2787 174512 0 0 3 0x14200 bored softnet1 60868 97215 0 0 3 0x14200 bored softnet0 57337 191407 0 0 3 0x14200 bored systqmp 80859 175380 0 0 3 0x14200 bored systq 55394 163458 0 0 3 0x40014200 bored softclock 2200 271283 0 0 3 0x40014200 idle0 1 206471 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 55266 (syz-executor3750094340) thread 0xffff800021234850 (48049) shared rwlock vmmaplk r = 0 (0xfffffd806d93e118) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 uvm_fault_unwire+0x35 sys/uvm/uvm_fault.c:1610 #3 sys_sysctl+0x239 sys/kern/kern_sysctl.c:256 #4 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #4 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #5 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82d80d38) #0 witness_lock+0x447 #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x440 sys/kern/sched_bsd.c:420 #3 sleep_finish+0x184 sys/kern/kern_synch.c:411 #4 rw_enter+0x341 sys/kern/kern_rwlock.c:285 #5 uvm_fault_unwire+0x35 sys/uvm/uvm_fault.c:1610 #6 sys_sysctl+0x239 sys/kern/kern_sysctl.c:256 #7 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #7 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #8 Xsyscall+0x128 exclusive rwlock sysctllk r = 0 (0xffffffff82b62f60) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 sys_sysctl+0x1c3 sys/kern/kern_sysctl.c:235 #3 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #3 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #4 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10149 6388K 6419K 78643K 11227 0 pcb 13 8K 8K 78643K 13 0 rtable 58 1K 2K 78643K 104 0 pf 12 6K 6K 78643K 12 0 ifaddr 12 9K 9K 78643K 12 0 ifgroup 17 1K 1K 78643K 17 0 counters 44 33K 33K 78643K 44 0 ioctlops 0 0K 2K 78643K 21 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1174 73K 74K 78643K 1187 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 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 1 0K 0K 78643K 1 0 proc 55 78K 79K 78643K 246 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 11 0K 0K 78643K 11 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 25 122K 122K 78643K 25 0 exec 0 0K 1K 78643K 234 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 137 6K 34K 78643K 11918 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 3 0K 0K 78643K 3 0 temp 4 5868K 5920K 78643K 2963 0 kqueue 11 16K 18K 78643K 24 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 plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 17 0 14 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 144 33 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 2 2 0 1 0 8 0 tcpqe 32 120 0 120 1 1 0 1 0 8 0 tcpcb 808 8 0 5 1 0 1 1 0 8 0 arp 120 2 0 0 1 0 1 1 0 8 0 inpcb 368 26 0 20 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 96 0 0 6 0 6 6 0 8 0 art_table 32 97 0 0 1 0 1 1 0 8 0 art_node 16 22 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1423 0 37 87 0 87 87 0 8 0 ffsino 272 1423 0 37 93 0 93 93 0 8 0 nchpl 144 1606 0 47 58 0 58 58 0 8 0 uvmvnodes 80 1432 0 0 30 0 30 30 0 8 0 vnodes 216 1432 0 0 80 0 80 80 0 8 0 namei 1024 4637 0 4634 3 1 2 2 0 8 1 percpumem 16 35 0 0 1 0 1 1 0 8 0 kstatmem 264 6 0 0 1 0 1 1 0 8 0 scxspl 216 63918 0 63918 31 29 2 8 0 8 2 plimitpl 152 16 0 10 1 0 1 1 0 8 0 sigapl 424 1399 0 1353 6 0 6 6 0 8 0 futexpl 64 2286 0 2282 1 0 1 1 0 8 0 knotepl 120 46 0 0 2 0 2 2 0 8 0 kqueuepl 216 20 0 13 1 0 1 1 0 8 0 pipepl 320 84 0 81 2 1 1 1 0 8 0 fdescpl 496 1382 0 1353 5 1 4 4 0 8 0 filepl 152 1107 0 1054 3 0 3 3 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 17 0 9 1 0 1 1 0 8 0 pgrppl 48 17 0 9 1 0 1 1 0 8 0 ucredpl 104 281 0 268 1 0 1 1 0 8 0 zombiepl 144 1353 0 1353 2 1 1 1 0 8 1 processpl 1072 1399 0 1353 4 0 4 4 0 8 0 procpl 696 3561 0 3501 7 1 6 6 0 8 0 sockpl 488 76 0 54 3 0 3 3 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 321 0 0 37 5 32 37 0 8 1 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 356 0 0 19 0 19 19 0 8 0 bufpl 288 31068 0 24874 443 0 443 443 0 8 0 anonpl 24 435169 0 432394 51 13 38 38 0 186 17 amapchunkpl 152 32645 0 32372 15 1 14 14 0 158 2 amappl16 200 15670 0 15632 21 13 8 12 0 8 5 amappl15 192 14 0 14 1 1 0 1 0 8 0 amappl14 184 96 0 87 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 1853 0 1834 1 0 1 1 0 8 0 amappl11 160 51 0 41 1 0 1 1 0 8 0 amappl10 152 9 0 9 2 2 0 1 0 8 0 amappl9 144 179 0 179 1 1 0 1 0 8 0 amappl8 136 39 0 37 1 0 1 1 0 8 0 amappl7 128 1132 0 1110 1 0 1 1 0 8 0 amappl6 120 142 0 130 1 0 1 1 0 8 0 amappl5 112 81 0 75 1 0 1 1 0 8 0 amappl4 104 412 0 384 1 0 1 1 0 8 0 amappl3 96 7267 0 7212 2 0 2 2 0 8 0 amappl2 88 1537 0 1491 3 1 2 2 0 8 0 amappl1 80 14377 0 13924 15 4 11 11 0 8 0 amappl 88 9490 0 9390 3 0 3 3 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1382 0 1353 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1382 0 1353 1 0 1 1 0 8 0 vmmpekpl 168 14880 0 14856 2 0 2 2 0 8 0 vmmpepl 168 91229 0 89900 76 9 67 67 0 357 7 vmsppl 464 1381 0 1353 5 1 4 4 0 8 0 rwobjpl 56 43684 0 41519 36 2 34 35 0 8 2 pdppl 4096 2772 0 2706 86 20 66 66 0 8 0 pvpl 32 589167 0 583580 93 20 73 73 0 265 22 pmappl 248 1381 0 1353 3 1 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 785 0 28 22 0 22 22 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82bd2ff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82d80b30) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d80b30) at __mp_lock+0x122 sys/kern/kern_lock.c:147 syscall(ffff8000212e92b0) at syscall+0x5cd mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000212e92b0) at syscall+0x5cd sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xca04a2de970, count: 9 ddb{0}> trace x86_ipi_db(ffffffff82bd2ff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82d80b30) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d80b30) at __mp_lock+0x122 sys/kern/kern_lock.c:147 syscall(ffff8000212e92b0) at syscall+0x5cd mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000212e92b0) at syscall+0x5cd sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xca04a2de970, count: -6 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x1c: addq $0x8,%rsp db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82847d4b) at panic+0x17b sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806d93e020,20000000,20001000) at uvm_fault_unwire_locked+0x321 sys/uvm/uvm_fault.c:1651 uvm_fault_unwire(fffffd806d93e020,20000000,20001000) at uvm_fault_unwire+0x43 sys/uvm/uvm_fault.c:1611 sys_sysctl(ffff800021234850,ffff80002126b7d0,ffff80002126b820) at sys_sysctl+0x239 sys/kern/kern_sysctl.c:256 syscall(ffff80002126b8a0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002126b8a0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xca0f1a7a320, count: 8 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82847d4b) at panic+0x17b sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806d93e020,20000000,20001000) at uvm_fault_unwire_locked+0x321 sys/uvm/uvm_fault.c:1651 uvm_fault_unwire(fffffd806d93e020,20000000,20001000) at uvm_fault_unwire+0x43 sys/uvm/uvm_fault.c:1611 sys_sysctl(ffff800021234850,ffff80002126b7d0,ffff80002126b820) at sys_sysctl+0x239 sys/kern/kern_sysctl.c:256 syscall(ffff80002126b8a0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002126b8a0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xca0f1a7a320, count: -7