panic: uvm_fault_unwire_locked: address not in map Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *322059 12700 0 0 0x4000000 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8309582c) at panic+0x1cf sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806c221c70,20000000,20001000) at uvm_fault_unwire_locked+0x487 sys/uvm/uvm_fault.c:1694 uvm_fault_unwire(fffffd806c221c70,20000000,20001000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657 kern_sysctl(ffff8000327f2de4,5,20000100,ffff8000327f2e18,0,37,f32b465facf04c1f) at kern_sysctl+0xc4c sys_sysctl(ffff80002a4d2530,ffff8000327f2f50,ffff8000327f2ea0) at sys_sysctl+0x425 syscall(ffff8000327f2f50) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8b8ef08ac10, count: 7 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 *cpu0: uvm_fault_unwire_locked: address not in map ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8309582c) at panic+0x1cf sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806c221c70,20000000,20001000) at uvm_fault_unwire_locked+0x487 sys/uvm/uvm_fault.c:1694 uvm_fault_unwire(fffffd806c221c70,20000000,20001000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657 kern_sysctl(ffff8000327f2de4,5,20000100,ffff8000327f2e18,0,37,f32b465facf04c1f) at kern_sysctl+0xc4c sys_sysctl(ffff80002a4d2530,ffff8000327f2f50,ffff8000327f2ea0) at sys_sysctl+0x425 syscall(ffff8000327f2f50) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8b8ef08ac10, count: -8 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff8000327f2ab0 rbx 0xffff8000327f2de8 rdx 0 rcx 0 rax 0xffff80002a4d2530 r8 0 r9 0x8080808080808080 r10 0x482abd262fdcfe30 r11 0x74d066c74c90cb4a r12 0 r13 0x7f7fffffc000 r14 0 r15 0x1 rip 0xffffffff82575385 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000327f2aa0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (syz-executor) tid=322059 pid=12700 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=86, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a4d3460,0xffff80002a4d3c08 process=0xffff8000327f5138 user=0xffff8000327ee000, vmspace=0xfffffd806c221c70 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 12700 295389 73250 0 2 0 syz-executor *12700 322059 73250 0 7 0x4000000 syz-executor 12700 356484 73250 0 2 0x4000000 syz-executor 12700 221153 73250 0 2 0x4000000 syz-executor 21889 137784 57378 0 3 0x80 nanoslp syz-executor 21889 223211 57378 0 3 0x4000080 fsleep syz-executor 21889 501250 57378 0 3 0x4000080 fsleep syz-executor 51166 327616 31333 0 3 0x80 fsleep syz-executor 51166 339268 31333 0 3 0x4000080 fsleep syz-executor 51166 417458 31333 0 3 0x4000080 fifor syz-executor 51166 435748 31333 0 3 0x4000080 fifor syz-executor 31333 311171 53458 0 2 0x482 syz-executor 91374 239570 98422 0 3 0x80 fsleep syz-executor 91374 405858 98422 0 3 0x4000080 msgwait syz-executor 39931 301466 75256 0 3 0x80 fsleep syz-executor 39931 492497 75256 0 3 0x4000080 fifor syz-executor 77841 178785 76442 0 3 0x80 fsleep syz-executor 77841 118728 76442 0 3 0x4000080 ttyin syz-executor 56296 34880 68927 0 3 0x80 fsleep syz-executor 56296 237047 68927 0 3 0x4000080 fifor syz-executor 9775 287786 1 0 3 0x3000 suspend syz-executor 9775 246223 1 0 3 0x4081000 inode syz-executor 9775 94830 1 0 3 0x4081000 inode syz-executor 30908 312469 0 0 3 0x14200 bored sosplice 68927 344781 53458 0 2 0x482 syz-executor 76442 111781 53458 0 3 0x82 nanoslp syz-executor 98422 72797 53458 0 3 0x82 nanoslp syz-executor 57378 339603 53458 0 2 0x482 syz-executor 75256 365457 53458 0 2 0x482 syz-executor 73250 43642 53458 0 3 0x82 nanoslp syz-executor 53458 316088 89057 0 3 0x82 nanoslp syz-executor 89057 407402 67908 0 3 0x10008a sigsusp ksh 67908 180586 91922 0 3 0x98 kqread sshd-session 91922 444892 65099 0 3 0x92 kqread sshd-session 42270 343687 1 0 3 0x100083 ttyin getty 65099 54944 1 0 3 0x88 kqread sshd 81591 120304 8238 73 3 0x1100090 kqread syslogd 8238 353290 1 0 3 0x100082 sbwait syslogd 72721 171208 1 0 3 0x100080 kqread resolvd 92444 237816 90641 77 3 0x100092 kqread dhcpleased 25023 439965 90641 77 3 0x100092 kqread dhcpleased 90641 472877 1 0 3 0x80 kqread dhcpleased 66543 203367 0 0 3 0x14200 bored smr 24242 148543 0 0 2 0x14200 zerothread 3815 301030 0 0 3 0x14200 aiodoned aiodoned 33208 168472 0 0 3 0x14200 syncer update 58390 187631 0 0 3 0x14200 cleaner cleaner 48789 29033 0 0 3 0x14200 reaper reaper 73538 100505 0 0 3 0x14200 pgdaemon pagedaemon 59660 243805 0 0 3 0x14200 bored viomb 14723 189458 0 0 3 0x40014200 acpi0 acpi0 37322 452253 0 0 3 0x14200 bored softnet3 47621 354010 0 0 3 0x14200 bored softnet2 25228 359320 0 0 3 0x14200 bored softnet1 19259 48698 0 0 3 0x14200 bored softnet0 54530 264364 0 0 3 0x14200 bored systqmp 25318 63900 0 0 3 0x14200 syncxs systq 90642 9757 0 0 2 0x40014200 softclock 25787 27347 0 0 3 0x40014200 idle0 1 398240 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 devbuf 10184 11120K 11427K 166960K 11883 0 pcb 19 16K 17K 166960K 193 0 rtable 223 6K 7K 166960K 445 0 pf 34 13K 13K 166960K 40 0 ifaddr 42 7K 7K 166960K 53 0 ifgroup 52 2K 2K 166960K 58 0 sysctl 2 0K 0K 166960K 2 0 counters 31 17K 17K 166960K 33 0 ioctlops 0 0K 4K 166960K 59 0 iov 0 0K 16K 166960K 101 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1465 92K 92K 166960K 1889 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 13K 166960K 16 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 37 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 17 61K 97K 166960K 717 0 sigio 0 0K 0K 166960K 15 0 proc 60 59K 124K 166960K 551 0 subproc 104 6K 7K 166960K 221 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 257 0 in_multi 95 7K 7K 166960K 132 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 444 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 229 72K 88K 166960K 8170 0 UVM aobj 26 4K 4K 166960K 31 0 pinsyscall 38 76K 96K 166960K 1771 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 23 0 NDP 12 0K 2K 166960K 34 0 temp 56 6815K 6895K 166960K 18539 0 kqueue 13 20K 30K 166960K 125 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle vscsiccb 40 1 0 0 1 0 1 1 0 8 0 rtpcb 120 143 0 140 3 0 3 3 0 8 2 rtentry 112 139 0 36 4 0 4 4 0 8 0 unpcb 144 555 0 534 6 0 6 6 0 8 5 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpqe 32 10 0 10 1 0 1 1 0 8 1 tcpcb 808 137 0 128 2 0 2 2 0 8 0 arp 88 22 0 2 1 0 1 1 0 8 0 ipq 40 6 0 2 1 0 1 1 0 8 0 ipqe 40 10 0 5 1 0 1 1 0 8 0 inpcb 336 654 0 634 9 1 8 8 0 8 6 nd6 104 34 0 10 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 17 0 9 1 0 1 1 0 8 0 ppxss 1072 2 0 1 1 0 1 1 0 8 0 pfstkey 128 1 0 1 1 0 1 1 0 8 1 pfstate 344 1 0 1 1 0 1 1 0 8 1 pfrule 1344 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 608 0 174 29 0 29 29 0 8 1 art_table 32 609 0 174 4 0 4 4 0 8 0 art_node 16 138 0 46 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 9 1 0 1 1 0 8 0 semapl 112 33 0 24 1 0 1 1 0 8 0 shmpl 112 28 0 5 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2515 0 1008 95 0 95 95 0 8 0 ffsino 240 2515 0 1008 89 0 89 89 0 8 0 nchpl 144 3548 0 1854 63 0 63 63 0 8 0 uvmvnodes 80 3011 0 0 62 0 62 62 0 8 0 vnodes 216 3011 0 0 168 0 168 168 0 8 0 namei 1024 11285 0 11282 3 1 2 2 0 8 1 kstatmem 264 28 0 4 2 0 2 2 0 8 0 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 11329 0 11328 9 1 8 8 1 8 7 plimitpl 152 249 0 233 1 0 1 1 0 8 0 sigapl 424 982 0 936 7 1 6 7 0 8 0 futexpl 64 8500 0 8491 1 0 1 1 0 8 0 knotepl 120 23870 0 23823 10 0 10 10 0 8 8 kqueuepl 184 202 0 193 3 0 3 3 0 8 2 pipepl 288 211 0 183 3 0 3 3 0 8 0 fdescpl 432 963 0 934 5 0 5 5 0 8 1 filepl 120 5257 0 5002 14 0 14 14 0 8 5 lockfpl 104 201 0 198 1 0 1 1 0 8 0 lockfspl 48 86 0 83 1 0 1 1 0 8 0 sessionpl 144 33 0 25 1 0 1 1 0 8 0 pgrppl 48 54 0 38 1 0 1 1 0 8 0 ucredpl 104 668 0 657 1 0 1 1 0 8 0 zombiepl 144 1263 0 1262 2 1 1 1 0 8 0 processpl 1096 982 0 936 4 0 4 4 0 8 0 procpl 648 1937 0 1877 6 0 6 6 0 8 0 sosppl 168 3 0 3 1 0 1 1 0 8 1 sockpl 504 1366 0 1324 33 20 13 29 0 8 7 mcl64k 65536 5 0 5 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 16 0 16 2 1 1 1 0 8 1 mcl4k 4096 3379 0 3326 14 5 9 14 0 8 1 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 948 0 943 5 1 4 4 0 8 3 mtagpl 96 52 0 8 3 1 2 2 0 8 0 mbufpl 256 11073 0 10825 23 1 22 22 0 8 3 bufpl 280 4272 0 94 299 0 299 299 0 8 0 anonpl 24 204114 0 200895 48 3 45 45 0 187 20 amapchunkpl 152 27524 0 27036 35 0 35 35 0 158 15 amappl16 200 4883 0 4855 27 16 11 15 0 8 8 amappl15 192 12 0 11 1 0 1 1 0 8 0 amappl14 184 116 0 106 1 0 1 1 0 8 0 amappl13 176 11 0 11 1 1 0 1 0 8 0 amappl12 168 1601 0 1572 3 1 2 3 0 8 0 amappl11 160 48 0 38 1 0 1 1 0 8 0 amappl10 152 62 0 62 1 1 0 1 0 8 0 amappl9 144 106 0 106 1 1 0 1 0 8 0 amappl8 136 20 0 19 1 0 1 1 0 8 0 amappl7 128 112 0 102 1 0 1 1 0 8 0 amappl6 120 169 0 168 1 0 1 1 0 8 0 amappl5 112 130 0 122 1 0 1 1 0 8 0 amappl4 104 292 0 278 1 0 1 1 0 8 0 amappl3 96 4944 0 4852 3 0 3 3 0 8 0 amappl2 88 1262 0 1184 3 0 3 3 0 8 1 amappl1 80 9774 0 9267 15 1 14 14 0 8 0 amappl 88 7742 0 7570 5 0 5 5 0 92 0 dma4096 4096 2 0 2 2 1 1 1 0 8 1 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 256 0 256 2 1 1 1 0 8 1 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 30 0 5 1 0 1 1 0 8 0 uaddrrnd 24 963 0 934 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 963 0 934 1 0 1 1 0 8 0 vmmpekpl 168 9283 0 9249 3 0 3 3 0 8 0 vmmpepl 168 67188 0 65454 92 3 89 89 0 357 9 vmsppl 352 962 0 934 4 0 4 4 0 8 1 rwobjpl 24 25011 0 21131 24 0 24 24 0 8 0 pdppl 4096 1932 0 1868 106 40 66 82 0 8 2 pvpl 32 460791 0 452170 113 3 110 110 0 265 32 pmappl 216 962 0 934 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 425 0 73 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8309582c) at panic+0x1cf sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806c221c70,20000000,20001000) at uvm_fault_unwire_locked+0x487 sys/uvm/uvm_fault.c:1694 uvm_fault_unwire(fffffd806c221c70,20000000,20001000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657 kern_sysctl(ffff8000327f2de4,5,20000100,ffff8000327f2e18,0,37,f32b465facf04c1f) at kern_sysctl+0xc4c sys_sysctl(ffff80002a4d2530,ffff8000327f2f50,ffff8000327f2ea0) at sys_sysctl+0x425 syscall(ffff8000327f2f50) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8b8ef08ac10, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8309582c) at panic+0x1cf sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806c221c70,20000000,20001000) at uvm_fault_unwire_locked+0x487 sys/uvm/uvm_fault.c:1694 uvm_fault_unwire(fffffd806c221c70,20000000,20001000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657 kern_sysctl(ffff8000327f2de4,5,20000100,ffff8000327f2e18,0,37,f32b465facf04c1f) at kern_sysctl+0xc4c sys_sysctl(ffff80002a4d2530,ffff8000327f2f50,ffff8000327f2ea0) at sys_sysctl+0x425 syscall(ffff8000327f2f50) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8b8ef08ac10, count: -8