#################################uvm_fault(0xfffff28079d358b8, 0x10, 0, 1) -> e kernel: page fault trap, code=0 Stopped at dtioctl+0x5d4: movq 0x10(%rax),%r11 TID PID UID PRFLAGS PFLAGS CPU COMMAND *160541 29852 0 0 0x4000000 0 syz-executor dtioctl(11e63,80184404,ffff80003c913d20,1,ffff80002a75ad10) at dtioctl+0x5d4 dt_ioctl_probe_enable sys/dev/dt/dt_dev.c:626 [inline] dtioctl(11e63,80184404,ffff80003c913d20,1,ffff80002a75ad10) at dtioctl+0x5d4 sys/dev/dt/dt_dev.c:328 VOP_IOCTL(fffff2806d53f1c0,80184404,ffff80003c913d20,1,fffff28007ffd4e0,ffff80002a75ad10) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffff2806c509350,80184404,ffff80003c913d20,ffff80002a75ad10) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537 sys_ioctl(ffff80002a75ad10,ffff80003c913ef0,ffff80003c913e40) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c913ef0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c913ef0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1aa76baef30, count: 9 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(0xfffff28079d358b8, 0x10, 0, 1) -> e ddb> show kasan No such command ddb> trace dtioctl(11e63,80184404,ffff80003c913d20,1,ffff80002a75ad10) at dtioctl+0x5d4 dt_ioctl_probe_enable sys/dev/dt/dt_dev.c:626 [inline] dtioctl(11e63,80184404,ffff80003c913d20,1,ffff80002a75ad10) at dtioctl+0x5d4 sys/dev/dt/dt_dev.c:328 VOP_IOCTL(fffff2806d53f1c0,80184404,ffff80003c913d20,1,fffff28007ffd4e0,ffff80002a75ad10) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffff2806c509350,80184404,ffff80003c913d20,ffff80002a75ad10) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537 sys_ioctl(ffff80002a75ad10,ffff80003c913ef0,ffff80003c913e40) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c913ef0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c913ef0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1aa76baef30, count: -6 ddb> show registers rdi 0xffff80002f0be000 rsi 0x1bd rbp 0xffff80003c913b50 rbx 0x163 rdx 0xffff80003c913ae0 rcx 0x1bc rax 0 r8 0xffff80002a75ad10 r9 0xffff80002a75ad10 r10 0xd44c5e043d9c2067 r11 0xd240033c0217b23c r12 0xffff800000c58000 r13 0 r14 0 r15 0xffff800001656400 rip 0xffffffff814a90e4 dtioctl+0x5d4 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c913ad0 ss 0x10 dtioctl+0x5d4: movq 0x10(%rax),%r11 ddb> show proc PROC (syz-executor) tid=160541 pid=29852 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a75b240,0xffff80002a75b4e8 process=0xffff800045ffa418 user=0xffff80003c90e000, vmspace=0xfffff28079d358b8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 60235 290725 43086 0 2 0 0 syz-executor 60235 252743 43086 0 3 0 0x4000080 fsleep syz-executor 34184 105363 74738 0 2 0 0 syz-executor 34184 366175 74738 0 3 0 0x4000080 fsleep syz-executor 29852 59942 98185 0 2 0 0 syz-executor *29852 160541 98185 0 7 0 0x4000000 syz-executor 21406 515593 54970 60929 2 0x10 0 syz-executor 21406 341702 54970 60929 3 0x10 0x4000080 kqpoll syz-executor 74537 200062 22831 -1 2 0x10 0 syz-executor 74537 46052 22831 -1 3 0x10 0x4000080 msgwait syz-executor 74537 364464 22831 -1 3 0x10 0x4000080 fsleep syz-executor 98700 451484 73508 0 3 0x1 0x80 nanoslp syz-executor 98700 21904 73508 0 3 0x1 0x4000080 kqsel syz-executor 98700 165660 73508 0 3 0x1 0x4000080 fsleep syz-executor 74738 323126 26331 0 3 0x2 0x80 nanoslp syz-executor 54970 59554 26331 0 3 0x2 0x80 nanoslp syz-executor 85649 479004 26331 0 2 0x2 0 syz-executor 3418 241815 26331 0 2 0x2 0 syz-executor 22831 259577 26331 0 2 0x2 0xc80 syz-executor 98185 64410 26331 0 3 0x2 0x80 nanoslp syz-executor 73508 435062 26331 0 3 0x2 0x80 nanoslp syz-executor 43086 11193 26331 0 3 0x2 0x80 nanoslp syz-executor 26331 206060 27943 0 3 0x2 0x80 kqread syz-executor 27943 174325 33185 0 3 0x100002 0x88 sigsusp ksh 33185 55321 28266 0 3 0x10 0x88 kqread sshd-session 28266 264111 881 0 3 0x12 0x80 kqread sshd-session 79690 346096 1 0 3 0x100003 0x80 ttyin getty 881 84233 1 0 3 0 0x88 kqread sshd 10142 369661 39584 73 3 0x1100010 0x80 kqread syslogd 39584 263801 1 0 3 0x100002 0x80 sbwait syslogd 57429 391043 1 0 3 0x100000 0x80 kqread resolvd 36974 50167 13109 77 3 0x100012 0x80 kqread dhcpleased 47788 65181 13109 77 3 0x100012 0x80 kqread dhcpleased 13109 123425 1 0 3 0 0x80 kqread dhcpleased 74087 493269 0 0 3 0x14000 0x200 bored smr 29926 3987 0 0 2 0x14000 0x200 zerothread 7601 240925 0 0 3 0x14000 0x200 aiodoned aiodoned 12001 113989 0 0 3 0x14000 0x200 syncer update 98000 214602 0 0 3 0x14000 0x200 cleaner cleaner 37655 80158 0 0 3 0x14000 0x200 reaper reaper 56586 354442 0 0 3 0x14000 0x200 pgdaemon pagedaemon 58895 4605 0 0 3 0x14000 0x200 bored viomb 53437 130039 0 0 3 0x14000 0x40000200 acpi0 acpi0 43185 331430 0 0 3 0x14000 0x200 bored softnet0 61282 148999 0 0 3 0x14000 0x200 bored systqmp 62011 164428 0 0 3 0x14000 0x200 bored systq 55847 454479 0 0 3 0x14000 0x40000200 tmoslp softclock 68625 502872 0 0 3 0x14000 0x40000200 idle0 1 52196 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11042 12249K 12498K 166960K 12400 0 pcb 17 12K 12K 166960K 44 0 rtable 257 9K 9K 166960K 405 0 pf 31 13K 17K 166960K 44 0 ifaddr 43 7K 7K 166960K 50 0 ifgroup 50 2K 2K 166960K 64 0 sysctl 1 1K 9K 166960K 6 0 counters 33 17K 18K 166960K 40 0 ioctlops 0 0K 4K 166960K 52 0 iov 0 0K 12K 166960K 5 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1302 82K 82K 166960K 1448 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 16 57K 93K 166960K 262 0 sigio 0 0K 0K 166960K 3 0 proc 60 59K 100K 166960K 514 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 77 0 in_multi 103 7K 7K 166960K 107 0 ether_multi 1 0K 0K 166960K 2 0 mrt 1 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 385 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 211 150K 159K 166960K 4040 0 UVM aobj 9 2K 2K 166960K 9 0 pinsyscall 37 74K 94K 166960K 1372 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 7 0 NDP 11 0K 2K 166960K 31 0 temp 38 9107K 13206K 166960K 9747 0 kqueue 14 22K 30K 166960K 49 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 46 0 43 1 0 1 1 0 8 0 rtentry 136 115 0 3 4 0 4 4 0 8 0 unpcb 144 179 0 160 4 0 4 4 0 8 3 syncache 336 6 0 6 1 0 1 1 0 8 1 tcpqe 32 8 0 8 1 0 1 1 0 8 1 tcpcb 736 38 0 31 1 0 1 1 0 8 0 arp 96 19 0 0 1 0 1 1 0 8 0 inpcb 328 229 0 218 7 0 7 7 0 8 5 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 1 1 0 1 1 0 8 0 nd6 112 25 0 0 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 5 0 5 1 0 1 1 0 8 1 pppxif 1416 1 0 1 1 0 1 1 0 8 1 pfstscr 40 2 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 461 0 6 29 0 29 29 0 8 0 art_table 40 463 0 6 5 0 5 5 0 8 0 art_node 32 114 0 12 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 3 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1790 0 331 92 0 92 92 0 8 0 ffsino 256 1790 0 331 92 0 92 92 0 8 0 nchpl 144 2183 0 489 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 1920 0 0 107 0 107 107 0 8 0 namei 1024 6873 0 6873 1 0 1 1 0 8 1 kstatmem 264 31 0 8 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 7449 0 7449 4 0 4 4 1 8 4 plimitpl 152 103 0 86 1 0 1 1 0 8 0 sigapl 424 560 0 519 6 0 6 6 0 8 1 knotepl 120 7215 0 7164 9 0 9 9 0 8 7 kqueuepl 184 55 0 43 1 0 1 1 0 8 0 pipepl 304 129 0 102 3 0 3 3 0 8 0 fdescpl 448 547 0 519 5 0 5 5 0 8 1 filepl 120 2630 0 2408 11 0 11 11 0 8 3 lockfpl 104 64 0 62 1 0 1 1 0 8 0 lockfspl 48 26 0 24 1 0 1 1 0 8 0 sessionpl 144 126 0 117 1 0 1 1 0 8 0 pgrppl 48 134 0 117 1 0 1 1 0 8 0 ucredpl 104 224 0 211 1 0 1 1 0 8 0 zombiepl 144 519 0 519 1 0 1 1 0 8 1 processpl 1152 560 0 519 4 0 4 4 0 8 0 procpl 664 765 0 716 5 0 5 5 0 8 0 sockpl 552 459 0 426 8 0 8 8 0 8 5 mcl64k 65536 6 0 6 1 0 1 1 0 8 1 mcl9k128 9344 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 5 0 5 1 0 1 1 0 8 1 mcl4k 4096 2651 0 2601 14 0 14 14 0 8 7 mcl2k 2048 207 0 204 3 0 3 3 0 8 2 mextrefs 64 121 0 120 1 0 1 1 0 8 0 mtagpl 96 6 0 5 1 0 1 1 0 8 0 mbufpl 256 5989 0 5826 16 0 16 16 0 8 0 bufpl 272 2710 0 102 174 0 174 174 0 8 0 anonpl 24 87798 0 84718 22 0 22 22 0 187 0 amapchunkpl 152 11742 0 11313 28 0 28 28 0 158 8 amappl16 200 1208 0 1187 4 0 4 4 0 8 1 amappl15 192 6 0 6 1 0 1 1 0 8 1 amappl14 184 415 0 414 1 0 1 1 0 8 0 amappl13 176 118 0 108 1 0 1 1 0 8 0 amappl12 168 799 0 772 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 0 1 1 0 8 1 amappl10 152 59 0 49 1 0 1 1 0 8 0 amappl9 144 298 0 298 1 0 1 1 0 8 1 amappl8 136 94 0 92 1 0 1 1 0 8 0 amappl7 128 140 0 129 1 0 1 1 0 8 0 amappl6 120 151 0 150 1 0 1 1 0 8 0 amappl5 112 89 0 82 1 0 1 1 0 8 0 amappl4 104 265 0 248 1 0 1 1 0 8 0 amappl3 96 2235 0 2136 3 0 3 3 0 8 0 amappl2 88 528 0 473 2 0 2 2 0 8 0 amappl1 80 10688 0 10150 13 0 13 13 0 8 1 amappl 88 3308 0 3159 4 0 4 4 0 92 0 uvmvnodes 80 102 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 8 0 0 1 0 1 1 0 8 0 uaddrrnd 24 547 0 519 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 547 0 519 1 0 1 1 0 8 0 vmmpekpl 168 6282 0 6245 2 0 2 2 0 8 0 vmmpepl 168 43228 0 41533 80 0 80 80 0 357 3 vmsppl 368 546 0 519 4 0 4 4 0 8 1 rwobjpl 40 14837 0 13912 11 0 11 11 0 8 0 pdppl 4096 1100 0 1038 94 28 66 80 0 8 4 pvpl 32 238493 0 230131 76 0 76 76 0 265 1 pmappl 216 546 0 519 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 536 0 28 15 0 15 15 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dtioctl(11e63,80184404,ffff80003c913d20,1,ffff80002a75ad10) at dtioctl+0x5d4 dt_ioctl_probe_enable sys/dev/dt/dt_dev.c:626 [inline] dtioctl(11e63,80184404,ffff80003c913d20,1,ffff80002a75ad10) at dtioctl+0x5d4 sys/dev/dt/dt_dev.c:328 VOP_IOCTL(fffff2806d53f1c0,80184404,ffff80003c913d20,1,fffff28007ffd4e0,ffff80002a75ad10) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffff2806c509350,80184404,ffff80003c913d20,ffff80002a75ad10) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537 sys_ioctl(ffff80002a75ad10,ffff80003c913ef0,ffff80003c913e40) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c913ef0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c913ef0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1aa76baef30, count: -6 ddb> machine ddbcpu 1 No such command ddb> trace dtioctl(11e63,80184404,ffff80003c913d20,1,ffff80002a75ad10) at dtioctl+0x5d4 dt_ioctl_probe_enable sys/dev/dt/dt_dev.c:626 [inline] dtioctl(11e63,80184404,ffff80003c913d20,1,ffff80002a75ad10) at dtioctl+0x5d4 sys/dev/dt/dt_dev.c:328 VOP_IOCTL(fffff2806d53f1c0,80184404,ffff80003c913d20,1,fffff28007ffd4e0,ffff80002a75ad10) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffff2806c509350,80184404,ffff80003c913d20,ffff80002a75ad10) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537 sys_ioctl(ffff80002a75ad10,ffff80003c913ef0,ffff80003c913e40) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80003c913ef0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c913ef0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1aa76baef30, count: -6