panic: uvm_fault: fault on non-pageable map (0xffffffff825eff08, 0xffff800000ae6000) Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 142700 61644 0 0 0 1 syz-executor.1 *261143 51585 0 0 0x4000000 0K syz-executor.0 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(ffffffff825c9d78,ffff800000ae6000,1,4) at uvm_fault+0x21d8 uvmfault_amapcopy sys/uvm/uvm_fault.c:463 [inline] uvm_fault(ffffffff825c9d78,ffff800000ae6000,1,4) at uvm_fault+0x21d8 sys/uvm/uvm_fault.c:559 pageflttrap() at pageflttrap+0x20b sys/arch/amd64/amd64/trap.c:199 kerntrap(ffff800021b97640) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800021976000,fffffd8062a314d8,11,ffff800000025430,ffff800021b978a8) at alltraps_kern_meltdown+0x7b ffff800000ae6000(b,ffff800021b97808,83,ffff800021b978a8,0,b) at 0xffff800000ae6000 rt_clone(ffff800021b97918,fffffd806f6cd940,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6cd940,0,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6cd940,0,0) at rtalloc_mpath+0xba sys/net/route.c:359 in_pcbselsrc(ffff800021b979f0,fffffd806f0ad920,fffffd806f6cd8c0) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd806f6cd8c0,fffffd806f0ad900) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd806637e068,4,0,fffffd806f0ad900,0,ffff800020ab1b40) at udp_usrreq+0x560 sys_connect(ffff800020ab1b40,ffff800021b97b78,ffff800021b97bc0) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800021b97c40) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021b97c40) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 end trace frame: 0xffff800021b97cc0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic uvm_fault: fault on non-pageable map (0xffffffff825eff08, 0xffff800000ae6000) ddb{0}> 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(ffffffff825c9d78,ffff800000ae6000,1,4) at uvm_fault+0x21d8 uvmfault_amapcopy sys/uvm/uvm_fault.c:463 [inline] uvm_fault(ffffffff825c9d78,ffff800000ae6000,1,4) at uvm_fault+0x21d8 sys/uvm/uvm_fault.c:559 pageflttrap() at pageflttrap+0x20b sys/arch/amd64/amd64/trap.c:199 kerntrap(ffff800021b97640) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800021976000,fffffd8062a314d8,11,ffff800000025430,ffff800021b978a8) at alltraps_kern_meltdown+0x7b ffff800000ae6000(b,ffff800021b97808,83,ffff800021b978a8,0,b) at 0xffff800000ae6000 rt_clone(ffff800021b97918,fffffd806f6cd940,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6cd940,0,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6cd940,0,0) at rtalloc_mpath+0xba sys/net/route.c:359 in_pcbselsrc(ffff800021b979f0,fffffd806f0ad920,fffffd806f6cd8c0) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd806f6cd8c0,fffffd806f0ad900) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd806637e068,4,0,fffffd806f0ad900,0,ffff800020ab1b40) at udp_usrreq+0x560 sys_connect(ffff800020ab1b40,ffff800021b97b78,ffff800021b97bc0) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800021b97c40) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021b97c40) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,12b954b0010) at Xsyscall+0x128 end of kernel end trace frame: 0x12da04dfd70, count: -15 ddb{0}> show registers rdi 0xffffffff81192567 db_enter+0x17 rsi 0x3015 __ALIGN_SIZE+0x2015 rbp 0xffff800021b97270 rbx 0xffff800021b97320 rdx 0x3016 __ALIGN_SIZE+0x2016 rcx 0xffff800021976000 rax 0xffff800021976000 r8 0xffffffff816c70cf kprintf+0x16f r9 0x1 r10 0x25 r11 0xffcbb3f90729ac2b r12 0x3000000008 r13 0xffff800021b97280 r14 0x100 r15 0x1 rip 0xffffffff81192568 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021b97260 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=261143 stat=onproc flags process=0 proc=4000000 pri=82, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff800020ab0780,0xffffffff82662328 process=0xffff800020adc700 user=0xffff800021b92000, vmspace=0xfffffd807f00b000 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 61644 142700 3281 0 7 0 syz-executor.1 61644 492306 3281 0 3 0x4000080 fsleep syz-executor.1 51585 208518 33681 0 2 0 syz-executor.0 *51585 261143 33681 0 7 0x4000000 syz-executor.0 3281 489976 78054 0 3 0x82 nanosleep syz-executor.1 33681 179198 78054 0 3 0x82 nanosleep syz-executor.0 18719 93881 0 0 3 0x14200 acct acct 91708 466516 0 0 3 0x14200 bored sosplice 78054 380584 98881 0 3 0x82 thrsleep syz-fuzzer 78054 94145 98881 0 3 0x4000082 thrsleep syz-fuzzer 78054 388496 98881 0 3 0x4000082 thrsleep syz-fuzzer 78054 185575 98881 0 3 0x4000082 thrsleep syz-fuzzer 78054 376511 98881 0 3 0x4000082 thrsleep syz-fuzzer 78054 410491 98881 0 3 0x4000082 thrsleep syz-fuzzer 78054 287417 98881 0 3 0x4000082 thrsleep syz-fuzzer 78054 481717 98881 0 3 0x4000082 thrsleep syz-fuzzer 78054 511418 98881 0 3 0x4000082 thrsleep syz-fuzzer 78054 292280 98881 0 3 0x4000082 kqread syz-fuzzer 98881 228546 32372 0 3 0x10008a pause ksh 32372 284487 66676 0 3 0x92 select sshd 44985 90983 1 0 3 0x100083 ttyin getty 66676 265964 1 0 3 0x80 select sshd 90721 80568 18175 74 3 0x100092 bpf pflogd 18175 118932 1 0 3 0x80 netio pflogd 5945 336019 90077 73 3 0x100090 kqread syslogd 90077 350425 1 0 3 0x100082 netio syslogd 2582 162578 1 77 3 0x100090 poll dhclient 68261 217937 1 0 3 0x80 poll dhclient 57814 112742 0 0 2 0x14200 zerothread 17882 493047 0 0 3 0x14200 aiodoned aiodoned 83399 169394 0 0 3 0x14200 syncer update 69020 479135 0 0 3 0x14200 cleaner cleaner 22973 64251 0 0 3 0x14200 reaper reaper 4416 114408 0 0 3 0x14200 pgdaemon pagedaemon 32470 463449 0 0 3 0x14200 bored crynlk 85250 437855 0 0 3 0x14200 bored crypto 55887 212889 0 0 3 0x40014200 acpi0 acpi0 92162 72277 0 0 3 0x40014200 idle1 39717 319199 0 0 3 0x14200 bored softnet 81720 413814 0 0 3 0x14200 bored systqmp 28135 196854 0 0 3 0x14200 bored systq 77031 127279 0 0 3 0x40014200 bored softclock 20489 397628 0 0 3 0x40014200 idle0 44045 473198 0 0 3 0x14200 bored smr 1 274855 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &map->mtx r = 0 (0xffffffff825eff50) #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 0xffff800000ae6000 #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 in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 #13 udp_usrreq+0x560 #14 sys_connect+0x3df sys/kern/uipc_syscalls.c:388 #15 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #15 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #16 Xsyscall+0x128 Process 51585 (syz-executor.0) thread 0xffff800020ab1b40 (261143) exclusive rwlock netlock r = 0 (0xffffffff824f4ec8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sys_connect+0x6b sys/kern/uipc_syscalls.c:362 #3 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #3 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #4 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 2 (0xffffffff8262f108) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555 #2 Xsyscall+0x128 exclusive mutex &map->mtx r = 0 (0xffffffff825eff50) #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 0xffff800000ae6000 #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 in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 #13 udp_usrreq+0x560 #14 sys_connect+0x3df sys/kern/uipc_syscalls.c:388 #15 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #15 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #16 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9601 7084K 7730K 78643K 16070 0 0 pcb 13 8K 8K 78643K 466 0 0 rtable 118 5K 6K 78643K 1727 0 0 ifaddr 91 18K 19K 78643K 454 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1594 0 0 iov 0 0K 24K 78643K 661 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1219 77K 77K 78643K 3388 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 29 0 0 VM map 26 13K 13K 78643K 34 0 0 sem 12 0K 1K 78643K 864 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 6 17K 25K 78643K 2234 0 0 sigio 0 0K 0K 78643K 6 0 0 proc 61 63K 95K 78643K 1209 0 0 subproc 32 2K 2K 78643K 272 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 1K 78643K 247 0 0 in_multi 37 2K 2K 78643K 251 0 0 ether_multi 1 0K 0K 78643K 13 0 0 mrt 0 0K 0K 78643K 22 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 114 503K 503K 78643K 114 0 0 exec 0 0K 1K 78643K 604 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 161 234K 235K 78643K 8942 0 0 UVM aobj 125 5K 5K 78643K 133 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 510 0 0 NDP 21 0K 1K 78643K 141 0 0 temp 236 3561K 4201K 78643K 82216 0 0 kqueue 0 0K 0K 78643K 20 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 72 0 66 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 195 0 193 1 0 1 1 0 8 0 rtentry 112 327 0 281 2 0 2 2 0 8 0 unpcb 120 5406 0 5396 10 8 2 2 0 8 1 syncache 264 18 0 18 7 7 0 1 0 8 0 tcpqe 32 6 0 6 6 6 0 1 0 8 0 tcpcb 544 908 0 904 6 5 1 6 0 8 0 inpcb 280 2783 0 2773 11 9 2 7 0 8 1 rttmr 72 9 0 9 6 5 1 1 0 8 1 nd6 48 34 0 30 2 1 1 1 0 8 0 pkpcb 40 9 0 9 3 2 1 1 0 8 1 ppxss 1128 52 0 52 9 8 1 1 0 8 1 pffrag 232 43 0 43 11 11 0 1 0 482 0 pffrnode 88 43 0 43 11 11 0 1 0 8 0 pffrent 40 1412 0 1412 11 11 0 1 0 8 0 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 166 0 116 1 0 1 1 0 8 0 pfstkey 112 166 0 116 2 0 2 2 0 8 0 pfstate 328 166 0 116 6 1 5 5 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 17 0 16 9 8 1 3 0 8 0 art_heap4 256 1192 0 964 21 6 15 15 0 8 0 art_table 32 1209 0 980 2 0 2 2 0 8 0 art_node 16 326 0 284 1 0 1 1 0 8 0 sysvmsgpl 40 53 0 35 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 862 0 852 1 0 1 1 0 8 0 shmpl 112 131 0 8 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4863 0 3454 46 0 46 46 0 8 0 ffsino 272 4863 0 3454 96 1 95 95 0 8 0 nchpl 144 8869 0 7259 61 0 61 61 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 35246 0 35246 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 24 0 0 3 0 3 3 0 8 0 vmpool 552 32 0 8 2 0 2 2 0 8 0 scsiplug 64 2 0 2 1 1 0 1 0 8 0 scxspl 192 27212 0 27212 20 19 1 7 0 8 1 plimitpl 152 199 0 191 1 0 1 1 0 8 0 sigapl 432 2392 0 2376 3 1 2 3 0 8 0 futexpl 56 58192 0 58191 1 0 1 1 0 8 0 knotepl 112 753 0 734 2 1 1 2 0 8 0 kqueuepl 104 1298 0 1296 1 0 1 1 0 8 0 pipepl 112 1448 0 1429 3 2 1 2 0 8 0 fdescpl 488 2393 0 2376 3 0 3 3 0 8 0 filepl 152 28287 0 28184 14 7 7 8 0 8 3 lockfpl 104 798 0 797 1 0 1 1 0 8 0 lockfspl 48 295 0 294 1 0 1 1 0 8 0 sessionpl 112 32 0 21 1 0 1 1 0 8 0 pgrppl 48 56 0 45 1 0 1 1 0 8 0 ucredpl 96 6304 0 6295 1 0 1 1 0 8 0 zombiepl 144 2376 0 2376 1 0 1 1 0 8 1 processpl 896 2410 0 2376 4 0 4 4 0 8 0 procpl 632 7332 0 7287 6 1 5 5 0 8 1 srpgc 64 24 0 24 9 9 0 1 0 8 0 sosppl 128 31 0 31 8 8 0 1 0 8 0 sockpl 384 8408 0 8386 19 14 5 10 0 8 2 mcl64k 65536 30 0 0 4 1 3 3 0 8 0 mcl16k 16384 10 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 13 0 0 1 0 1 1 0 8 0 mcl8k 8192 25 0 0 4 1 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 161 0 0 20 0 20 20 0 8 0 mtagpl 80 36 0 0 1 0 1 1 0 8 0 mbufpl 256 727 0 0 36 0 36 36 0 8 0 bufpl 256 12885 0 5837 441 0 441 441 0 8 0 anonpl 16 295905 0 277266 140 63 77 91 0 124 0 amapchunkpl 152 17495 0 17350 50 43 7 19 0 158 0 amappl16 192 12936 0 11880 138 84 54 65 0 8 0 amappl15 184 174 0 173 1 0 1 1 0 8 0 amappl14 176 359 0 356 1 0 1 1 0 8 0 amappl13 168 289 0 289 3 3 0 1 0 8 0 amappl12 160 320 0 318 5 4 1 1 0 8 0 amappl11 152 651 0 636 1 0 1 1 0 8 0 amappl10 144 113 0 106 1 0 1 1 0 8 0 amappl9 136 921 0 915 1 0 1 1 0 8 0 amappl8 128 498 0 457 2 0 2 2 0 8 0 amappl7 120 198 0 191 1 0 1 1 0 8 0 amappl6 112 674 0 658 1 0 1 1 0 8 0 amappl5 104 572 0 557 1 0 1 1 0 8 0 amappl4 96 2724 0 2691 1 0 1 1 0 8 0 amappl3 88 421 0 414 1 0 1 1 0 8 0 amappl2 80 17765 0 17682 3 1 2 3 0 8 0 amappl1 72 63929 0 63478 25 15 10 20 0 8 0 amappl 80 7841 0 7784 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 132 0 8 2 0 2 2 0 8 0 uaddrrnd 24 2425 0 2376 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2425 0 2376 1 0 1 1 0 8 0 vmmpekpl 168 23311 0 23268 3 0 3 3 0 8 0 vmmpepl 168 313683 0 311321 215 92 123 142 0 357 18 vmsppl 368 2392 0 2376 2 0 2 2 0 8 0 pdppl 4096 4857 0 4792 10 1 9 9 0 8 0 pvpl 32 817699 0 796038 281 100 181 220 0 265 0 pmappl 232 2424 0 2384 3 0 3 3 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 662 0 26 19 0 19 19 0 8 0