uvm_fault(0xfffffd806409e5d8, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rw_enter+0xf0: movq 0(%r14),%r13 TID PID UID PRFLAGS PFLAGS CPU COMMAND *418438 2417 0 0 0x4000000 0 syz-executor.6 rw_enter(0,1) at rw_enter+0xf0 sys/kern/kern_rwlock.c:253 uvm_vnp_terminate(fffffd807e45ec08) at uvm_vnp_terminate+0x29 sys/uvm/uvm_vnode.c:428 vclean(fffffd807e45ec08,8,ffff8000216d22b0) at vclean+0x10a sys/kern/vfs_subr.c:1063 vgonel(fffffd807e45ec08,ffff8000216d22b0) at vgonel+0x7d sys/kern/vfs_subr.c:1175 checkalias(fffffd807e684468,6b1700,0) at checkalias+0x13c cdevvp(6b1700,ffff80002800c6e0) at cdevvp+0x9c getdevvp sys/kern/vfs_subr.c:533 [inline] cdevvp(6b1700,ffff80002800c6e0) at cdevvp+0x9c sys/kern/vfs_subr.c:507 spec_open_clone(ffff80002800c7b8) at spec_open_clone+0x193 sys/kern/spec_vnops.c:714 spec_open(ffff80002800c7b8) at spec_open+0x401 sys/kern/spec_vnops.c:148 VOP_OPEN(fffffd8075185a50,63,fffffd807f7d7548,ffff8000216d22b0) at VOP_OPEN+0x70 sys/kern/vfs_vops.c:138 vn_open(ffff80002800ca08,63,0) at vn_open+0x452 sys/kern/vfs_vnops.c:177 doopenat(ffff8000216d22b0,ffffff9c,20000040,462,0,ffff80002800cbe0) at doopenat+0x26e sys/kern/vfs_syscalls.c:1126 syscall(ffff80002800cc60) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x307bc748010, count: 2 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 *cpu0: uvm_fault(0xfffffd806409e5d8, 0x0, 0, 1) -> e ddb> trace rw_enter(0,1) at rw_enter+0xf0 sys/kern/kern_rwlock.c:253 uvm_vnp_terminate(fffffd807e45ec08) at uvm_vnp_terminate+0x29 sys/uvm/uvm_vnode.c:428 vclean(fffffd807e45ec08,8,ffff8000216d22b0) at vclean+0x10a sys/kern/vfs_subr.c:1063 vgonel(fffffd807e45ec08,ffff8000216d22b0) at vgonel+0x7d sys/kern/vfs_subr.c:1175 checkalias(fffffd807e684468,6b1700,0) at checkalias+0x13c cdevvp(6b1700,ffff80002800c6e0) at cdevvp+0x9c getdevvp sys/kern/vfs_subr.c:533 [inline] cdevvp(6b1700,ffff80002800c6e0) at cdevvp+0x9c sys/kern/vfs_subr.c:507 spec_open_clone(ffff80002800c7b8) at spec_open_clone+0x193 sys/kern/spec_vnops.c:714 spec_open(ffff80002800c7b8) at spec_open+0x401 sys/kern/spec_vnops.c:148 VOP_OPEN(fffffd8075185a50,63,fffffd807f7d7548,ffff8000216d22b0) at VOP_OPEN+0x70 sys/kern/vfs_vops.c:138 vn_open(ffff80002800ca08,63,0) at vn_open+0x452 sys/kern/vfs_vnops.c:177 doopenat(ffff8000216d22b0,ffffff9c,20000040,462,0,ffff80002800cbe0) at doopenat+0x26e sys/kern/vfs_syscalls.c:1126 syscall(ffff80002800cc60) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x307bc748010, count: -13 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002800c4e0 rbx 0x5 rdx 0 rcx 0xffff8000216d22b4 rax 0xffff8000216d22b0 r8 0x50 r9 0xfffffd807f7d7548 r10 0x34556cd1797b77c0 r11 0x590205f6731a2d76 r12 0xffffffffffffffff r13 0x1 r14 0 r15 0 rip 0xffffffff8173ff40 rw_enter+0xf0 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002800c460 ss 0x10 rw_enter+0xf0: movq 0(%r14),%r13 ddb> show proc PROC (syz-executor.6) tid=418438 pid=2417 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff8000216d2800,0xffff8000216d1028 process=0xffff800021704bd0 user=0xffff800028007000, vmspace=0xfffffd806409e5d8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 26646 91279 8357 0 2 0 syz-executor.5 2417 76341 32068 0 2 0 syz-executor.6 2417 361064 32068 0 2 0x4000000 syz-executor.6 * 2417 418438 32068 0 7 0x4000000 syz-executor.6 2417 489068 32068 0 3 0x4000080 fsleep syz-executor.6 52803 216056 72046 0 2 0x2 syz-executor.7 56272 31113 72046 0 2 0x2 syz-executor.0 32068 46947 72046 0 3 0x82 nanoslp syz-executor.6 17845 509703 0 0 3 0x14280 nfsidl nfsio 57902 472373 0 0 3 0x14280 nfsidl nfsio 56006 103657 0 0 3 0x14280 nfsidl nfsio 42517 163525 0 0 3 0x14280 nfsidl nfsio 46348 199687 0 0 3 0x14280 nfsidl nfsio 97146 291822 0 0 3 0x14280 nfsidl nfsio 85784 314930 0 0 3 0x14280 nfsidl nfsio 43797 272048 0 0 3 0x14280 nfsidl nfsio 72765 190740 0 0 3 0x14280 nfsidl nfsio 5320 25088 0 0 3 0x14280 nfsidl nfsio 21382 415256 0 0 3 0x14280 nfsidl nfsio 23862 24629 0 0 3 0x14280 nfsidl nfsio 12889 169090 0 0 3 0x14280 nfsidl nfsio 444 296451 0 0 3 0x14280 nfsidl nfsio 65306 250514 0 0 3 0x14280 nfsidl nfsio 71300 114458 0 0 3 0x14280 nfsidl nfsio 30308 454118 0 0 3 0x14280 nfsidl nfsio 98162 500092 0 0 3 0x14280 nfsidl nfsio 7480 392496 0 0 3 0x14280 nfsidl nfsio 91816 251581 0 0 3 0x14280 nfsidl nfsio 47259 340510 72046 0 2 0x2 syz-executor.4 34707 32247 0 0 3 0x14200 bored sosplice 8357 232610 72046 0 3 0x82 nanoslp syz-executor.5 38156 389851 72046 0 2 0x2 syz-executor.3 21410 117002 72046 0 2 0x2 syz-executor.2 2250 23483 72046 0 2 0x2 syz-executor.1 72046 80914 78301 0 3 0x2000082 wait syz-fuzzer 72046 136162 78301 0 3 0x6000082 nanoslp syz-fuzzer 72046 237057 78301 0 3 0x6000082 wait syz-fuzzer 72046 376746 78301 0 3 0x6000082 thrsleep syz-fuzzer 72046 314875 78301 0 3 0x6000082 wait syz-fuzzer 72046 401818 78301 0 3 0x6000082 wait syz-fuzzer 72046 421560 78301 0 3 0x6000082 thrsleep syz-fuzzer 72046 386057 78301 0 3 0x6000082 wait syz-fuzzer 72046 263934 78301 0 3 0x6000082 wait syz-fuzzer 72046 364116 78301 0 3 0x6000082 thrsleep syz-fuzzer 72046 352413 78301 0 3 0x6000082 thrsleep syz-fuzzer 72046 108074 78301 0 3 0x6000082 wait syz-fuzzer 72046 37161 78301 0 3 0x6000082 kqread syz-fuzzer 72046 107034 78301 0 3 0x6000082 wait syz-fuzzer 78301 149693 86769 0 3 0x10008a sigsusp ksh 86769 14943 50254 0 3 0x9a kqread sshd 23437 330392 1 0 3 0x100083 ttyopn getty 50254 219998 1 0 3 0x88 kqread sshd 7193 475384 44877 73 3 0x1100090 kqread syslogd 44877 21362 1 0 3 0x100082 netio syslogd 91027 135476 1 0 3 0x100080 kqread resolvd 33177 490200 9847 77 3 0x100092 kqread dhcpleased 13310 59182 9847 77 3 0x100092 kqread dhcpleased 9847 216603 1 0 3 0x80 kqread dhcpleased 50170 180409 0 0 3 0x14200 bored smr 46425 239220 0 0 2 0x14200 zerothread 75161 100738 0 0 3 0x14200 aiodoned aiodoned 45113 40127 0 0 3 0x14200 syncer update 10149 292212 0 0 3 0x14200 cleaner cleaner 44458 288779 0 0 3 0x14200 reaper reaper 86562 268834 0 0 3 0x14200 pgdaemon pagedaemon 69327 279696 0 0 3 0x14200 bored viomb 14940 330578 0 0 3 0x40014200 acpi0 acpi0 50825 186412 0 0 3 0x14200 bored softnet3 82917 296917 0 0 3 0x14200 bored softnet2 24129 372207 0 0 3 0x14200 bored softnet1 70556 279420 0 0 3 0x14200 bored softnet0 83499 486383 0 0 3 0x14200 bored systqmp 12709 59898 0 0 3 0x14200 bored systq 14046 208124 0 0 2 0x40014200 softclock 67251 319700 0 0 3 0x40014200 idle0 1 483939 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 devbuf 10421 6667K 7998K 78643K 35332 0 pcb 13 13K 15K 78643K 280 0 rtable 239 7K 7K 78643K 625 0 pf 29 8K 9K 78643K 75 0 ifaddr 43 11K 11K 78643K 87 0 ifgroup 50 2K 2K 78643K 126 0 sysctl 2 0K 0K 78643K 6 0 counters 28 17K 17K 78643K 47 0 ioctlops 0 0K 2K 78643K 1140 0 iov 0 0K 16K 78643K 195 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1541 96K 96K 78643K 8326 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 17K 78643K 85 0 VM map 2 1K 1K 78643K 2 0 sem 11 1K 1K 78643K 16 0 dirhash 12 2K 3K 78643K 39 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 12 41K 65K 78643K 7221 0 sigio 0 0K 0K 78643K 372 0 proc 58 59K 83K 78643K 792 0 subproc 104 6K 6K 78643K 195 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 100 0 in_multi 99 7K 7K 78643K 229 0 ether_multi 1 0K 0K 78643K 8 0 mrt 1 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 79 360K 360K 78643K 79 0 exec 0 0K 1K 78643K 837 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 8 62K 64K 78643K 10 0 UVM amap 332 110K 117K 78643K 64980 0 UVM aobj 131 6K 7K 78643K 142 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 78 0 NDP 11 0K 2K 78643K 60 0 temp 74 5916K 6044K 78643K 74038 0 kqueue 12 18K 26K 78643K 702 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 111 0 108 1 0 1 1 0 8 0 rtentry 112 196 0 85 4 0 4 4 0 8 0 unpcb 144 2667 0 2654 35 34 1 10 0 8 0 syncache 304 62 0 62 6 6 0 1 0 8 0 tcpqe 32 176 0 176 5 5 0 1 0 8 0 tcpcb 808 650 0 642 17 14 3 16 0 8 0 arp 88 33 0 15 1 0 1 1 0 8 0 ipq 40 6 0 6 2 2 0 1 0 8 0 ipqe 40 17 0 17 2 2 0 1 0 8 0 inpcb 336 1404 0 1393 22 19 3 14 0 8 0 nd6 104 48 0 23 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 2 0 1 0 8 0 kcovpl 48 15 0 7 1 0 1 1 0 8 0 ppxss 1160 4 0 4 2 2 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 775 0 318 29 0 29 29 0 8 0 art_table 32 776 0 318 4 0 4 4 0 8 0 art_node 16 191 0 90 1 0 1 1 0 8 0 sysvmsgpl 40 25 0 25 3 3 0 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 139 0 11 4 0 4 4 0 8 0 dirhash 1024 35 0 18 3 0 3 3 0 8 0 dino2pl 256 10972 0 9512 92 0 92 92 0 8 0 ffsino 240 10973 0 9512 87 0 87 87 0 8 0 nchpl 144 20811 0 19172 63 0 63 63 0 8 0 uvmvnodes 80 16969 0 0 347 0 347 347 0 8 0 uvmvnodes: pool(0xffffffff82d49340:uvmvnodes): page inconsistency: page 0x0; at page head addr 0xfffffd805c9a2f90 (p 0xfffffd805c9a2000) vnodes 216 16969 0 0 943 0 943 943 0 8 0 namei 1024 70179 0 70174 7 6 1 3 0 8 0 vcpupl 2048 22 0 3 3 0 3 3 0 8 0 vmpool 664 30 0 11 2 0 2 2 0 8 0 kstatmem 264 60 0 38 2 0 2 2 0 8 0 scxspl 216 62111 0 62111 17 16 1 8 1 8 1 plimitpl 152 302 0 287 1 0 1 1 0 8 0 sigapl 424 7528 0 7468 8 0 8 8 0 8 0 futexpl 64 53666 0 53665 2 1 1 1 0 8 0 knotepl 120 218671 0 218591 48 40 8 14 0 8 4 kqueuepl 184 894 0 821 5 1 4 4 0 8 0 pipepl 288 1640 0 1612 31 28 3 10 0 8 0 fdescpl 432 7491 0 7468 4 0 4 4 0 8 0 filepl 120 44462 0 44056 77 64 13 19 0 8 0 lockfpl 104 8051 0 7978 19 17 2 5 0 8 0 lockfspl 48 3755 0 3682 7 6 1 3 0 8 0 sessionpl 144 30 0 14 1 0 1 1 0 8 0 pgrppl 48 42 0 26 1 0 1 1 0 8 0 ucredpl 104 5982 0 5972 1 0 1 1 0 8 0 zombiepl 144 7468 0 7468 1 0 1 1 0 8 1 processpl 1008 7528 0 7468 10 1 9 9 0 8 0 procpl 680 16529 0 16453 14 6 8 9 0 8 0 sosppl 168 26 0 26 3 3 0 1 0 8 0 sockpl 456 4186 0 4159 131 126 5 52 0 8 0 mcl64k 65536 126 0 126 15 15 0 1 0 8 0 mcl16k 16384 41 0 41 11 11 0 1 0 8 0 mcl12k 12288 128 0 128 13 13 0 1 0 8 0 mcl9k 9216 40 0 40 13 13 0 1 0 8 0 mcl8k 8192 298 0 298 14 14 0 1 0 8 0 mcl4k 4096 568 0 568 14 13 1 1 0 8 1 mcl2k2 2112 27 0 27 12 12 0 1 0 8 0 mcl2k 2048 74026 0 73879 66 46 20 35 0 8 0 mtagpl 96 4882 0 3010 47 1 46 46 0 8 0 mbufpl 256 162798 0 160774 244 116 128 128 0 8 0 bufpl 288 15074 0 8670 458 0 458 458 0 8 0 anonpl 24 718639 0 705568 126 41 85 104 0 188 0 amapchunkpl 152 206297 0 205589 75 41 34 45 0 158 1 amappl16 200 13933 0 13495 47 22 25 36 0 8 0 amappl15 192 22 0 21 1 0 1 1 0 8 0 amappl14 184 175 0 163 2 1 1 2 0 8 0 amappl13 176 14 0 14 1 1 0 1 0 8 0 amappl12 168 8221 0 8196 2 0 2 2 0 8 0 amappl11 160 97 0 86 1 0 1 1 0 8 0 amappl10 152 40 0 30 1 0 1 1 0 8 0 amappl9 144 171 0 168 1 0 1 1 0 8 0 amappl8 136 280 0 208 3 0 3 3 0 8 0 amappl7 128 72 0 60 1 0 1 1 0 8 0 amappl6 120 295 0 277 2 1 1 2 0 8 0 amappl5 112 239 0 231 1 0 1 1 0 8 0 amappl4 104 617 0 575 2 0 2 2 0 8 0 amappl3 96 41617 0 41559 12 9 3 3 0 8 1 amappl2 88 7831 0 7773 3 1 2 3 0 8 0 amappl1 80 34566 0 34071 22 10 12 22 0 8 0 amappl 88 64299 0 64114 6 0 6 6 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 7521 0 7479 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7521 0 7479 1 0 1 1 0 8 0 vmmpekpl 168 51314 0 51261 3 0 3 3 0 8 0 vmmpepl 168 436299 0 434273 192 89 103 126 0 357 2 vmsppl 368 7520 0 7479 5 0 5 5 0 8 0 rwobjpl 24 114660 0 96149 113 1 112 112 0 8 0 pdppl 4096 15048 0 14977 421 340 81 85 0 8 10 pvpl 32 2090409 0 2072105 387 230 157 358 0 265 0 pmappl 216 7520 0 7479 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1557 0 630 27 0 27 27 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rw_enter(0,1) at rw_enter+0xf0 sys/kern/kern_rwlock.c:253 uvm_vnp_terminate(fffffd807e45ec08) at uvm_vnp_terminate+0x29 sys/uvm/uvm_vnode.c:428 vclean(fffffd807e45ec08,8,ffff8000216d22b0) at vclean+0x10a sys/kern/vfs_subr.c:1063 vgonel(fffffd807e45ec08,ffff8000216d22b0) at vgonel+0x7d sys/kern/vfs_subr.c:1175 checkalias(fffffd807e684468,6b1700,0) at checkalias+0x13c cdevvp(6b1700,ffff80002800c6e0) at cdevvp+0x9c getdevvp sys/kern/vfs_subr.c:533 [inline] cdevvp(6b1700,ffff80002800c6e0) at cdevvp+0x9c sys/kern/vfs_subr.c:507 spec_open_clone(ffff80002800c7b8) at spec_open_clone+0x193 sys/kern/spec_vnops.c:714 spec_open(ffff80002800c7b8) at spec_open+0x401 sys/kern/spec_vnops.c:148 VOP_OPEN(fffffd8075185a50,63,fffffd807f7d7548,ffff8000216d22b0) at VOP_OPEN+0x70 sys/kern/vfs_vops.c:138 vn_open(ffff80002800ca08,63,0) at vn_open+0x452 sys/kern/vfs_vnops.c:177 doopenat(ffff8000216d22b0,ffffff9c,20000040,462,0,ffff80002800cbe0) at doopenat+0x26e sys/kern/vfs_syscalls.c:1126 syscall(ffff80002800cc60) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x307bc748010, count: -13 ddb> machine ddbcpu 1 No such command ddb> trace rw_enter(0,1) at rw_enter+0xf0 sys/kern/kern_rwlock.c:253 uvm_vnp_terminate(fffffd807e45ec08) at uvm_vnp_terminate+0x29 sys/uvm/uvm_vnode.c:428 vclean(fffffd807e45ec08,8,ffff8000216d22b0) at vclean+0x10a sys/kern/vfs_subr.c:1063 vgonel(fffffd807e45ec08,ffff8000216d22b0) at vgonel+0x7d sys/kern/vfs_subr.c:1175 checkalias(fffffd807e684468,6b1700,0) at checkalias+0x13c cdevvp(6b1700,ffff80002800c6e0) at cdevvp+0x9c getdevvp sys/kern/vfs_subr.c:533 [inline] cdevvp(6b1700,ffff80002800c6e0) at cdevvp+0x9c sys/kern/vfs_subr.c:507 spec_open_clone(ffff80002800c7b8) at spec_open_clone+0x193 sys/kern/spec_vnops.c:714 spec_open(ffff80002800c7b8) at spec_open+0x401 sys/kern/spec_vnops.c:148 VOP_OPEN(fffffd8075185a50,63,fffffd807f7d7548,ffff8000216d22b0) at VOP_OPEN+0x70 sys/kern/vfs_vops.c:138 vn_open(ffff80002800ca08,63,0) at vn_open+0x452 sys/kern/vfs_vnops.c:177 doopenat(ffff8000216d22b0,ffffff9c,20000040,462,0,ffff80002800cbe0) at doopenat+0x26e sys/kern/vfs_syscalls.c:1126 syscall(ffff80002800cc60) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x307bc748010, count: -13