LLpanic: uvm_fault_unwire_locked: address not in map Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *508857 57211 0 0 0x4000000 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:208 uvm_fault_unwire_locked(fffffd803f013528,21fc0b000,21fc0b000) at uvm_fault_unwire_locked+0x322 uvm_map_pageable_wire(fffffd803f013528,fffffd8033308b40,fffffd803c7d1318,ffff80000138e000,3,3) at uvm_map_pageable_wire+0x5d0 sys/uvm/uvm_map.c:2296 uvm_map_protect(fffffd803f013528,20a00000,21000000,4,0) at uvm_map_protect+0x6d3 sys/uvm/uvm_map.c:3302 syscall(ffff80002217a670) at syscall+0x511 Xsyscall(6,0,ffffffffffffff9a,0,3,1fe4b010) at Xsyscall+0x128 end of kernel end trace frame: 0x249, 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:398 panic() at panic+0x15c sys/kern/subr_prf.c:208 uvm_fault_unwire_locked(fffffd803f013528,21fc0b000,21fc0b000) at uvm_fault_unwire_locked+0x322 uvm_map_pageable_wire(fffffd803f013528,fffffd8033308b40,fffffd803c7d1318,ffff80000138e000,3,3) at uvm_map_pageable_wire+0x5d0 sys/uvm/uvm_map.c:2296 uvm_map_protect(fffffd803f013528,20a00000,21000000,4,0) at uvm_map_protect+0x6d3 sys/uvm/uvm_map.c:3302 syscall(ffff80002217a670) at syscall+0x511 Xsyscall(6,0,ffffffffffffff9a,0,3,1fe4b010) at Xsyscall+0x128 end of kernel end trace frame: 0x249, count: -7 ddb> show registers rdi 0xffffffff8140d467 db_enter+0x17 rsi 0x33e0 __ALIGN_SIZE+0x23e0 rbp 0xffff80002217a2e0 rbx 0xffff80002217a390 rdx 0x33e1 __ALIGN_SIZE+0x23e1 rcx 0xffff80000138e000 rax 0xffff80000138e000 r8 0xffff80002217a2a0 r9 0x1 r10 0xffff80000158e380 r11 0x5829a4aa83b5de03 r12 0x3000000008 r13 0xffff80002217a2f0 r14 0x100 r15 0x1 rip 0xffffffff8140d468 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002217a2d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=508857 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002209c978,0xffffffff8228a470 process=0xffff8000220b33c8 user=0xffff800022175000, vmspace=0xfffffd803f013528 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 57211 222794 49530 0 2 0 syz-executor.1 *57211 508857 49530 0 7 0x4000000 syz-executor.1 78595 192961 36040 0 3 0x80 nanosleep syz-executor.0 78595 253758 36040 0 3 0x4000080 lockf syz-executor.0 78595 514866 36040 0 3 0x4000080 fsleep syz-executor.0 36040 482524 63606 0 3 0x82 nanosleep syz-executor.0 49530 471481 63606 0 3 0x82 nanosleep syz-executor.1 33160 233989 1 0 3 0x100083 ttyopn getty 70550 194033 0 0 3 0x14200 bored sosplice 63606 488737 55033 0 3 0x82 thrsleep syz-fuzzer 63606 256663 55033 0 3 0x4000082 thrsleep syz-fuzzer 63606 408138 55033 0 3 0x4000082 thrsleep syz-fuzzer 63606 84827 55033 0 3 0x4000082 thrsleep syz-fuzzer 63606 443533 55033 0 3 0x4000082 thrsleep syz-fuzzer 63606 87009 55033 0 3 0x4000082 kqread syz-fuzzer 63606 207402 55033 0 3 0x4000082 thrsleep syz-fuzzer 63606 79355 55033 0 3 0x4000082 thrsleep syz-fuzzer 55033 404220 43564 0 3 0x10008a pause ksh 43564 416881 49671 0 3 0x92 select sshd 49671 300361 1 0 3 0x80 select sshd 51799 350860 58327 73 3 0x100090 kqread syslogd 58327 209506 1 0 3 0x100082 netio syslogd 60237 345515 1 77 3 0x100090 poll dhclient 50467 235714 1 0 3 0x80 poll dhclient 43027 44260 0 0 2 0x14200 zerothread 14073 144014 0 0 3 0x14200 aiodoned aiodoned 81894 393728 0 0 3 0x14200 syncer update 26068 410247 0 0 3 0x14200 cleaner cleaner 99719 47813 0 0 3 0x14200 reaper reaper 55936 520455 0 0 3 0x14200 pgdaemon pagedaemon 26723 67133 0 0 3 0x14200 bored crynlk 76639 90738 0 0 3 0x14200 bored crypto 59121 483552 0 0 3 0x40014200 acpi0 acpi0 61894 70731 0 0 3 0x14200 bored softnet 64016 398837 0 0 3 0x14200 bored systqmp 68516 412915 0 0 3 0x14200 bored systq 14243 90525 0 0 3 0x40014200 bored softclock 77148 197209 0 0 3 0x40014200 idle0 36367 428627 0 0 3 0x14200 bored smr 1 283407 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 9556 6371K 14545K 78643K 25148 0 0 pcb 23 9K 11K 78643K 3010 0 0 rtable 103 4K 4K 78643K 2498 0 0 ifaddr 71 18K 19K 78643K 893 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 122 0 0 iov 0 0K 32K 78643K 906 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1196 75K 76K 78643K 6737 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 90 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 0K 78643K 936 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12537 0 0 file desc 6 17K 25K 78643K 6439 0 0 sigio 0 0K 0K 78643K 117 0 0 proc 42 30K 54K 78643K 1771 0 0 subproc 64 65538K 69634K 78643K 1403 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 641 0 0 in_multi 33 2K 2K 78643K 635 0 0 ether_multi 1 0K 0K 78643K 37 0 0 mrt 0 0K 0K 78643K 10 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 126 556K 556K 78643K 126 0 0 exec 0 0K 1K 78643K 952 0 0 pfkey data 0 0K 0K 78643K 2 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 102 21K 39K 78643K 15917 0 0 UVM aobj 130 6K 6K 78643K 145 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 258 0 0 NDP 16 0K 1K 78643K 291 0 0 temp 198 2692K 2770K 78643K 24515 0 0 kqueue 0 0K 0K 78643K 63 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 42 0 38 1 0 1 1 0 8 0 inpcbpl 280 2750 0 2743 1 0 1 1 0 8 0 plimitpl 152 259 0 252 1 0 1 1 0 8 0 rtentry 112 383 0 343 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 995 0 991 1 0 1 1 0 8 0 nd6 48 80 0 76 1 0 1 1 0 8 0 ppxss 1128 129 0 129 21 20 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1838 0 1650 12 0 12 12 0 8 0 art_table 32 1839 0 1650 2 0 2 2 0 8 0 art_node 16 382 0 348 1 0 1 1 0 8 0 sysvmsgpl 40 30 0 7 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 934 0 924 1 0 1 1 0 8 0 shmpl 112 143 0 15 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 11472 0 9862 52 0 52 52 0 8 0 ffsino 240 11472 0 9862 95 0 95 95 0 8 0 nchpl 144 20643 0 18925 66 2 64 64 0 8 0 uvmvnodes 72 6893 0 0 126 0 126 126 0 8 0 vnodes 200 6893 0 0 363 0 363 363 0 8 0 namei 1024 68836 0 68836 5 4 1 1 0 8 1 scsiplug 64 16 0 16 12 12 0 1 0 8 0 scxspl 192 90125 0 90125 28 27 1 7 0 8 1 sigapl 432 6496 0 6482 2 0 2 2 0 8 0 futexpl 56 108796 0 108795 5 4 1 1 0 8 0 knotepl 112 1933 0 1914 1 0 1 1 0 8 0 kqueuepl 104 1536 0 1534 1 0 1 1 0 8 0 pipepl 112 3954 0 3935 10 9 1 2 0 8 0 fdescpl 424 6497 0 6482 2 0 2 2 0 8 0 filepl 120 41301 0 41202 11 7 4 5 0 8 0 lockfpl 104 1948 0 1946 6 5 1 1 0 8 0 lockfspl 32 678 0 677 6 5 1 1 0 8 0 sessionpl 112 56 0 46 1 0 1 1 0 8 0 pgrppl 48 120 0 110 1 0 1 1 0 8 0 ucredpl 96 7190 0 7183 1 0 1 1 0 8 0 zombiepl 144 6482 0 6482 2 1 1 1 0 8 1 processpl 840 6512 0 6482 4 0 4 4 0 8 0 procpl 600 14379 0 14339 4 0 4 4 0 8 0 sosppl 128 72 0 72 16 15 1 1 0 8 1 sockpl 384 5365 0 5348 12 9 3 4 0 8 1 mcl64k 65536 1669 0 1669 160 160 0 33 0 8 0 mcl16k 16384 11 0 11 10 10 0 1 0 8 0 mcl12k 12288 116 0 116 22 21 1 1 0 8 1 mcl9k 9216 101 0 101 20 19 1 1 0 8 1 mcl8k 8192 93 0 93 23 22 1 1 0 8 1 mcl4k 4096 332 0 332 7 6 1 1 0 8 1 mcl2k2 2112 51 0 51 23 23 0 1 0 8 0 mcl2k 2048 65047 0 65007 13 7 6 11 0 8 0 mtagpl 80 4 0 4 2 2 0 1 0 8 0 mbufpl 256 141669 0 141581 95 83 12 23 0 8 4 bufpl 256 24943 0 17584 461 0 461 461 0 8 0 anonpl 16 669259 0 658742 187 129 58 63 0 62 7 amapchunkpl 152 28306 0 28202 75 68 7 15 0 158 2 amappl16 192 37003 0 36377 235 195 40 44 0 8 8 amappl15 184 211 0 211 8 8 0 1 0 8 0 amappl14 176 1749 0 1746 2 1 1 1 0 8 0 amappl13 168 409 0 409 6 5 1 1 0 8 1 amappl12 160 777 0 775 13 12 1 1 0 8 0 amappl11 152 2083 0 2068 1 0 1 1 0 8 0 amappl10 144 296 0 295 1 0 1 1 0 8 0 amappl9 136 1649 0 1644 1 0 1 1 0 8 0 amappl8 128 1239 0 1204 5 3 2 2 0 8 0 amappl7 120 340 0 334 1 0 1 1 0 8 0 amappl6 112 2103 0 2091 1 0 1 1 0 8 0 amappl5 104 1037 0 1025 1 0 1 1 0 8 0 amappl4 96 6425 0 6398 2 1 1 2 0 8 0 amappl3 88 1411 0 1405 1 0 1 1 0 8 0 amappl2 80 56453 0 56391 2 0 2 2 0 8 0 amappl1 72 123540 0 123102 26 17 9 19 0 8 0 amappl 72 14856 0 14819 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 144 0 15 3 0 3 3 0 8 0 uaddrrnd 24 6497 0 6482 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6497 0 6482 1 0 1 1 0 8 0 vmmpekpl 168 44916 0 44894 2 0 2 2 0 8 0 vmmpepl 168 683914 0 682238 327 230 97 107 0 357 22 vmsppl 264 6496 0 6482 6 4 2 2 0 8 1 pdppl 4096 13000 0 12964 6 1 5 6 0 8 0 pvpl 32 2049050 0 2035359 638 427 211 259 0 265 90 pmappl 200 6496 0 6482 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 894 0 295 20 1 19 19 0 8 0