uvm_fault(0xfffffd807efff450, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi TID PID UID PRFLAGS PFLAGS CPU COMMAND *114779 52385 32767 0x10 0 1K syz-executor.0 155511 52385 32767 0x10 0x4000000 0 syz-executor.0 uvm_fault_lower(ffff8000246a4160,ffff8000246a4198,ffff8000246a40e0,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20001000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff8000246a42d0,200013c0) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246a42d0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffc8900, count: 10 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 *cpu1: uvm_fault(0xfffffd807efff450, 0x0, 0, 1) -> e ddb{1}> trace uvm_fault_lower(ffff8000246a4160,ffff8000246a4198,ffff8000246a40e0,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20001000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff8000246a42d0,200013c0) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246a42d0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffc8900, count: -5 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff8000246a4050 rbx 0 rdx 0 rcx 0 rax 0xffff8000fffee000 r8 0xffffffff81a8edde witness_assert+0x1fe r9 0x5 r10 0x6d34e01ff03ed8a6 r11 0x44b22cbd75465b67 r12 0xffff8000246a4160 r13 0xfffffd80672716a0 r14 0 r15 0xffffffff81b25d00 uvn_flush+0x950 rip 0xffffffff817b9101 uvm_fault_lower+0xbb1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000246a3fc0 ss 0 uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi ddb{1}> show proc PROC (syz-executor.0) pid=114779 stat=onproc flags process=10 proc=0 pri=36, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800021193508,0xffff8000fffef7b0 process=0xffff8000ffff9d20 user=0xffff80002469f000, vmspace=0xfffffd807efff450 estcpu=36, cpticks=7, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *52385 114779 32878 32767 7 0x10 syz-executor.0 52385 372978 32878 32767 3 0x4000090 ttyin syz-executor.0 52385 155511 32878 32767 7 0x4000010 syz-executor.0 97210 366407 42984 32767 3 0x90 nanoslp syz-executor.1 42984 139214 44535 0 3 0x82 wait syz-executor.1 32878 358567 60854 32767 3 0x90 nanoslp syz-executor.0 60854 16435 44535 0 3 0x82 wait syz-executor.0 73079 469506 0 0 3 0x14200 bored sosplice 44535 14516 76324 0 3 0x82 thrsleep syz-fuzzer 44535 242902 76324 0 3 0x4000082 thrsleep syz-fuzzer 44535 40670 76324 0 3 0x4000082 thrsleep syz-fuzzer 44535 486036 76324 0 3 0x4000082 thrsleep syz-fuzzer 44535 319220 76324 0 3 0x4000082 thrsleep syz-fuzzer 44535 388341 76324 0 3 0x4000082 thrsleep syz-fuzzer 44535 47730 76324 0 3 0x4000082 kqread syz-fuzzer 44535 21224 76324 0 3 0x4000082 thrsleep syz-fuzzer 76324 356634 20229 0 3 0x10008a sigsusp ksh 20229 347432 3 0 3 0x9a kqread sshd 74482 406422 1 0 3 0x100083 ttyin getty 3 447692 1 0 3 0x88 kqread sshd 1069 431556 66918 73 3 0x100090 kqread syslogd 66918 168708 1 0 3 0x100082 netio syslogd 39371 418012 1 0 3 0x100080 kqread resolvd 66469 448503 2895 77 3 0x100092 kqread dhcpleased 97676 479687 2895 77 3 0x100092 kqread dhcpleased 2895 369107 1 0 3 0x80 kqread dhcpleased 96603 484109 0 0 3 0x14200 bored smr 95774 514123 0 0 3 0x14200 pgzero zerothread 48401 275539 0 0 3 0x14200 aiodoned aiodoned 5169 252429 0 0 3 0x14200 syncer update 22375 158412 0 0 3 0x14200 cleaner cleaner 38615 440260 0 0 3 0x14200 reaper reaper 23785 168159 0 0 3 0x14200 pgdaemon pagedaemon 35496 184125 0 0 3 0x14200 bored viomb 81090 227053 0 0 3 0x40014200 acpi0 acpi0 57748 401 0 0 3 0x40014200 idle1 45270 324274 0 0 3 0x14200 bored softnet 67149 423639 0 0 3 0x14200 bored systqmp 95166 225665 0 0 3 0x14200 bored systq 85176 55746 0 0 3 0x40014200 bored softclock 38917 468845 0 0 3 0x40014200 idle0 1 57408 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 52385 (syz-executor.0) thread 0xffff8000fffee000 (114779) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff828b70b8) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 __mp_acquire_count+0x4c sys/kern/kern_lock.c:227 #2 mi_switch+0x3d3 sys/kern/sched_bsd.c:416 #3 sleep_finish+0x1b2 sys/kern/kern_synch.c:433 #4 rw_enter+0x35b sys/kern/kern_rwlock.c:286 #5 uvmfault_relock+0x6f sys/uvm/uvm_fault.c:1801 #6 uvm_fault_lower+0x931 sys/uvm/uvm_fault.c:1288 #7 uvm_fault+0x24f sys/uvm/uvm_fault.c:640 #8 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #9 usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 #10 recall_trap+0x8 Process 52385 (syz-executor.0) thread 0xffff8000fffef500 (155511) shared rwlock vmmaplk r = 0 (0xfffffd807efff468) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 uvm_map_inentry_fix+0xa7 vm_map_lock_read_ln sys/uvm/uvm_map.c:5480 [inline] #1 uvm_map_inentry_fix+0xa7 sys/uvm/uvm_map.c:1886 #2 uvm_map_inentry+0xc5 sys/uvm/uvm_map.c:1917 #3 syscall+0x3d1 mi_syscall sys/sys/syscall_mi.h:87 [inline] #3 syscall+0x3d1 sys/arch/amd64/amd64/trap.c:585 #4 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10172 6397K 6416K 78643K 11336 0 pcb 13 16K 20K 78643K 19 0 rtable 108 3K 4K 78643K 2692 0 ifaddr 39 10K 10K 78643K 209 0 sysctl 3 1K 5K 78643K 8 0 counters 44 34K 34K 78643K 92 0 ioctlops 0 0K 2K 78643K 293 0 iov 0 0K 32K 78643K 3145 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1208 76K 76K 78643K 6498 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 237 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 5946 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 7 21K 33K 78643K 24311 0 sigio 0 0K 0K 78643K 391 0 proc 56 74K 99K 78643K 2346 0 subproc 26 1K 1K 78643K 338 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1951 0 in_multi 33 2K 2K 78643K 531 0 ether_multi 1 0K 0K 78643K 96 0 mrt 1 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 349 1553K 1553K 78643K 349 0 exec 0 0K 2K 78643K 3278 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 275 35K 51K 78643K 323373 0 UVM aobj 131 4K 4K 78643K 142 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 10845 0 NDP 5 0K 0K 78643K 81 0 temp 76 4195K 4307K 78643K 59050 0 kqueue 14 22K 36K 78643K 1813 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 2316 0 2313 26 25 1 4 0 8 0 rtentry 112 352 0 307 2 0 2 2 0 8 0 unpcb 128 15404 0 15391 132 130 2 9 0 8 1 syncache 296 206 0 206 54 54 0 1 0 8 0 tcpqe 32 101 0 101 24 24 0 1 0 8 0 tcpcb 736 32774 0 32764 624 614 10 29 0 8 8 arp 120 62 0 56 1 0 1 1 0 8 0 ipq 40 35 0 35 18 18 0 1 0 8 0 ipqe 40 382 0 382 18 18 0 1 0 8 0 inpcb 304 62312 0 62300 544 537 7 19 0 8 5 rttmr 72 7 0 7 2 2 0 1 0 8 0 ip6q 72 123 0 121 9 8 1 1 0 8 0 ip6af 40 239 0 237 9 8 1 1 0 8 0 nd6 48 112 0 105 1 0 1 1 0 8 0 kcovpl 48 26 0 24 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1579 0 1386 28 15 13 20 0 8 0 art_table 32 1580 0 1386 4 2 2 3 0 8 0 art_node 16 351 0 310 1 0 1 1 0 8 0 semapl 112 5842 0 5832 1 0 1 1 0 8 0 shmpl 112 139 0 11 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 33956 0 32526 91 1 90 90 0 8 0 ffsino 272 33956 0 32526 96 0 96 96 0 8 0 nchpl 144 65406 0 63803 64 4 60 61 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 212438 0 212438 4 3 1 1 0 8 1 percpumem 16 58 0 24 1 0 1 1 0 8 0 scxspl 216 192103 0 192103 51 50 1 8 0 8 1 plimitpl 152 4407 0 4397 1 0 1 1 0 8 0 sigapl 424 24461 0 24428 4 0 4 4 0 8 0 futexpl 64 183317 0 183317 6 5 1 1 0 8 1 knotepl 112 326 0 0 4 1 3 4 0 8 0 kqueuepl 216 10580 0 10549 205 202 3 9 0 8 1 pipepl 336 5096 0 5086 181 175 6 11 0 8 5 fdescpl 496 24446 0 24428 3 0 3 3 0 8 0 filepl 152 194863 0 194758 309 298 11 15 0 8 6 lockfpl 104 3229 0 3227 4 3 1 4 0 8 0 lockfspl 48 835 0 833 1 0 1 1 0 8 0 sessionpl 144 41 0 31 1 0 1 1 0 8 0 pgrppl 48 2252 0 2242 1 0 1 1 0 8 0 ucredpl 96 30403 0 30391 1 0 1 1 0 8 0 zombiepl 144 24428 0 24427 1 0 1 1 0 8 0 processpl 1064 24461 0 24427 3 0 3 3 0 8 0 procpl 672 77582 0 77539 30 25 5 6 0 8 1 sosppl 168 343 0 343 45 45 0 1 0 8 0 sockpl 480 80768 0 80740 1411 1396 15 34 0 8 10 mcl64k 65536 67 0 0 4 1 3 3 0 8 0 mcl16k 16384 33 0 0 4 1 3 3 0 8 0 mcl12k 12288 61 0 0 2 0 2 2 0 8 0 mcl9k 9216 41 0 0 2 0 2 2 0 8 0 mcl8k 8192 33 0 0 4 1 3 3 0 8 0 mcl4k 4096 41 0 0 6 3 3 3 0 8 0 mcl2k2 2112 76 0 0 5 4 1 5 0 8 0 mcl2k 2048 551 0 0 33 16 17 33 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 1606 0 0 33 4 29 32 0 8 0 bufpl 288 41183 0 34858 453 1 452 453 0 8 0 anonpl 24 7373860 0 7361084 565 473 92 108 0 186 3 amapchunkpl 152 824614 0 824062 248 220 28 38 0 158 5 amappl16 200 76084 0 75710 459 438 21 33 0 8 0 amappl15 192 9646 0 9642 1 0 1 1 0 8 0 amappl14 184 6804 0 6802 1 0 1 1 0 8 0 amappl13 176 1307 0 1305 1 0 1 1 0 8 0 amappl12 168 1103 0 1098 1 0 1 1 0 8 0 amappl11 160 1246 0 1230 1 0 1 1 0 8 0 amappl10 152 2472 0 2468 1 0 1 1 0 8 0 amappl9 144 1400 0 1398 1 0 1 1 0 8 0 amappl8 136 8485 0 8375 4 0 4 4 0 8 0 amappl7 128 7614 0 7604 1 0 1 1 0 8 0 amappl6 120 1321 0 1309 1 0 1 1 0 8 0 amappl5 112 17930 0 17913 1 0 1 1 0 8 0 amappl4 104 10575 0 10539 6 4 2 2 0 8 1 amappl3 96 4492 0 4475 1 0 1 1 0 8 0 amappl2 88 27892 0 27845 11 9 2 2 0 8 0 amappl1 80 432149 0 431711 12 2 10 12 0 8 0 amappl 88 321653 0 321492 5 0 5 5 0 92 0 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 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 141 0 11 3 0 3 3 0 8 0 uaddrrnd 24 24446 0 24428 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 24446 0 24428 1 0 1 1 0 8 0 vmmpekpl 168 187487 0 187467 2 0 2 2 0 8 0 vmmpepl 168 2277222 0 2275487 513 429 84 101 0 357 1 vmsppl 368 24445 0 24428 2 0 2 2 0 8 0 rwobjpl 56 577724 0 570499 180 76 104 106 0 8 0 pdppl 4096 48900 0 48856 75 29 46 50 0 8 2 pvpl 32 11906466 0 11890054 890 734 156 206 0 265 11 pmappl 248 24445 0 24428 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 1645 0 866 23 0 23 23 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff827adff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828b6eb0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b6eb0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x5f sys/dev/kcov.c:149 syscall(ffff80002469e7b0) at syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff80002469e7b0) at syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x393fdf085f0, count: 6 ddb{0}> trace x86_ipi_db(ffffffff827adff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828b6eb0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b6eb0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x5f sys/dev/kcov.c:149 syscall(ffff80002469e7b0) at syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff80002469e7b0) at syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x393fdf085f0, count: -9 ddb{0}> machine ddbcpu 1 Stopped at uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi uvm_fault_lower(ffff8000246a4160,ffff8000246a4198,ffff8000246a40e0,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20001000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff8000246a42d0,200013c0) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246a42d0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffc8900, count: 10 ddb{1}> trace uvm_fault_lower(ffff8000246a4160,ffff8000246a4198,ffff8000246a40e0,0) at uvm_fault_lower+0xbb1 sys/uvm/uvm_fault.c:1325 uvm_fault(fffffd807efff450,20001000,0,2) at uvm_fault+0x24f sys/uvm/uvm_fault.c:640 upageflttrap(ffff8000246a42d0,200013c0) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff8000246a42d0) at usertrap+0x214 sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffc8900, count: -5