panic: uvm_fault_unwire_locked: address not in map Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 189615 85071 0 0 0x4000000 1 syz-executor3876741132 * 70347 85071 0 0 0x4000000 0K syz-executor3876741132 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8263ad46) at panic+0x177 sys/kern/subr_prf.c:202 uvm_fault_unwire_locked(fffffd806cd0e8b0,20000000,20001000) at uvm_fault_unwire_locked+0x311 sys/uvm/uvm_fault.c:1640 uvm_fault_unwire(fffffd806cd0e8b0,20000000,20001000) at uvm_fault_unwire+0x3f sys/uvm/uvm_fault.c:1601 sys_sysctl(ffff8000ffff27e8,ffff80002120a468,ffff80002120a4c0) at sys_sysctl+0x229 sys/kern/kern_sysctl.c:254 syscall(ffff80002120a530) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002120a530) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73f6c5a1dc0, 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+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8263ad46) at panic+0x177 sys/kern/subr_prf.c:202 uvm_fault_unwire_locked(fffffd806cd0e8b0,20000000,20001000) at uvm_fault_unwire_locked+0x311 sys/uvm/uvm_fault.c:1640 uvm_fault_unwire(fffffd806cd0e8b0,20000000,20001000) at uvm_fault_unwire+0x3f sys/uvm/uvm_fault.c:1601 sys_sysctl(ffff8000ffff27e8,ffff80002120a468,ffff80002120a4c0) at sys_sysctl+0x229 sys/kern/kern_sysctl.c:254 syscall(ffff80002120a530) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002120a530) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73f6c5a1dc0, count: -7 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002120a230 rbx 0xffffffff82935bff cpu_info_full_primary+0x2bff rdx 0x3fd rcx 0 rax 0x33 r8 0x101010101010101 r9 0x8080808080808080 r10 0xb440199c5bd36a0b r11 0x97a85dde699c3f2 r12 0xffffffff82935a00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff82293c58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002120a220 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor3876741132) pid=70347 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2fc8,0xffffffff82a10d90 process=0xffff80002122dd30 user=0xffff800021205000, vmspace=0xfffffd806cd0e8b0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 7261 356989 68042 0 2 0 syz-executor3876741132 89464 106769 30947 0 2 0 syz-executor3876741132 85071 307830 86105 0 2 0 syz-executor3876741132 85071 189615 86105 0 7 0x4000000 syz-executor3876741132 *85071 70347 86105 0 7 0x4000000 syz-executor3876741132 26969 197912 18638 0 2 0 syz-executor3876741132 42526 401060 1678 0 2 0 syz-executor3876741132 42526 207733 1678 0 2 0x4000000 syz-executor3876741132 18638 24076 30565 0 2 0x480 syz-executor3876741132 75004 423787 30565 0 2 0 syz-executor3876741132 20537 503274 30565 0 2 0 syz-executor3876741132 1678 191516 30565 0 2 0x480 syz-executor3876741132 30947 47760 30565 0 3 0x80 nanoslp syz-executor3876741132 86105 22311 30565 0 2 0x480 syz-executor3876741132 46054 228684 30565 0 2 0 syz-executor3876741132 68042 245741 30565 0 3 0x80 nanoslp syz-executor3876741132 30565 492257 75509 0 3 0x82 nanoslp syz-executor3876741132 75509 283341 24164 0 3 0x10008a sigsusp ksh 24164 203607 25869 0 3 0x9a kqread sshd 15352 127364 1 0 3 0x100083 ttyin getty 25869 379271 1 0 3 0x88 kqread sshd 59875 30460 69553 74 3 0x1100092 bpf pflogd 69553 494332 1 0 3 0x80 netio pflogd 39221 518924 54657 73 3 0x1100090 kqread syslogd 54657 522997 1 0 3 0x100082 netio syslogd 82911 441008 1 0 3 0x100080 kqread resolvd 89547 413348 10602 77 3 0x100092 kqread dhcpleased 50864 178076 10602 77 3 0x100092 kqread dhcpleased 10602 186267 1 0 3 0x80 kqread dhcpleased 84119 389174 0 0 3 0x14200 bored smr 48441 233177 0 0 2 0x14200 zerothread 23742 255454 0 0 3 0x14200 aiodoned aiodoned 45053 34610 0 0 3 0x14200 syncer update 5418 295941 0 0 3 0x14200 cleaner cleaner 16062 234259 0 0 3 0x14200 reaper reaper 73060 384853 0 0 3 0x14200 pgdaemon pagedaemon 72530 472913 0 0 3 0x14200 bored viomb 98504 459280 0 0 3 0x40014200 acpi0 acpi0 55023 84013 0 0 3 0x40014200 idle1 32628 208984 0 0 3 0x14200 bored softnet 4654 513179 0 0 3 0x14200 bored systqmp 70167 444554 0 0 3 0x14200 bored systq 20399 59321 0 0 3 0x40014200 bored softclock 84769 328659 0 0 3 0x40014200 idle0 1 392469 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 85071 (syz-executor3876741132) thread 0xffff8000ffff2fc8 (189615) exclusive rwlock futex r = 0 (0xffffffff829476d0) #0 witness_lock+0x44d #1 sys_futex+0x5c sys/kern/sys_futex.c:108 #2 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #2 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #3 Xsyscall+0x128 Process 85071 (syz-executor3876741132) thread 0xffff8000ffff27e8 (70347) shared rwlock vmmaplk r = 0 (0xfffffd806cd0e8c8) #0 witness_lock+0x44d #1 uvm_fault_unwire+0x31 sys/uvm/uvm_fault.c:1600 #2 sys_sysctl+0x229 sys/kern/kern_sysctl.c:254 #3 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #3 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #4 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff829d7b08) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3d3 sys/kern/sched_bsd.c:416 #3 sleep_finish+0x198 sys/kern/kern_synch.c:437 #4 rw_enter+0x35a sys/kern/kern_rwlock.c:286 #5 icmp6_sysctl+0x85 sys/netinet6/icmp6.c:1922 #6 sys_sysctl+0x209 sys/kern/kern_sysctl.c:249 #7 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #7 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #8 Xsyscall+0x128 exclusive rwlock sysctllk r = 0 (0xffffffff8296c7c0) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 sys_sysctl+0x1b3 sys/kern/kern_sysctl.c:233 #3 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #3 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #4 Xsyscall+0x128 Process 20537 (syz-executor3876741132) thread 0xffff8000ffff6fd0 (503274) exclusive rrwlock inode r = 0 (0xfffffd806cd16d58) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1347 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3101 #10 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806d5494e8) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3086 #8 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10149 6454K 6455K 78643K 11239 0 pcb 13 8K 8K 78643K 13 0 rtable 58 1K 2K 78643K 108 0 ifaddr 29 8K 8K 78643K 32 0 counters 40 33K 33K 78643K 40 0 ioctlops 0 0K 4K 78643K 1479 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1167 73K 73K 78643K 1180 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 282 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 2K 78643K 432 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 7 26K 26K 78643K 7 0 UVM amap 111 69K 70K 78643K 8208 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 23 4713K 4777K 78643K 5117 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 136 35 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 2 2 0 1 0 8 0 tcpcb 736 8 0 5 1 0 1 1 0 8 0 arp 120 2 0 0 1 0 1 1 0 8 0 inpcb 312 32 0 26 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 9 0 7 2 1 1 1 0 8 0 pfstkey 112 9 0 7 2 1 1 1 0 8 0 pfstate 336 9 0 7 2 1 1 1 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 rttmrq 48 4 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 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 2742 0 1340 88 0 88 88 0 8 0 ffsino 272 2742 0 1340 94 0 94 94 0 8 0 nchpl 144 4239 0 2659 59 0 59 59 0 8 0 uvmvnodes 80 2752 0 0 57 0 57 57 0 8 0 vnodes 224 2752 0 0 162 0 162 162 0 8 0 namei 1024 9717 0 9716 3 2 1 2 0 8 0 percpumem 16 32 0 0 1 0 1 1 0 8 0 kstatmem 264 8 0 0 1 0 1 1 0 8 0 scxspl 216 11941 0 11941 22 21 1 8 0 8 1 plimitpl 152 24 0 9 1 0 1 1 0 8 0 sigapl 424 1636 0 1594 6 0 6 6 0 8 0 futexpl 64 1730 0 1729 1 0 1 1 0 8 0 knotepl 120 48 0 0 2 0 2 2 0 8 0 kqueuepl 216 20 0 13 1 0 1 1 0 8 0 pipepl 336 86 0 83 2 1 1 1 0 8 0 fdescpl 496 1622 0 1594 4 0 4 4 0 8 0 filepl 152 2485 0 2425 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 96 69 0 57 1 0 1 1 0 8 0 zombiepl 144 1594 0 1594 2 1 1 1 0 8 1 processpl 1064 1636 0 1594 4 0 4 4 0 8 0 procpl 672 4215 0 4170 5 0 5 5 0 8 0 sockpl 480 84 0 60 5 1 4 4 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 64 0 0 8 1 7 8 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 120 0 0 7 0 7 7 0 8 0 bufpl 288 3347 0 96 233 0 233 233 0 8 0 anonpl 24 154072 0 151224 25 5 20 21 0 186 1 amapchunkpl 152 19054 0 18885 11 2 9 9 0 158 0 amappl16 200 396 0 383 1 0 1 1 0 8 0 amappl13 176 34 0 33 2 1 1 1 0 8 0 amappl12 168 3 0 3 2 2 0 1 0 8 0 amappl11 160 66 0 49 1 0 1 1 0 8 0 amappl10 152 4 0 2 1 0 1 1 0 8 0 amappl9 144 500 0 497 1 0 1 1 0 8 0 amappl8 136 383 0 372 1 0 1 1 0 8 0 amappl7 128 53 0 49 1 0 1 1 0 8 0 amappl6 120 104 0 94 1 0 1 1 0 8 0 amappl5 112 89 0 77 1 0 1 1 0 8 0 amappl4 104 1928 0 1904 1 0 1 1 0 8 0 amappl3 96 4160 0 4118 2 0 2 2 0 8 0 amappl2 88 456 0 418 2 0 2 2 0 8 0 amappl1 80 36592 0 36050 15 2 13 13 0 8 0 amappl 88 7613 0 7537 4 1 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 1622 0 1594 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1622 0 1594 1 0 1 1 0 8 0 vmmpekpl 168 14981 0 14960 2 0 2 2 0 8 0 vmmpepl 168 123411 0 122022 82 8 74 74 0 357 13 vmsppl 368 1621 0 1594 3 0 3 3 0 8 0 rwobjpl 56 33719 0 30289 50 1 49 49 0 8 0 pdppl 4096 3251 0 3188 87 20 67 69 0 8 4 pvpl 32 366000 0 360596 59 9 50 50 0 265 4 pmappl 248 1621 0 1594 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 546 0 28 15 0 15 15 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8263ad46) at panic+0x177 sys/kern/subr_prf.c:202 uvm_fault_unwire_locked(fffffd806cd0e8b0,20000000,20001000) at uvm_fault_unwire_locked+0x311 sys/uvm/uvm_fault.c:1640 uvm_fault_unwire(fffffd806cd0e8b0,20000000,20001000) at uvm_fault_unwire+0x3f sys/uvm/uvm_fault.c:1601 sys_sysctl(ffff8000ffff27e8,ffff80002120a468,ffff80002120a4c0) at sys_sysctl+0x229 sys/kern/kern_sysctl.c:254 syscall(ffff80002120a530) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002120a530) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73f6c5a1dc0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a 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(ffffffff829d7900) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829d7900) at __mp_lock+0x122 sys/kern/kern_lock.c:147 sleep_setup(ffff800021204910,ffff8000ffff2fc8,120,ffffffff8258bb21,0) at sleep_setup+0xd3 sys/kern/kern_synch.c:374 rwsleep(ffff8000ffff2fc8,ffffffff829476c0,120,ffffffff8258bb21,0) at rwsleep+0xc0 sys/kern/kern_synch.c:315 futex_wait(73f1f2285d0,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000ffff2fc8,ffff800021204aa0,ffff800021204b00) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800021204b70) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021204b70) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73f5dae5e80, count: 5 ddb{1}> trace x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a 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(ffffffff829d7900) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829d7900) at __mp_lock+0x122 sys/kern/kern_lock.c:147 sleep_setup(ffff800021204910,ffff8000ffff2fc8,120,ffffffff8258bb21,0) at sleep_setup+0xd3 sys/kern/kern_synch.c:374 rwsleep(ffff8000ffff2fc8,ffffffff829476c0,120,ffffffff8258bb21,0) at rwsleep+0xc0 sys/kern/kern_synch.c:315 futex_wait(73f1f2285d0,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000ffff2fc8,ffff800021204aa0,ffff800021204b00) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800021204b70) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021204b70) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73f5dae5e80, count: -10