panic: uvm_fault: fault on non-pageable map (0xffffffff825253b0, 0xffff800000af7000) Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *398364 98041 0 0 0x4000000 1K syz-executor.0 150912 98436 0 0x2 0x4000000 0 syz-fuzzer db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 uvm_fault(ffffffff8257ea60,ffff800000af7000,1,4) at uvm_fault+0x21d8 uvmfault_amapcopy sys/uvm/uvm_fault.c:463 [inline] uvm_fault(ffffffff8257ea60,ffff800000af7000,1,4) at uvm_fault+0x21d8 sys/uvm/uvm_fault.c:559 pageflttrap() at pageflttrap+0x20b sys/arch/amd64/amd64/trap.c:199 kerntrap(ffff800022d5d0e0) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800021f52000,fffffd80659eed98,11,ffff80000005b950,ffff800022d5d348) at alltraps_kern_meltdown+0x7b ffff800000af7800(b,ffff800022d5d2a8,83,ffff800022d5d348,0,b) at 0xffff800000af7800 rt_clone(ffff800022d5d3b8,fffffd806f6cf828,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6cf828,0,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6cf828,0,0) at rtalloc_mpath+0xba sys/net/route.c:359 in_pcbselsrc(ffff800022d5d4d0,fffffd8062308320,fffffd806f6cf7a8) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 udp_output(fffffd806f6cf7a8,fffffd80648cb700,fffffd8062308300,0) at udp_output+0x5cf sys/netinet/udp_usrreq.c:937 sosend(fffffd8064943918,fffffd8062308300,ffff800022d5d630,0,0,0) at sosend+0x645 sys/kern/uipc_socket.c:524 sendit(ffff800020ace298,c,ffff800022d5d790,0,ffff800022d5d880) at sendit+0x52b sys/kern/uipc_syscalls.c:662 sys_sendmsg(ffff800020ace298,ffff800022d5d838,ffff800022d5d880) at sys_sendmsg+0x1a4 sys/kern/uipc_syscalls.c:567 end trace frame: 0xffff800022d5d8f0, count: 0 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic uvm_fault: fault on non-pageable map (0xffffffff825253b0, 0xffff800000af7000) ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 uvm_fault(ffffffff8257ea60,ffff800000af7000,1,4) at uvm_fault+0x21d8 uvmfault_amapcopy sys/uvm/uvm_fault.c:463 [inline] uvm_fault(ffffffff8257ea60,ffff800000af7000,1,4) at uvm_fault+0x21d8 sys/uvm/uvm_fault.c:559 pageflttrap() at pageflttrap+0x20b sys/arch/amd64/amd64/trap.c:199 kerntrap(ffff800022d5d0e0) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800021f52000,fffffd80659eed98,11,ffff80000005b950,ffff800022d5d348) at alltraps_kern_meltdown+0x7b ffff800000af7800(b,ffff800022d5d2a8,83,ffff800022d5d348,0,b) at 0xffff800000af7800 rt_clone(ffff800022d5d3b8,fffffd806f6cf828,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6cf828,0,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6cf828,0,0) at rtalloc_mpath+0xba sys/net/route.c:359 in_pcbselsrc(ffff800022d5d4d0,fffffd8062308320,fffffd806f6cf7a8) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 udp_output(fffffd806f6cf7a8,fffffd80648cb700,fffffd8062308300,0) at udp_output+0x5cf sys/netinet/udp_usrreq.c:937 sosend(fffffd8064943918,fffffd8062308300,ffff800022d5d630,0,0,0) at sosend+0x645 sys/kern/uipc_socket.c:524 sendit(ffff800020ace298,c,ffff800022d5d790,0,ffff800022d5d880) at sendit+0x52b sys/kern/uipc_syscalls.c:662 sys_sendmsg(ffff800020ace298,ffff800022d5d838,ffff800022d5d880) at sys_sendmsg+0x1a4 sys/kern/uipc_syscalls.c:567 syscall(ffff800022d5d900) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800022d5d900) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffffd3,0,3,f6e50e36010) at Xsyscall+0x128 end of kernel end trace frame: 0xf70da6b7a10, count: -16 ddb{1}> show registers rdi 0xffffffff816aed07 db_enter+0x17 rsi 0x28fd __ALIGN_SIZE+0x18fd rbp 0xffff800022d5cd10 rbx 0xffff800022d5cdc0 rdx 0x28fe __ALIGN_SIZE+0x18fe rcx 0xffff800021f52000 rax 0xffff800021f52000 r8 0xffffffff821395ef kprintf+0x16f r9 0x1 r10 0x25 r11 0xaa540f0d5ed5e686 r12 0x3000000008 r13 0xffff800022d5cd20 r14 0x100 r15 0x1 rip 0xffffffff816aed08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800022d5cd00 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=398364 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020acf3e0,0xffffffff8266fc68 process=0xffff800020adc000 user=0xffff800022d58000, vmspace=0xfffffd807f00b5c0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 98041 366887 58023 0 2 0 syz-executor.0 *98041 398364 58023 0 7 0x4000000 syz-executor.0 58023 428001 98436 0 3 0x82 nanosleep syz-executor.0 46900 237461 0 0 3 0x14200 acct acct 1853 105121 1 0 3 0x100083 ttyin getty 76287 375818 0 0 3 0x14200 bored sosplice 98436 238301 43800 0 3 0x82 thrsleep syz-fuzzer 98436 363965 43800 0 3 0x4000082 nanosleep syz-fuzzer 98436 211344 43800 0 3 0x4000082 thrsleep syz-fuzzer 98436 337163 43800 0 3 0x4000082 thrsleep syz-fuzzer 98436 508832 43800 0 3 0x4000082 thrsleep syz-fuzzer 98436 150912 43800 0 7 0x4000002 syz-fuzzer 98436 353241 43800 0 3 0x4000082 thrsleep syz-fuzzer 98436 142858 43800 0 2 0x4000002 syz-fuzzer 98436 440735 43800 0 3 0x4000082 thrsleep syz-fuzzer 98436 329521 43800 0 3 0x4000082 kqread syz-fuzzer 43800 512830 49861 0 3 0x10008a pause ksh 49861 435614 34922 0 3 0x92 select sshd 34922 372799 1 0 3 0x80 select sshd 77453 233817 76150 74 3 0x100092 bpf pflogd 76150 410613 1 0 3 0x80 netio pflogd 64349 250558 51017 73 3 0x100090 kqread syslogd 51017 398768 1 0 3 0x100082 netio syslogd 12434 384722 1 77 3 0x100090 poll dhclient 82376 487014 1 0 3 0x80 poll dhclient 79834 269657 0 0 3 0x14200 pgzero zerothread 5131 386060 0 0 3 0x14200 aiodoned aiodoned 14266 70821 0 0 3 0x14200 syncer update 16771 292063 0 0 3 0x14200 cleaner cleaner 70100 472727 0 0 3 0x14200 reaper reaper 29159 392845 0 0 3 0x14200 pgdaemon pagedaemon 44187 367123 0 0 3 0x14200 bored crynlk 40978 44667 0 0 3 0x14200 bored crypto 28010 325207 0 0 3 0x40014200 acpi0 acpi0 15289 96410 0 0 3 0x40014200 idle1 24345 355129 0 0 3 0x14200 bored softnet 41732 421927 0 0 3 0x14200 bored systqmp 37255 312460 0 0 3 0x14200 bored systq 81036 354094 0 0 3 0x40014200 bored softclock 17584 515526 0 0 3 0x40014200 idle0 51286 128405 0 0 3 0x14200 bored smr 1 390020 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &map->mtx r = 0 (0xffffffff825253f8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1448 #4 uvm_fault+0x7f sys/uvm/uvm_fault.c:524 #5 pageflttrap+0x20b sys/arch/amd64/amd64/trap.c:199 #6 kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 #7 alltraps_kern_meltdown+0x7b #8 0xffff800000af7800 #9 rt_clone+0x78 sys/net/route.c:266 #10 rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] #10 rtalloc_mpath+0xba sys/net/route.c:359 #11 in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 #12 udp_output+0x5cf sys/netinet/udp_usrreq.c:937 #13 sosend+0x645 sys/kern/uipc_socket.c:524 #14 sendit+0x52b sys/kern/uipc_syscalls.c:662 #15 sys_sendmsg+0x1a4 sys/kern/uipc_syscalls.c:567 #16 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #16 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #17 Xsyscall+0x128 Process 98041 (syz-executor.0) thread 0xffff800020ace298 (398364) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82640b98) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rt_clone+0x5c sys/net/route.c:266 #2 rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] #2 rtalloc_mpath+0xba sys/net/route.c:359 #3 in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 #4 udp_output+0x5cf sys/netinet/udp_usrreq.c:937 #5 sosend+0x645 sys/kern/uipc_socket.c:524 #6 sendit+0x52b sys/kern/uipc_syscalls.c:662 #7 sys_sendmsg+0x1a4 sys/kern/uipc_syscalls.c:567 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #9 Xsyscall+0x128 exclusive rwlock netlock r = 0 (0xffffffff82486268) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sosend+0x51b sys/kern/uipc_socket.c:512 #3 sendit+0x52b sys/kern/uipc_syscalls.c:662 #4 sys_sendmsg+0x1a4 sys/kern/uipc_syscalls.c:567 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #6 Xsyscall+0x128 exclusive mutex &map->mtx r = 0 (0xffffffff825253f8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1448 #4 uvm_fault+0x7f sys/uvm/uvm_fault.c:524 #5 pageflttrap+0x20b sys/arch/amd64/amd64/trap.c:199 #6 kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 #7 alltraps_kern_meltdown+0x7b #8 0xffff800000af7800 #9 rt_clone+0x78 sys/net/route.c:266 #10 rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] #10 rtalloc_mpath+0xba sys/net/route.c:359 #11 in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 #12 udp_output+0x5cf sys/netinet/udp_usrreq.c:937 #13 sosend+0x645 sys/kern/uipc_socket.c:524 #14 sendit+0x52b sys/kern/uipc_syscalls.c:662 #15 sys_sendmsg+0x1a4 sys/kern/uipc_syscalls.c:567 #16 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #16 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #17 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9618 6715K 8012K 78643K 21035 0 0 pcb 13 10K 12K 78643K 405 0 0 rtable 109 5K 6K 78643K 1511 0 0 ifaddr 82 17K 19K 78643K 394 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1577 0 0 iov 0 0K 32K 78643K 378 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1228 77K 78K 78643K 4205 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 25 0 0 VM map 14 7K 7K 78643K 21 0 0 sem 12 0K 0K 78643K 758 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 4 9K 25K 78643K 1986 0 0 sigio 0 0K 0K 78643K 3 0 0 proc 62 63K 95K 78643K 1248 0 0 subproc 16 1K 2K 78643K 276 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 133 0 0 in_multi 25 1K 2K 78643K 272 0 0 ether_multi 1 0K 0K 78643K 20 0 0 mrt 0 0K 0K 78643K 14 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 174 768K 768K 78643K 174 0 0 exec 0 0K 1K 78643K 584 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 129 112K 121K 78643K 8028 0 0 UVM aobj 130 4K 4K 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 0K 78643K 430 0 0 NDP 19 0K 1K 78643K 124 0 0 temp 206 3559K 3638K 78643K 42609 0 0 kqueue 0 0K 0K 78643K 20 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 60 0 53 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 178 0 176 1 0 1 1 0 8 0 rtentry 112 284 0 244 2 0 2 2 0 8 0 unpcb 120 1194 0 1181 2 1 1 2 0 8 0 syncache 264 13 0 13 5 4 1 1 0 8 1 tcpqe 32 52 0 52 3 3 0 1 0 8 0 tcpcb 544 942 0 938 15 14 1 12 0 8 0 inpcb 280 3826 0 3816 13 11 2 9 0 8 1 rttmr 72 4 0 4 4 4 0 1 0 8 0 nd6 48 41 0 39 1 0 1 1 0 8 0 pkpcb 40 14 0 14 6 6 0 1 0 8 0 ppxss 1128 43 0 43 6 5 1 1 0 8 1 pffrag 232 63 0 63 6 5 1 1 0 482 1 pffrnode 88 63 0 63 6 5 1 1 0 8 1 pffrent 40 1728 0 1728 6 5 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 248 0 130 1 0 1 1 0 8 0 pfstkey 112 248 0 130 4 0 4 4 0 8 0 pfstate 328 248 0 130 12 0 12 12 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 4 0 3 4 1 3 3 0 8 2 art_heap4 256 1198 0 1012 21 6 15 16 0 8 0 art_table 32 1202 0 1015 2 0 2 2 0 8 0 art_node 16 281 0 244 1 0 1 1 0 8 0 sysvmsgpl 40 27 0 16 1 0 1 1 0 8 0 semapl 112 756 0 746 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 4319 0 2919 46 0 46 46 0 8 0 ffsino 272 4319 0 2919 94 0 94 94 0 8 0 nchpl 144 7289 0 5676 61 0 61 61 0 8 0 uvmvnodes 72 6151 0 0 112 0 112 112 0 8 0 vnodes 208 6151 0 0 324 0 324 324 0 8 0 namei 1024 26172 0 26172 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 12 0 0 2 0 2 2 0 8 0 vmpool 552 19 0 7 1 0 1 1 0 8 0 scsiplug 64 2 0 2 2 2 0 1 0 8 0 scxspl 192 23053 0 23053 18 16 2 7 0 8 2 plimitpl 152 153 0 146 1 0 1 1 0 8 0 sigapl 432 2145 0 2131 4 2 2 3 0 8 0 futexpl 56 44397 0 44397 2 1 1 1 0 8 1 knotepl 112 724 0 711 5 4 1 3 0 8 0 kqueuepl 104 719 0 717 5 4 1 4 0 8 0 pipepl 112 1102 0 1087 3 2 1 2 0 8 0 fdescpl 488 2146 0 2131 3 0 3 3 0 8 0 filepl 152 18578 0 18491 24 18 6 14 0 8 2 lockfpl 104 3168 0 3163 1 0 1 1 0 8 0 lockfspl 48 1488 0 1483 1 0 1 1 0 8 0 sessionpl 112 33 0 23 1 0 1 1 0 8 0 pgrppl 48 165 0 155 1 0 1 1 0 8 0 ucredpl 96 2145 0 2136 1 0 1 1 0 8 0 zombiepl 144 2133 0 2133 1 0 1 1 0 8 1 processpl 896 2165 0 2133 5 1 4 5 0 8 0 procpl 632 6515 0 6473 5 0 5 5 0 8 0 srpgc 64 24 0 24 9 8 1 1 0 8 1 sosppl 128 13 0 13 4 4 0 1 0 8 0 sockpl 384 5253 0 5228 20 16 4 14 0 8 1 mcl64k 65536 260 0 0 33 12 21 33 0 8 1 mcl16k 16384 19 0 0 3 1 2 3 0 8 0 mcl12k 12288 24 0 0 2 0 2 2 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 13 0 0 2 0 2 2 0 8 0 mcl2k2 2112 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 164 0 0 20 0 20 20 0 8 0 mtagpl 80 307 0 0 6 0 6 6 0 8 0 mbufpl 256 851 0 0 50 0 50 50 0 8 0 bufpl 256 16067 0 9019 441 0 441 441 0 8 0 anonpl 16 272390 0 254426 131 42 89 92 0 124 10 amapchunkpl 152 16782 0 16617 30 20 10 14 0 158 3 amappl16 192 10919 0 9921 98 38 60 63 0 8 8 amappl15 184 340 0 340 3 3 0 1 0 8 0 amappl14 176 705 0 702 1 0 1 1 0 8 0 amappl13 168 149 0 148 1 0 1 1 0 8 0 amappl12 160 82 0 80 1 0 1 1 0 8 0 amappl11 152 232 0 217 1 0 1 1 0 8 0 amappl10 144 318 0 311 1 0 1 1 0 8 0 amappl9 136 996 0 991 1 0 1 1 0 8 0 amappl8 128 551 0 517 3 1 2 2 0 8 0 amappl7 120 407 0 398 1 0 1 1 0 8 0 amappl6 112 204 0 196 1 0 1 1 0 8 0 amappl5 104 308 0 293 1 0 1 1 0 8 0 amappl4 96 2422 0 2389 2 1 1 2 0 8 0 amappl3 88 624 0 619 1 0 1 1 0 8 0 amappl2 80 15663 0 15592 3 0 3 3 0 8 0 amappl1 72 59027 0 58593 25 15 10 20 0 8 0 amappl 80 7058 0 7006 2 0 2 2 0 84 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 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 17 0 17 1 1 0 1 0 8 0 aobjpl 64 144 0 15 3 0 3 3 0 8 0 uaddrrnd 24 2165 0 2131 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2165 0 2131 1 0 1 1 0 8 0 vmmpekpl 168 19747 0 19710 3 0 3 3 0 8 0 vmmpepl 168 278051 0 275951 195 61 134 136 0 357 32 vmsppl 368 2145 0 2131 2 0 2 2 0 8 0 pdppl 4096 4337 0 4288 7 0 7 7 0 8 0 pvpl 32 730717 0 709617 294 84 210 215 0 265 29 pmappl 232 2164 0 2138 3 1 2 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 704 0 38 20 0 20 20 0 8 0