panic: uvm_fault_unwire_locked: address not in map Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *485489 9915 0 0 0x4000000 0 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:399 panic() at panic+0x15c sys/kern/subr_prf.c:208 uvm_fault_unwire_locked(fffffd803f013210,210242000,210242000) at uvm_fault_unwire_locked+0x340 uvm_map_pageable_wire(fffffd803f013210,fffffd8030638620,fffffd802f745260,ffff80000313c000,3,3) at uvm_map_pageable_wire+0x5d0 sys/uvm/uvm_map.c:2296 uvm_map_protect(fffffd803f013210,20a00000,21000000,4,0) at uvm_map_protect+0x6d3 sys/uvm/uvm_map.c:3302 syscall(ffff8000149b8140) at syscall+0x541 Xsyscall(6,0,ffffffffffffff9c,0,3,10472010) at Xsyscall+0x128 end of kernel end trace frame: 0x2e5c2e520, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic uvm_fault_unwire_locked: address not in map ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:399 panic() at panic+0x15c sys/kern/subr_prf.c:208 uvm_fault_unwire_locked(fffffd803f013210,210242000,210242000) at uvm_fault_unwire_locked+0x340 uvm_map_pageable_wire(fffffd803f013210,fffffd8030638620,fffffd802f745260,ffff80000313c000,3,3) at uvm_map_pageable_wire+0x5d0 sys/uvm/uvm_map.c:2296 uvm_map_protect(fffffd803f013210,20a00000,21000000,4,0) at uvm_map_protect+0x6d3 sys/uvm/uvm_map.c:3302 syscall(ffff8000149b8140) at syscall+0x541 Xsyscall(6,0,ffffffffffffff9c,0,3,10472010) at Xsyscall+0x128 end of kernel end trace frame: 0x2e5c2e520, count: -7 ddb> show registers rdi 0xffffffff81058cc7 db_enter+0x17 rsi 0x1fdf __ALIGN_SIZE+0xfdf rbp 0xffff8000149b7da0 rbx 0xffff8000149b7e50 rdx 0x1fe0 __ALIGN_SIZE+0xfe0 rcx 0xffff80000313c000 rax 0xffff80000313c000 r8 0xffff8000149b7d60 r9 0x1 r10 0xffff800001d3ad80 r11 0xa3b6d08b9b35adcd r12 0x3000000008 r13 0xffff8000149b7db0 r14 0x100 r15 0x1 rip 0xffffffff81058cc8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000149b7d90 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=485489 stat=onproc flags process=0 proc=4000000 pri=51, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff39e0,0xffffffff82264d88 process=0xffff800014962360 user=0xffff8000149b3000, vmspace=0xfffffd803f013210 estcpu=9, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 9915 184818 87547 0 2 0 syz-executor.0 * 9915 485489 87547 0 7 0x4000000 syz-executor.0 87547 1746 76335 0 3 0x82 nanosleep syz-executor.0 6560 509167 1 0 3 0x100083 ttyin getty 55388 317400 76335 0 3 0x82 piperd syz-executor.1 26905 306450 0 0 3 0x14200 bored sosplice 76335 433760 89645 0 3 0x82 thrsleep syz-fuzzer 76335 171853 89645 0 3 0x4000082 thrsleep syz-fuzzer 76335 357788 89645 0 3 0x4000082 thrsleep syz-fuzzer 76335 44499 89645 0 3 0x4000082 thrsleep syz-fuzzer 76335 221739 89645 0 3 0x4000082 thrsleep syz-fuzzer 76335 238478 89645 0 3 0x4000082 kqread syz-fuzzer 76335 469524 89645 0 3 0x4000082 thrsleep syz-fuzzer 76335 212583 89645 0 3 0x4000082 thrsleep syz-fuzzer 89645 280805 83230 0 3 0x10008a pause ksh 83230 306739 84371 0 3 0x92 select sshd 84371 383090 1 0 3 0x80 select sshd 49936 498489 55159 73 3 0x100090 kqread syslogd 55159 459575 1 0 3 0x100082 netio syslogd 38176 474391 1 77 3 0x100090 poll dhclient 76182 335873 1 0 3 0x80 poll dhclient 45199 79373 0 0 3 0x14200 pgzero zerothread 33469 367544 0 0 3 0x14200 aiodoned aiodoned 87642 293818 0 0 3 0x14200 syncer update 55690 220452 0 0 3 0x14200 cleaner cleaner 79337 57094 0 0 3 0x14200 reaper reaper 6721 466819 0 0 3 0x14200 pgdaemon pagedaemon 68851 429277 0 0 3 0x14200 bored crynlk 6705 256382 0 0 3 0x14200 bored crypto 71752 203328 0 0 3 0x40014200 acpi0 acpi0 77173 364320 0 0 3 0x14200 bored softnet 95589 212444 0 0 3 0x14200 bored systqmp 41746 79869 0 0 3 0x14200 bored systq 82602 306002 0 0 3 0x40014200 bored softclock 30936 378250 0 0 3 0x40014200 idle0 38099 56233 0 0 3 0x14200 bored smr 1 461893 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9483 6340K 6350K 78643K 10899 0 0 pcb 23 9K 10K 78643K 453 0 0 rtable 100 3K 3K 78643K 512 0 0 ifaddr 50 12K 13K 78643K 175 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 35 0 0 iov 0 0K 28K 78643K 157 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1189 74K 75K 78643K 1810 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 9 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 1K 78643K 152 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12537 0 0 file desc 5 13K 25K 78643K 867 0 0 sigio 0 0K 0K 78643K 8 0 0 proc 42 30K 46K 78643K 505 0 0 subproc 64 65538K 67586K 78643K 274 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 121 0 0 in_multi 33 2K 2K 78643K 133 0 0 ether_multi 1 0K 0K 78643K 6 0 0 mrt 1 0K 0K 78643K 2 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 72 318K 318K 78643K 72 0 0 exec 0 0K 1K 78643K 291 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 77 20K 22K 78643K 2901 0 0 UVM aobj 53 3K 3K 78643K 60 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 1K 78643K 36 0 0 NDP 11 0K 0K 78643K 54 0 0 temp 149 2354K 2420K 78643K 5519 0 0 kqueue 0 0K 0K 78643K 7 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 10 0 6 1 0 1 1 0 8 0 inpcbpl 280 452 0 445 1 0 1 1 0 8 0 plimitpl 152 31 0 24 1 0 1 1 0 8 0 rtentry 112 95 0 55 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 158 0 154 1 0 1 1 0 8 0 nd6 48 16 0 12 1 0 1 1 0 8 0 ppxss 1128 19 0 19 6 6 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 453 0 262 12 0 12 12 0 8 0 art_table 32 454 0 262 2 0 2 2 0 8 0 art_node 16 94 0 60 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 5 1 0 1 1 0 8 0 semapl 112 150 0 140 1 0 1 1 0 8 0 shmpl 112 58 0 7 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3086 0 1672 46 0 46 46 0 8 0 ffsino 240 3086 0 1672 84 0 84 84 0 8 0 nchpl 144 4537 0 2927 61 0 61 61 0 8 0 uvmvnodes 72 3287 0 0 60 0 60 60 0 8 0 vnodes 200 3287 0 0 173 0 173 173 0 8 0 namei 1024 13417 0 13417 3 2 1 1 0 8 1 scsiplug 64 6 0 6 3 3 0 1 0 8 0 scxspl 192 18476 0 18476 12 11 1 5 0 8 1 sigapl 432 1019 0 1006 2 0 2 2 0 8 0 futexpl 56 14528 0 14528 2 1 1 1 0 8 1 knotepl 112 381 0 354 2 1 1 2 0 8 0 kqueuepl 104 274 0 272 1 0 1 1 0 8 0 pipepl 112 598 0 579 2 1 1 1 0 8 0 fdescpl 424 1020 0 1006 2 0 2 2 0 8 0 filepl 120 6314 0 6219 6 2 4 5 0 8 1 lockfpl 104 359 0 359 3 2 1 1 0 8 1 lockfspl 32 371 0 371 3 2 1 1 0 8 1 sessionpl 112 25 0 15 1 0 1 1 0 8 0 pgrppl 48 39 0 29 1 0 1 1 0 8 0 ucredpl 96 1603 0 1596 1 0 1 1 0 8 0 zombiepl 144 1006 0 1006 2 1 1 1 0 8 1 processpl 840 1035 0 1006 4 0 4 4 0 8 0 procpl 600 2177 0 2140 4 0 4 4 0 8 0 sosppl 128 19 0 19 6 5 1 1 0 8 1 sockpl 384 850 0 833 4 1 3 3 0 8 1 mcl64k 65536 262 0 262 33 32 1 29 0 8 1 mcl12k 12288 19 0 19 4 4 0 1 0 8 0 mcl9k 9216 14 0 14 5 5 0 1 0 8 0 mcl8k 8192 19 0 19 4 4 0 1 0 8 0 mcl4k 4096 59 0 59 5 4 1 1 0 8 1 mcl2k2 2112 10 0 10 4 3 1 1 0 8 1 mcl2k 2048 47693 0 47658 14 9 5 10 0 8 0 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 82690 0 82612 26 19 7 19 0 8 1 bufpl 256 8558 0 3104 341 0 341 341 0 8 0 anonpl 16 120870 0 113770 88 39 49 54 0 62 10 amapchunkpl 152 4736 0 4657 24 19 5 14 0 158 1 amappl16 192 6100 0 5625 62 31 31 37 0 8 5 amappl15 184 401 0 399 1 0 1 1 0 8 0 amappl14 176 35 0 28 1 0 1 1 0 8 0 amappl13 168 37 0 34 1 0 1 1 0 8 0 amappl12 160 9 0 9 2 1 1 1 0 8 1 amappl11 152 606 0 596 1 0 1 1 0 8 0 amappl10 144 62 0 60 2 1 1 1 0 8 0 amappl9 136 554 0 549 1 0 1 1 0 8 0 amappl8 128 160 0 137 1 0 1 1 0 8 0 amappl7 120 44 0 39 1 0 1 1 0 8 0 amappl6 112 60 0 53 1 0 1 1 0 8 0 amappl5 104 362 0 350 1 0 1 1 0 8 0 amappl4 96 689 0 666 2 1 1 2 0 8 0 amappl3 88 164 0 159 1 0 1 1 0 8 0 amappl2 80 8719 0 8670 2 0 2 2 0 8 0 amappl1 72 27524 0 27103 26 17 9 19 0 8 0 amappl 72 2441 0 2410 1 0 1 1 0 75 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 dma64 64 259 0 259 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 17 0 17 1 1 0 1 0 8 0 aobjpl 64 59 0 7 1 0 1 1 0 8 0 uaddrrnd 24 1020 0 1006 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1020 0 1006 1 0 1 1 0 8 0 vmmpekpl 168 10502 0 10486 2 0 2 2 0 8 0 vmmpepl 168 115981 0 114572 133 54 79 92 0 357 11 vmsppl 264 1019 0 1006 3 2 1 2 0 8 0 pdppl 4096 2046 0 2012 6 1 5 6 0 8 0 pvpl 32 405510 0 395346 266 91 175 241 0 265 75 pmappl 192 1019 0 1006 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 535 0 73 14 0 14 14 0 8 0