login: uvm_fault(0xfffffc006da682f8, 0x798e2647, 0, 1) -> e kernel: page fault trap, code=0 Stopped at dtioctl+0x5d4: movq 0x10(%rax),%r11 TID PID UID PRFLAGS PFLAGS CPU COMMAND *184284 2075 0 0x10 0x4000000 0 syz-executor dtioctl(11e60,80184404,ffff80002a782db0,1,ffff80002a766a70) at dtioctl+0x5d4 dt_ioctl_probe_enable sys/dev/dt/dt_dev.c:626 [inline] dtioctl(11e60,80184404,ffff80002a782db0,1,ffff80002a766a70) at dtioctl+0x5d4 sys/dev/dt/dt_dev.c:328 VOP_IOCTL(fffffc006c57c2b0,80184404,ffff80002a782db0,1,fffffc0007ffd5b0,ffff80002a766a70) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffffc006d1984b0,80184404,ffff80002a782db0,ffff80002a766a70) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537 sys_ioctl(ffff80002a766a70,ffff80002a782f80,ffff80002a782ed0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a782f80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a782f80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf32e1795f40, 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(0xfffffc006da682f8, 0x798e2647, 0, 1) -> e ddb> show kasan No such command ddb> trace dtioctl(11e60,80184404,ffff80002a782db0,1,ffff80002a766a70) at dtioctl+0x5d4 dt_ioctl_probe_enable sys/dev/dt/dt_dev.c:626 [inline] dtioctl(11e60,80184404,ffff80002a782db0,1,ffff80002a766a70) at dtioctl+0x5d4 sys/dev/dt/dt_dev.c:328 VOP_IOCTL(fffffc006c57c2b0,80184404,ffff80002a782db0,1,fffffc0007ffd5b0,ffff80002a766a70) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffffc006d1984b0,80184404,ffff80002a782db0,ffff80002a766a70) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537 sys_ioctl(ffff80002a766a70,ffff80002a782f80,ffff80002a782ed0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a782f80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a782f80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf32e1795f40, count: -6 ddb> show registers rdi 0xffff800035ccc000 rsi 0x1a8 rbp 0xffff80002a782be0 rbx 0x160 rdx 0xffff80002a782b70 rcx 0x1a7 rax 0x798e2637 r8 0xffff80002a766a70 r9 0xffff80002a766a70 r10 0xbfc6e45158d22a3e r11 0x7e4f1eaa14e3f59f r12 0xffff800000c56080 r13 0 r14 0 r15 0xffff800001600680 rip 0xffffffff82e39f94 dtioctl+0x5d4 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a782b60 ss 0x10 dtioctl+0x5d4: movq 0x10(%rax),%r11 ddb> show proc PROC (syz-executor) tid=184284 pid=2075 tcnt=2 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=80, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000380d5ca8,0xffff80002a766d18 process=0xffff80002a76ba90 user=0xffff80002a77e000, vmspace=0xfffffc006da682f8 estcpu=30, cpticks=2, pctcpu=0.1, user=0, sys=2, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 13036 340331 99239 0 2 0x100002 0 ndp 99239 307440 67778 0 3 0x100002 0x88 sigsusp sh 36442 236450 68231 0 2 0 0 syz-executor 36442 271307 68231 0 3 0 0x4000080 fsleep syz-executor 37325 278924 54773 0 2 0 0xc80 syz-executor 37325 503793 54773 0 3 0 0x4000080 kqread syz-executor 37325 439962 54773 0 3 0 0x4000080 fsleep syz-executor 2075 477729 33635 0 2 0x10 0 syz-executor * 2075 184284 33635 0 7 0x10 0x4000000 syz-executor 22140 333966 80000 0 3 0 0x80 nanoslp syz-executor 22140 335380 80000 0 3 0 0x4000080 fsleep syz-executor 22140 390044 80000 0 3 0 0x4000080 lockf syz-executor 22140 448941 80000 0 3 0 0x4000080 fsleep syz-executor 67778 163470 56080 0 3 0x2 0x80 wait syz-executor 96931 11530 56080 0 2 0x2 0 syz-executor 98714 193841 54491 0 3 0 0x80 nanoslp syz-executor 98714 357757 54491 0 3 0 0x4000080 netcon syz-executor 98714 79006 54491 0 3 0 0x4000080 fsleep syz-executor 8826 409788 1 0 3 0x100003 0x80 ttyin getty 54773 425792 56080 0 2 0x2 0xc80 syz-executor 80000 127570 56080 0 3 0x2 0x80 nanoslp syz-executor 54491 87065 56080 0 2 0x2 0xc80 syz-executor 33635 281226 56080 0 3 0x2 0x80 nanoslp syz-executor 68231 354730 56080 0 3 0x2 0x80 nanoslp syz-executor 56080 15991 1 0 3 0x2 0x80 wait syz-executor 59784 403464 1 73 3 0x1100010 0x80 kqread syslogd 30858 163377 0 0 3 0x14000 0x200 bored smr 40961 1012 0 0 2 0x14000 0x200 zerothread 22891 268699 0 0 3 0x14000 0x200 aiodoned aiodoned 75047 330058 0 0 3 0x14000 0x200 syncer update 97632 257144 0 0 3 0x14000 0x200 cleaner cleaner 2894 463916 0 0 3 0x14000 0x200 reaper reaper 6976 245835 0 0 3 0x14000 0x200 pgdaemon pagedaemon 71438 37048 0 0 3 0x14000 0x200 bored viomb 8660 345739 0 0 3 0x14000 0x40000200 acpi0 acpi0 90524 93929 0 0 3 0x14000 0x200 bored softnet0 29148 69259 0 0 3 0x14000 0x200 smrbar systqmp 39002 263539 0 0 3 0x14000 0x200 bored systq 3873 501470 0 0 3 0x14000 0x40000200 tmoslp softclock 49146 105661 0 0 3 0x14000 0x40000200 idle0 1 369427 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 11054 12118K 12245K 166960K 12501 0 pcb 17 14K 16K 166960K 50 0 rtable 243 8K 8K 166960K 1533 0 pf 32 13K 14K 166960K 123 0 ifaddr 42 7K 8K 166960K 204 0 ifgroup 50 2K 2K 166960K 216 0 sysctl 1 1K 9K 166960K 5 0 counters 33 17K 18K 166960K 79 0 ioctlops 0 0K 4K 166960K 202 0 iov 0 0K 16K 166960K 12 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1294 81K 82K 166960K 1857 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 19 0K 1K 166960K 184 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 81K 166960K 887 0 sigio 0 0K 0K 166960K 1 0 proc 20 25K 83K 166960K 1560 0 subproc 72 4K 4K 166960K 405 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 11 0 in_multi 102 6K 6K 166960K 517 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 21 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 223 996K 996K 166960K 223 0 exec 0 0K 1K 166960K 861 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 143 85K 165K 166960K 7633 0 UVM aobj 8 2K 2K 166960K 8 0 pinsyscall 22 44K 88K 166960K 2963 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 10 0 NDP 17 0K 2K 166960K 144 0 temp 36 9106K 9130K 166960K 15459 0 kqueue 4 6K 24K 166960K 48 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 118 0 117 1 0 1 1 0 8 0 rtentry 136 542 0 434 4 0 4 4 0 8 0 unpcb 144 98 0 93 1 0 1 1 0 8 0 syncache 336 12 0 12 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 375 0 371 13 4 9 13 0 8 8 arp 96 99 0 83 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 1 1 0 1 1 0 8 0 inpcb 328 658 0 653 12 3 9 12 0 8 8 nd6 112 136 0 111 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 45 0 37 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 7 0 7 1 0 1 1 0 8 1 pppxif 1416 1 0 1 1 0 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfrule 1360 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2136 0 1679 34 0 34 34 0 8 5 art_table 40 2137 0 1679 6 0 6 6 0 8 0 art_node 32 542 0 443 1 0 1 1 0 8 0 semapl 72 181 0 164 1 0 1 1 0 8 0 shmpl 112 5 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1941 0 409 96 0 96 96 0 8 0 ffsino 256 1941 0 409 96 0 96 96 0 8 0 nchpl 144 2404 0 576 68 0 68 68 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 2443 0 0 136 0 136 136 0 8 0 namei 1024 12414 0 12413 3 0 3 3 0 8 2 kstatmem 264 109 0 86 2 0 2 2 0 8 0 scxspl 216 10281 0 10281 3 0 3 3 1 8 3 plimitpl 152 97 0 84 1 0 1 1 0 8 0 sigapl 424 1112 0 1079 6 0 6 6 0 8 1 knotepl 120 7823 0 7799 9 0 9 9 0 8 7 kqueuepl 184 71 0 68 1 0 1 1 0 8 0 pipepl 304 246 0 219 3 0 3 3 0 8 0 fdescpl 448 1099 0 1079 4 0 4 4 0 8 0 filepl 120 4044 0 3867 11 0 11 11 0 8 4 lockfpl 104 85 0 83 1 0 1 1 0 8 0 lockfspl 48 32 0 31 1 0 1 1 0 8 0 sessionpl 144 69 0 65 1 0 1 1 0 8 0 pgrppl 48 114 0 102 1 0 1 1 0 8 0 ucredpl 104 468 0 462 1 0 1 1 0 8 0 zombiepl 144 1080 0 1079 1 0 1 1 0 8 0 processpl 1152 1112 0 1079 4 0 4 4 0 8 0 procpl 664 1482 0 1440 5 0 5 5 0 8 0 sockpl 552 886 0 875 12 3 9 12 0 8 8 mcl64k 65536 18 0 18 1 0 1 1 0 8 1 mcl16k 16384 10 0 10 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 13 0 13 1 0 1 1 0 8 1 mcl4k 4096 2810 0 2758 14 0 14 14 0 8 6 mcl2k 2048 954 0 954 1 0 1 1 0 8 1 mextrefs 64 225 0 224 1 0 1 1 0 8 0 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 9254 0 9087 12 0 12 12 0 8 0 bufpl 272 4020 0 102 262 0 262 262 0 8 0 anonpl 24 141855 0 139962 43 0 43 43 0 187 16 amapchunkpl 152 21089 0 20736 24 0 24 24 0 158 9 amappl16 200 1833 0 1821 14 5 9 14 0 8 8 amappl15 192 6 0 6 1 0 1 1 0 8 1 amappl14 184 856 0 855 1 0 1 1 0 8 0 amappl13 176 193 0 189 1 0 1 1 0 8 0 amappl12 168 1482 0 1463 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 0 1 1 0 8 1 amappl10 152 62 0 60 1 0 1 1 0 8 0 amappl9 144 270 0 269 1 0 1 1 0 8 0 amappl8 136 243 0 243 1 0 1 1 0 8 1 amappl7 128 219 0 213 1 0 1 1 0 8 0 amappl6 120 518 0 517 1 0 1 1 0 8 0 amappl5 112 94 0 92 1 0 1 1 0 8 0 amappl4 104 387 0 380 1 0 1 1 0 8 0 amappl3 96 3953 0 3891 3 0 3 3 0 8 0 amappl2 88 1093 0 1060 2 0 2 2 0 8 0 amappl1 80 15816 0 15637 13 0 13 13 0 8 2 amappl 88 6288 0 6170 4 0 4 4 0 92 0 uvmvnodes 80 100 0 0 3 0 3 3 0 8 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 dma16384 16384 3 0 3 1 0 1 1 0 8 1 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 6 0 6 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 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1099 0 1079 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1099 0 1079 1 0 1 1 0 8 0 vmmpekpl 168 10036 0 9993 3 0 3 3 0 8 0 vmmpepl 168 78797 0 77881 87 0 87 87 0 357 44 vmsppl 368 1098 0 1079 4 0 4 4 0 8 1 rwobjpl 40 24280 0 23776 13 0 13 13 0 8 1 pdppl 4096 2204 0 2158 120 68 52 74 0 8 6 pvpl 32 419353 0 414513 104 0 104 104 0 265 52 pmappl 216 1098 0 1079 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 674 0 72 18 0 18 18 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dtioctl(11e60,80184404,ffff80002a782db0,1,ffff80002a766a70) at dtioctl+0x5d4 dt_ioctl_probe_enable sys/dev/dt/dt_dev.c:626 [inline] dtioctl(11e60,80184404,ffff80002a782db0,1,ffff80002a766a70) at dtioctl+0x5d4 sys/dev/dt/dt_dev.c:328 VOP_IOCTL(fffffc006c57c2b0,80184404,ffff80002a782db0,1,fffffc0007ffd5b0,ffff80002a766a70) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffffc006d1984b0,80184404,ffff80002a782db0,ffff80002a766a70) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537 sys_ioctl(ffff80002a766a70,ffff80002a782f80,ffff80002a782ed0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a782f80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a782f80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf32e1795f40, count: -6 ddb> machine ddbcpu 1 No such command ddb> trace dtioctl(11e60,80184404,ffff80002a782db0,1,ffff80002a766a70) at dtioctl+0x5d4 dt_ioctl_probe_enable sys/dev/dt/dt_dev.c:626 [inline] dtioctl(11e60,80184404,ffff80002a782db0,1,ffff80002a766a70) at dtioctl+0x5d4 sys/dev/dt/dt_dev.c:328 VOP_IOCTL(fffffc006c57c2b0,80184404,ffff80002a782db0,1,fffffc0007ffd5b0,ffff80002a766a70) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffffc006d1984b0,80184404,ffff80002a782db0,ffff80002a766a70) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537 sys_ioctl(ffff80002a766a70,ffff80002a782f80,ffff80002a782ed0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff80002a782f80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a782f80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf32e1795f40, count: -6 ddb>