panic: uvm_fault_unwire_locked: address not in map Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 426380 88681 0 0 0 1 syz-executor *130554 88681 0 0 0x4000000 0K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830cc213) at panic+0x1e5 sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806beb93a8,20000000,20011000) at uvm_fault_unwire_locked+0x487 sys/uvm/uvm_fault.c:1694 uvm_fault_unwire(fffffd806beb93a8,20000000,20011000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657 kern_sysctl(ffff800033b8ca84,5,20000100,ffff800033b8cab8,0,37,e749c7b4ed60a180) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline] kern_sysctl(ffff800033b8ca84,5,20000100,ffff800033b8cab8,0,37,e749c7b4ed60a180) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508 sys_sysctl(ffff800037212038,ffff800033b8cbf0,ffff800033b8cb40) at sys_sysctl+0x425 syscall(ffff800033b8cbf0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff800033b8cbf0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcbe409399e0, 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{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+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830cc213) at panic+0x1e5 sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806beb93a8,20000000,20011000) at uvm_fault_unwire_locked+0x487 sys/uvm/uvm_fault.c:1694 uvm_fault_unwire(fffffd806beb93a8,20000000,20011000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657 kern_sysctl(ffff800033b8ca84,5,20000100,ffff800033b8cab8,0,37,e749c7b4ed60a180) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline] kern_sysctl(ffff800033b8ca84,5,20000100,ffff800033b8cab8,0,37,e749c7b4ed60a180) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508 sys_sysctl(ffff800037212038,ffff800033b8cbf0,ffff800033b8cb40) at sys_sysctl+0x425 syscall(ffff800033b8cbf0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff800033b8cbf0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcbe409399e0, count: -8 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800033b8c740 rbx 0xffffffff83467dbf cpu_info_full_primary+0x2dbf rdx 0 rcx 0xffff800037212038 rax 0xffffffff83466ff0 cpu_info_full_primary+0x1ff0 r8 0 r9 0x8080808080808080 r10 0xf20251fe27cafa16 r11 0xc7a7e7f520eeddc3 r12 0xffffffff83467bc0 cpu_info_full_primary+0x2bc0 r13 0 r14 0 r15 0x1 rip 0xffffffff8189edc5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff800033b8c730 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=130554 pid=88681 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=50, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800037213988,0xffff8000372127e0 process=0xffff8000ffff5238 user=0xffff800033b87000, vmspace=0xfffffd806beb93a8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 88681 426380 96296 0 7 0 syz-executor *88681 130554 96296 0 7 0x4000000 syz-executor 88681 133606 96296 0 2 0x4000000 syz-executor 88681 412174 96296 0 2 0x4000000 syz-executor 27498 189775 24002 0 2 0x480 syz-executor 27498 67523 24002 0 3 0x4000080 kqread syz-executor 27498 403794 24002 0 3 0x4000080 fsleep syz-executor 27498 352954 24002 0 3 0x4000080 fsleep syz-executor 96247 510511 28393 0 3 0x80 fsleep syz-executor 96247 493767 28393 0 3 0x4000080 kqpoll syz-executor 43044 452410 30086 0 3 0x80 fsleep syz-executor 43044 108916 30086 0 3 0x4000080 pipewr syz-executor 64003 413045 44229 0 3 0x80 fsleep syz-executor 64003 269160 44229 0 3 0x4000080 sbwait syz-executor 39911 236026 92673 0 3 0x80 fsleep syz-executor 39911 251495 92673 0 3 0x4000080 sbwait syz-executor 33785 78854 12220 0 3 0x80 fsleep syz-executor 33785 449930 12220 0 3 0x4000080 netcon syz-executor 62336 483326 0 0 3 0x14200 acct acct 28393 362129 96514 0 3 0x82 nanoslp syz-executor 33266 408098 1 0 3 0x100083 ttyin getty 43120 223723 0 0 3 0x14200 bored sosplice 24002 151677 96514 0 3 0x82 nanoslp syz-executor 35335 382196 96514 0 2 0x2 syz-executor 12220 243974 96514 0 3 0x82 nanoslp syz-executor 92673 256295 96514 0 3 0x82 nanoslp syz-executor 44229 183272 96514 0 3 0x82 nanoslp syz-executor 96296 17135 96514 0 2 0x482 syz-executor 30086 71640 96514 0 3 0x82 nanoslp syz-executor 96514 380818 57473 0 3 0x82 kqread syz-executor 57473 369958 98521 0 3 0x10008a sigsusp ksh 98521 100853 61011 0 3 0x98 kqread sshd-session 61011 520639 45179 0 3 0x92 kqread sshd-session 45179 351052 1 0 3 0x88 kqread sshd 81241 117355 2079 74 3 0x1100092 bpf pflogd 2079 511733 1 0 3 0x80 sbwait pflogd 62117 442767 82651 73 3 0x1100090 kqread syslogd 82651 170594 1 0 3 0x100082 sbwait syslogd 69541 205408 1 0 3 0x100080 kqread resolvd 82851 97634 32039 77 3 0x100092 kqread dhcpleased 95258 280950 32039 77 3 0x100092 kqread dhcpleased 32039 394513 1 0 3 0x80 kqread dhcpleased 9367 158121 0 0 3 0x14200 bored smr 20305 295078 0 0 3 0x14200 pgzero zerothread 16761 280596 0 0 3 0x14200 aiodoned aiodoned 59681 31399 0 0 3 0x14200 syncer update 51848 231733 0 0 3 0x14200 cleaner cleaner 20407 272203 0 0 3 0x14200 reaper reaper 92896 307964 0 0 3 0x14200 pgdaemon pagedaemon 75672 456260 0 0 3 0x14200 bored viomb 20481 380186 0 0 3 0x40014200 acpi0 acpi0 49283 506421 0 0 3 0x40014200 idle1 80291 303778 0 0 3 0x14200 bored softnet3 61589 265912 0 0 3 0x14200 bored softnet2 21337 89216 0 0 3 0x14200 bored softnet1 25586 474646 0 0 3 0x14200 bored softnet0 28010 368346 0 0 3 0x14200 bored systqmp 38318 424481 0 0 3 0x14200 bored systq 51251 399270 0 0 3 0x14200 tmoslp softclockmp 83271 233626 0 0 2 0x40014200 softclock 8022 328295 0 0 3 0x40014200 idle0 1 420216 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 88681 (syz-executor) thread 0xffff800037213988 (426380) Process 88681 (syz-executor) thread 0xffff800037212038 (130554) Process 35335 (syz-executor) thread 0xffff800029fd8008 (382196) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10244 11325K 12334K 166960K 13579 0 pcb 19 12K 12K 166960K 218 0 rtable 213 8K 8K 166960K 605 0 pf 38 18K 274K 166960K 129 0 ifaddr 43 7K 7K 166960K 82 0 ifgroup 64 2K 2K 166960K 117 0 sysctl 3 0K 1K 166960K 4 0 counters 66 36K 37K 166960K 98 0 ioctlops 0 0K 4K 166960K 1709 0 iov 0 0K 16K 166960K 157 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1439 90K 91K 166960K 2612 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 29 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 129 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 17 61K 89K 166960K 1554 0 sigio 0 0K 0K 166960K 60 0 proc 72 91K 140K 166960K 653 0 subproc 104 6K 6K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 170 0 in_multi 86 6K 7K 166960K 210 0 ether_multi 1 0K 0K 166960K 5 0 mrt 1 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 512 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 242 77K 87K 166960K 16058 0 UVM aobj 131 5K 5K 166960K 143 0 pinsyscall 42 84K 103K 166960K 2728 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 78 0 NDP 13 0K 2K 166960K 55 0 temp 77 6828K 6896K 166960K 51066 0 kqueue 15 24K 30K 166960K 267 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 248 0 245 3 2 1 3 0 8 0 rtentry 112 182 0 88 4 0 4 4 0 8 0 unpcb 144 1231 0 1204 6 4 2 4 0 8 0 syncache 336 10 0 10 2 2 0 1 0 8 0 tcpqe 32 3 0 3 2 2 0 1 0 8 0 tcpcb 808 638 0 632 16 14 2 8 0 8 0 arp 120 27 0 8 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 3 0 3 1 1 0 1 0 8 0 inpcb 336 1927 0 1913 26 23 3 12 0 8 1 nd6 136 40 0 18 1 0 1 1 0 8 0 pkpcb 40 9 0 9 3 3 0 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1168 9 0 9 4 3 1 1 0 8 1 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 8 0 2 1 0 1 1 0 482 0 pffrnode 88 8 0 2 1 0 1 1 0 8 0 pffrent 40 10 0 4 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 pfrktable 1344 12 0 12 1 1 0 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 14 0 12 1 0 1 1 0 8 0 pfstitem 24 105 0 46 1 0 1 1 0 8 0 pfstkey 128 107 0 48 3 0 3 3 0 8 0 pfstate 376 106 0 47 7 0 7 7 0 8 0 pfrule 1344 53 0 46 2 0 2 2 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 790 0 346 33 5 28 30 0 8 0 art_table 32 793 0 346 4 0 4 4 0 8 0 art_node 16 176 0 93 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 5 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 124 0 114 1 0 1 1 0 8 0 shmpl 112 140 0 12 4 0 4 4 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 4277 0 2781 95 0 95 95 0 8 0 ffsino 272 4277 0 2781 101 0 101 101 0 8 0 nchpl 144 6639 0 6090 63 39 24 63 0 8 0 uvmvnodes 80 5006 0 0 103 0 103 103 0 8 0 vnodes 216 5006 0 0 279 0 279 279 0 8 0 namei 1024 21373 0 21372 3 2 1 2 0 8 0 percpumem 16 63 0 16 1 0 1 1 0 8 0 kstatmem 264 58 0 32 3 1 2 3 0 8 0 scsiplug 72 3 0 3 2 2 0 1 0 8 0 scxspl 216 18587 0 18587 14 12 2 8 1 8 2 plimitpl 152 405 0 387 1 0 1 1 0 8 0 sigapl 424 1894 0 1843 10 3 7 9 0 8 0 futexpl 64 27312 0 27305 1 0 1 1 0 8 0 knotepl 120 578 0 0 19 1 18 19 0 8 0 kqueuepl 216 374 0 362 1 0 1 1 0 8 0 pipepl 320 294 0 266 4 0 4 4 0 8 1 fdescpl 496 1852 0 1821 5 0 5 5 0 8 0 filepl 152 11711 0 11444 25 13 12 18 0 8 1 lockfpl 104 617 0 615 2 0 2 2 0 8 1 lockfspl 48 211 0 209 1 0 1 1 0 8 0 sessionpl 144 31 0 22 1 0 1 1 0 8 0 pgrppl 48 108 0 91 1 0 1 1 0 8 0 ucredpl 104 2575 0 2562 1 0 1 1 0 8 0 zombiepl 144 1843 0 1843 1 0 1 1 0 8 1 processpl 1160 1894 0 1843 7 2 5 6 0 8 0 procpl 648 4126 0 4064 8 2 6 8 0 8 0 srpgc 96 7 0 7 4 4 0 1 0 8 0 sosppl 168 11 0 11 6 5 1 1 0 8 1 sockpl 664 3494 0 3451 26 21 5 14 0 8 0 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 145 0 0 19 0 19 19 0 8 0 mcl2k 2048 27 0 0 4 0 4 4 0 8 0 mtagpl 96 68 0 0 2 0 2 2 0 8 0 mbufpl 256 314 0 0 18 0 18 18 0 8 0 bufpl 280 4865 0 106 340 0 340 340 0 8 0 anonpl 24 263871 0 260104 62 31 31 47 0 185 0 amapchunkpl 152 53353 0 52829 50 25 25 33 0 158 3 amappl16 200 5336 0 5304 19 17 2 15 0 8 0 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 132 0 120 1 0 1 1 0 8 0 amappl13 176 29 0 29 3 3 0 1 0 8 0 amappl12 168 2562 0 2531 4 1 3 3 0 8 0 amappl11 160 65 0 51 1 0 1 1 0 8 0 amappl10 152 7 0 7 2 2 0 1 0 8 0 amappl9 144 152 0 152 1 1 0 1 0 8 0 amappl8 136 26 0 22 1 0 1 1 0 8 0 amappl7 128 125 0 112 1 0 1 1 0 8 0 amappl6 120 181 0 180 1 0 1 1 0 8 0 amappl5 112 146 0 134 1 0 1 1 0 8 0 amappl4 104 349 0 330 1 0 1 1 0 8 0 amappl3 96 9784 0 9682 3 0 3 3 0 8 0 amappl2 88 2205 0 2119 3 0 3 3 0 8 0 amappl1 80 13791 0 13229 15 1 14 15 0 8 0 amappl 88 15493 0 15314 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 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 7 0 7 2 2 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 142 0 12 3 0 3 3 0 8 0 uaddrrnd 24 1852 0 1821 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1852 0 1821 1 0 1 1 0 8 0 vmmpekpl 168 15814 0 15769 3 0 3 3 0 8 0 vmmpepl 168 117589 0 115706 97 12 85 94 0 357 0 vmsppl 448 1851 0 1821 6 2 4 5 0 8 0 rwobjpl 56 37080 0 30999 86 0 86 86 0 8 0 pdppl 4096 3711 0 3642 117 46 71 83 0 8 2 pvpl 32 14121 0 0 118 4 114 114 0 265 0 pmappl 248 1851 0 1821 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 458 0 100 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830cc213) at panic+0x1e5 sys/kern/subr_prf.c:198 uvm_fault_unwire_locked(fffffd806beb93a8,20000000,20011000) at uvm_fault_unwire_locked+0x487 sys/uvm/uvm_fault.c:1694 uvm_fault_unwire(fffffd806beb93a8,20000000,20011000) at uvm_fault_unwire+0x55 sys/uvm/uvm_fault.c:1657 kern_sysctl(ffff800033b8ca84,5,20000100,ffff800033b8cab8,0,37,e749c7b4ed60a180) at kern_sysctl+0x500 sysctl_vsunlock sys/kern/kern_sysctl.c:209 [inline] kern_sysctl(ffff800033b8ca84,5,20000100,ffff800033b8cab8,0,37,e749c7b4ed60a180) at kern_sysctl+0x500 sys/kern/kern_sysctl.c:508 sys_sysctl(ffff800037212038,ffff800033b8cbf0,ffff800033b8cb40) at sys_sysctl+0x425 syscall(ffff800033b8cbf0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff800033b8cbf0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcbe409399e0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff835fcbe0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835fcbe0) at __mp_lock+0x192 sys/kern/kern_lock.c:144 uvm_fault(fffffd806beb93a8,cbdcdba9000,0,2) at uvm_fault+0x1e0 sys/uvm/uvm_fault.c:622 upageflttrap(ffff80002a124550,cbdcdba9000) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:188 usertrap(ffff80002a124550) at usertrap+0x2d8 sys/arch/amd64/amd64/trap.c:436 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x732aaf45c980, count: 7 ddb{1}> trace x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff835fcbe0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835fcbe0) at __mp_lock+0x192 sys/kern/kern_lock.c:144 uvm_fault(fffffd806beb93a8,cbdcdba9000,0,2) at uvm_fault+0x1e0 sys/uvm/uvm_fault.c:622 upageflttrap(ffff80002a124550,cbdcdba9000) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:188 usertrap(ffff80002a124550) at usertrap+0x2d8 sys/arch/amd64/amd64/trap.c:436 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x732aaf45c980, count: -8