panic: uvm_fault_unwire_locked: address not in map Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *507625 76072 0 0 0x4000000 0 syz-executor3103658356 274612 35263 0 0 0 1 syz-executor3103658356 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8285e382) at panic+0x17b sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806d832cc8,20001000,20002000) at uvm_fault_unwire_locked+0x321 sys/uvm/uvm_fault.c:1663 uvm_fault_unwire(fffffd806d832cc8,20001000,20002000) at uvm_fault_unwire+0x43 sys/uvm/uvm_fault.c:1623 sys_sysctl(ffff8000212f7a90,ffff8000212ad010,ffff8000212ad060) at sys_sysctl+0x239 sys/kern/kern_sysctl.c:259 syscall(ffff8000212ad0e0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000212ad0e0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa85d6116af0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault_unwire_locked: address not in map ddb{0}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8285e382) at panic+0x17b sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806d832cc8,20001000,20002000) at uvm_fault_unwire_locked+0x321 sys/uvm/uvm_fault.c:1663 uvm_fault_unwire(fffffd806d832cc8,20001000,20002000) at uvm_fault_unwire+0x43 sys/uvm/uvm_fault.c:1623 sys_sysctl(ffff8000212f7a90,ffff8000212ad010,ffff8000212ad060) at sys_sysctl+0x239 sys/kern/kern_sysctl.c:259 syscall(ffff8000212ad0e0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000212ad0e0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa85d6116af0, count: -7 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000212acde0 rbx 0xffffffff82bbaba7 cpu_info_full_primary+0x2ba7 rdx 0x3fd rcx 0 rax 0x33 r8 0x101010101010101 r9 0x8080808080808080 r10 0xae39efd8248d5380 r11 0xb25ff6d4e19f09de r12 0xffffffff82bba9a8 cpu_info_full_primary+0x29a8 r13 0 r14 0 r15 0x1 rip 0xffffffff81d82f8c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff8000212acdd0 ss 0 db_enter+0x1c: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor3103658356) tid=507625 pid=76072 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=83, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff8000212f67f8,0xffff8000212f72a8 process=0xffff8000211fbab8 user=0xffff8000212a8000, vmspace=0xfffffd806d832cc8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 68100 313546 11662 0 2 0 syz-executor3103658356 50698 12585 43285 0 2 0 syz-executor3103658356 20083 306855 20088 0 2 0 syz-executor3103658356 48559 281610 65170 0 2 0 syz-executor3103658356 61246 113252 46151 0 2 0 syz-executor3103658356 61246 52553 46151 0 2 0x4000000 syz-executor3103658356 61246 383551 46151 0 2 0x4000000 syz-executor3103658356 76072 240782 14287 0 2 0 syz-executor3103658356 *76072 507625 14287 0 7 0x4000000 syz-executor3103658356 76072 433795 14287 0 3 0x4000080 fsleep syz-executor3103658356 35263 274612 19065 0 7 0 syz-executor3103658356 35263 501184 19065 0 3 0x4000080 fsleep syz-executor3103658356 35263 58228 19065 0 2 0x4000000 syz-executor3103658356 72158 464051 3004 0 2 0 syz-executor3103658356 72158 403930 3004 0 2 0x4000000 syz-executor3103658356 72158 92108 3004 0 2 0x4000000 syz-executor3103658356 46151 862 89736 0 3 0x80 nanoslp syz-executor3103658356 20088 301014 89736 0 3 0x80 nanoslp syz-executor3103658356 65170 444827 89736 0 3 0x80 nanoslp syz-executor3103658356 11662 431370 89736 0 2 0 syz-executor3103658356 19065 338507 89736 0 2 0 syz-executor3103658356 3004 487861 89736 0 3 0x80 nanoslp syz-executor3103658356 43285 408333 89736 0 3 0x80 nanoslp syz-executor3103658356 14287 258358 89736 0 3 0x80 nanoslp syz-executor3103658356 89736 31333 1222 0 3 0x82 nanoslp syz-executor3103658356 1222 41143 89973 0 3 0x10008a sigsusp ksh 89973 19180 37904 0 3 0x9a kqread sshd 48593 92797 1 0 3 0x100083 ttyin getty 37904 63687 1 0 3 0x88 kqread sshd 60324 413459 32776 74 3 0x1100092 bpf pflogd 32776 115501 1 0 3 0x80 netio pflogd 27736 508952 19276 73 3 0x1100090 kqread syslogd 19276 506762 1 0 3 0x100082 netio syslogd 92852 391743 1 0 3 0x100080 kqread resolvd 46045 214559 85165 77 3 0x100092 kqread dhcpleased 51912 81931 85165 77 3 0x100092 kqread dhcpleased 85165 333435 1 0 3 0x80 kqread dhcpleased 1730 62449 0 0 3 0x14200 bored smr 55724 403482 0 0 2 0x14200 zerothread 73563 117981 0 0 3 0x14200 aiodoned aiodoned 10972 370587 0 0 3 0x14200 syncer update 41684 499518 0 0 3 0x14200 cleaner cleaner 93562 33659 0 0 3 0x14200 reaper reaper 82926 345622 0 0 3 0x14200 pgdaemon pagedaemon 96546 222299 0 0 3 0x14200 bored viomb 6411 288546 0 0 3 0x40014200 acpi0 acpi0 75702 205530 0 0 3 0x40014200 idle1 98210 345592 0 0 3 0x14200 bored softnet3 53483 234121 0 0 3 0x14200 bored softnet2 72405 241766 0 0 3 0x14200 bored softnet1 9837 380936 0 0 3 0x14200 bored softnet0 99237 508036 0 0 3 0x14200 bored systqmp 12300 210928 0 0 3 0x14200 bored systq 10259 206670 0 0 3 0x14200 tmoslp softclockmp 29805 397609 0 0 3 0x40014200 tmoslp softclock 34181 233470 0 0 3 0x40014200 idle0 1 224051 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 76072 (syz-executor3103658356) thread 0xffff8000212f7a90 (507625) shared rwlock vmmaplk r = 0 (0xfffffd806d832dc0) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 uvm_fault_unwire+0x35 sys/uvm/uvm_fault.c:1622 #3 sys_sysctl+0x239 sys/kern/kern_sysctl.c:259 #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 (0xffffffff82d5bd78) #0 witness_lock+0x447 #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x46d sys/kern/sched_bsd.c:470 #3 sleep_finish+0x19b sys/kern/kern_synch.c:414 #4 rw_enter+0x341 sys/kern/kern_rwlock.c:285 #5 uvm_fault_unwire+0x35 sys/uvm/uvm_fault.c:1622 #6 sys_sysctl+0x239 sys/kern/kern_sysctl.c:259 #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 (0xffffffff82b7afd0) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 sys_sysctl+0x1c3 sys/kern/kern_sysctl.c:238 #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10162 6456K 6457K 78643K 11240 0 pcb 13 8K 8K 78643K 13 0 rtable 58 1K 2K 78643K 108 0 pf 15 6K 10K 78643K 26 0 ifaddr 13 9K 9K 78643K 13 0 ifgroup 22 1K 1K 78643K 22 0 counters 44 33K 33K 78643K 44 0 ioctlops 0 0K 4K 78643K 1475 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1176 74K 74K 78643K 1192 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 67 91K 91K 78643K 302 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 260 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 136 7K 8K 78643K 52803 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 4 0K 0K 78643K 4 0 temp 1 5904K 5968K 78643K 3011 0 kqueue 11 16K 18K 78643K 24 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> 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 35 0 20 1 0 1 1 0 8 0 syncache 304 5 0 5 2 2 0 1 0 8 0 tcpqe 32 44 0 44 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 33 0 27 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 8 0 6 2 1 1 1 0 8 0 pfstkey 128 8 0 6 2 1 1 1 0 8 0 pfstate 376 8 0 6 2 1 1 1 0 8 0 pfrule 1344 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 95 0 0 6 0 6 6 0 8 0 art_table 32 96 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 1432 0 38 88 0 88 88 0 8 0 ffsino 272 1432 0 38 93 0 93 93 0 8 0 nchpl 144 1618 0 49 59 0 59 59 0 8 0 uvmvnodes 80 1446 0 0 30 0 30 30 0 8 0 vnodes 216 1446 0 0 81 0 81 81 0 8 0 namei 1024 4514 0 4514 2 2 0 1 0 8 0 percpumem 16 35 0 0 1 0 1 1 0 8 0 kstatmem 264 8 0 0 1 0 1 1 0 8 0 scxspl 216 5093 0 5093 10 9 1 8 1 8 1 plimitpl 152 17 0 10 1 0 1 1 0 8 0 sigapl 424 7052 0 7003 6 0 6 6 0 8 0 futexpl 64 15973 0 15971 1 0 1 1 0 8 0 knotepl 120 44 0 0 2 0 2 2 0 8 0 kqueuepl 216 20 0 13 1 0 1 1 0 8 0 pipepl 320 91 0 88 2 1 1 1 0 8 0 fdescpl 496 7034 0 7003 4 0 4 4 0 8 0 filepl 152 1257 0 1199 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 18 0 9 1 0 1 1 0 8 0 pgrppl 48 18 0 9 1 0 1 1 0 8 0 ucredpl 104 71 0 59 1 0 1 1 0 8 0 zombiepl 144 7003 0 7003 2 1 1 1 0 8 1 processpl 1072 7052 0 7003 4 0 4 4 0 8 0 procpl 680 20398 0 20341 6 0 6 6 0 8 1 sockpl 488 85 0 61 5 1 4 4 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 249 0 0 29 4 25 29 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 267 0 0 16 1 15 16 0 8 0 bufpl 288 2471 0 90 171 0 171 171 0 8 0 anonpl 24 487333 0 485125 28 13 15 24 0 186 0 amapchunkpl 152 141410 0 141182 15 2 13 13 0 158 3 amappl16 200 9524 0 9522 6 5 1 5 0 8 0 amappl15 192 73 0 73 1 1 0 1 0 8 0 amappl14 184 113 0 102 1 0 1 1 0 8 0 amappl13 176 50 0 50 1 1 0 1 0 8 0 amappl12 168 7547 0 7528 3 1 2 2 0 8 1 amappl11 160 56 0 42 1 0 1 1 0 8 0 amappl10 152 14 0 14 2 2 0 1 0 8 0 amappl9 144 126 0 126 1 1 0 1 0 8 0 amappl8 136 45 0 43 1 0 1 1 0 8 0 amappl7 128 6810 0 6784 1 0 1 1 0 8 0 amappl6 120 114 0 109 1 0 1 1 0 8 0 amappl5 112 108 0 97 1 0 1 1 0 8 0 amappl4 104 352 0 331 1 0 1 1 0 8 0 amappl3 96 27279 0 27229 3 1 2 2 0 8 0 amappl2 88 7326 0 7265 2 0 2 2 0 8 0 amappl1 80 44033 0 43531 16 4 12 12 0 8 0 amappl 88 47213 0 47125 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 7034 0 7003 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7034 0 7003 1 0 1 1 0 8 0 vmmpekpl 168 55544 0 55528 2 0 2 2 0 8 0 vmmpepl 168 298197 0 296838 73 9 64 64 0 357 4 vmsppl 464 7033 0 7003 4 0 4 4 0 8 0 rwobjpl 56 107929 0 105746 33 1 32 32 0 8 1 pdppl 4096 14076 0 14006 90 20 70 70 0 8 0 pvpl 32 972108 0 966721 69 23 46 57 0 265 2 pmappl 248 7033 0 7003 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 512 0 29 14 0 14 14 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8285e382) at panic+0x17b sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806d832cc8,20001000,20002000) at uvm_fault_unwire_locked+0x321 sys/uvm/uvm_fault.c:1663 uvm_fault_unwire(fffffd806d832cc8,20001000,20002000) at uvm_fault_unwire+0x43 sys/uvm/uvm_fault.c:1623 sys_sysctl(ffff8000212f7a90,ffff8000212ad010,ffff8000212ad060) at sys_sysctl+0x239 sys/kern/kern_sysctl.c:259 syscall(ffff8000212ad0e0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000212ad0e0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa85d6116af0, count: -7 ddb{0}> machine ddbcpu 1