uvm_fault(0xfffffd807effe5a0, 0x9f, 0, 2) -> e kernel: page fault trap, code=0 Stopped at wsmux_detach_sc+0xcc: movq %rcx,0(%rax) ddb{1}> ddb{1}> set $lines = 0 ddb{1}> show panic kernel page fault uvm_fault(0xfffffd807effe5a0, 0x9f, 0, 2) -> e wsmux_detach_sc(ffff80000001ce00) at wsmux_detach_sc+0xcc sys/dev/wscons/wsmux.c:696 end trace frame: 0xffff800020c81330, count: 0 ddb{1}> trace wsmux_detach_sc(ffff80000001ce00) at wsmux_detach_sc+0xcc sys/dev/wscons/wsmux.c:696 wskbdopen(4300,81,2000,ffff800020b82270) at wskbdopen+0xe9 sys/dev/wscons/wskbd.c:821 spec_open(ffff800020c813b0) at spec_open+0x217 sys/kern/spec_vnops.c:158 VOP_OPEN(fffffd80663f4020,81,fffffd807f7c7a20,ffff800020b82270) at VOP_OPEN+0x76 sys/kern/vfs_vops.c:153 vn_open(ffff800020c815a0,81,0) at vn_open+0x4c6 sys/kern/vfs_vnops.c:174 doopenat(ffff800020b82270,ffffff9c,200000c0,80,0,ffff800020c817e0) at doopenat+0x2be sys/kern/vfs_syscalls.c:1045 syscall(ffff800020c81890) at syscall+0x5ac mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c81890) at syscall+0x5ac sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffffae,0,4,695742de010) at Xsyscall+0x128 end of kernel end trace frame: 0x6981ed768c0, count: -8 ddb{1}> show registers rdi 0xffffffff81651aa9 spllower+0x79 rsi 0x472 rbp 0xffff800020c812d0 rbx 0 rdx 0x473 rcx 0xffffffffffffffff rax 0x9f r8 0 r9 0x1 r10 0xffffffff r11 0x5f367eff8a57c2b9 r12 0xffff800000026fb8 r13 0x1708 __ALIGN_SIZE+0x708 r14 0xffff80000001ce00 r15 0x1 rip 0xffffffff81b820cc wsmux_detach_sc+0xcc cs 0x8 rflags 0x10286 __ALIGN_SIZE+0xf286 rsp 0xffff800020c812a0 ss 0x10 wsmux_detach_sc+0xcc: movq %rcx,0(%rax) ddb{1}> show proc PROC (syz-executor0) pid=355879 stat=onproc flags process=0 proc=4000000 pri=0, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff800020b82978,0xffff800020b83090 process=0xffff800020b85a50 user=0xffff800020c7c000, vmspace=0xfffffd807effe5a0 estcpu=29, cpticks=0, pctcpu=1.92 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 34014 255658 56024 0 7 0 syz-executor0 *34014 355879 56024 0 7 0x4000000 syz-executor0 34014 220479 56024 0 2 0x4000000 syz-executor0 34014 186298 56024 0 3 0x4000080 fsleep syz-executor0 46398 184854 0 0 3 0x14200 bored sosplice 62541 360030 67786 0 3 0x2 biowait syz-executor1 56024 193399 67786 0 3 0x82 nanosleep syz-executor0 67786 269322 32924 0 3 0x82 thrsleep syz-fuzzer 67786 194019 32924 0 3 0x4000082 nanosleep syz-fuzzer 67786 239680 32924 0 3 0x4000082 thrsleep syz-fuzzer 67786 217762 32924 0 3 0x4000082 thrsleep syz-fuzzer 67786 357594 32924 0 3 0x4000082 thrsleep syz-fuzzer 67786 297167 32924 0 3 0x4000082 thrsleep syz-fuzzer 67786 127113 32924 0 3 0x4000082 thrsleep syz-fuzzer 67786 277198 32924 0 3 0x4000082 thrsleep syz-fuzzer 67786 454196 32924 0 3 0x4000082 kqread syz-fuzzer 67786 236043 32924 0 3 0x4000082 thrsleep syz-fuzzer 32924 308588 87301 0 3 0x10008a pause ksh 87301 389717 80723 0 3 0x92 select sshd 92447 40521 1 0 3 0x100083 ttyin getty 80723 127510 1 0 3 0x80 select sshd 61780 155177 79847 73 2 0x100090 syslogd 79847 372301 1 0 3 0x100082 netio syslogd 95639 365901 1 77 3 0x100090 poll dhclient 84903 411010 1 0 3 0x80 poll dhclient 34859 17450 0 0 3 0x14200 pgzero zerothread 94675 290683 0 0 3 0x14200 aiodoned aiodoned 33448 378467 0 0 3 0x14200 syncer update 33844 91939 0 0 3 0x14200 cleaner cleaner 71596 142895 0 0 3 0x14200 reaper reaper 34096 39146 0 0 3 0x14200 pgdaemon pagedaemon 44920 105726 0 0 3 0x14200 bored crynlk 28492 357169 0 0 3 0x14200 bored crypto 39600 390173 0 0 3 0x40014200 acpi0 acpi0 30364 311416 0 0 3 0x40014200 idle1 53565 72038 0 0 3 0x14200 bored softnet 71723 261018 0 0 3 0x14200 bored systqmp 29053 244966 0 0 3 0x14200 bored systq 16965 256617 0 0 3 0x40014200 bored softclock 32207 309593 0 0 3 0x40014200 idle0 1 178837 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 34014 (syz-executor0) thread 0xffff800020b82270 (355879) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8234c220) locked @ /syzkaller/managers/multicore/kernel/sys/arch/amd64/amd64/trap.c:161 Process 62541 (syz-executor1) thread 0xffff800020b64260 (360030) exclusive rrwlock inode r = 0 (0xfffffd8069dd02c8) locked @ /syzkaller/managers/multicore/kernel/sys/ufs/ufs/ufs_vnops.c:1547 exclusive rrwlock inode r = 0 (0xfffffd8069dd0e78) locked @ /syzkaller/managers/multicore/kernel/sys/ufs/ufs/ufs_vnops.c:1547 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9476 6342K 6350K 78643K 10635 0 0 pcb 23 9K 10K 78643K 166 0 0 rtable 100 3K 4K 78643K 192 0 0 ifaddr 43 11K 11K 78643K 55 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 2K 78643K 15 0 0 iov 0 0K 16K 78643K 41 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1199 75K 75K 78643K 1344 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 6 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 0K 0K 78643K 20 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1792 194K 288K 78643K 12592 0 0 file desc 5 13K 25K 78643K 248 0 0 sigio 0 0K 0K 78643K 6 0 0 proc 41 38K 70K 78643K 281 0 0 subproc 64 65538K 67586K 78643K 68 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 19 0 0 in_multi 33 2K 2K 78643K 36 0 0 ether_multi 1 0K 0K 78643K 1 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 48 212K 212K 78643K 48 0 0 exec 0 0K 1K 78643K 171 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 77 20K 21K 78643K 1532 0 0 UVM aobj 9 2K 2K 78643K 9 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 15 0 0 NDP 7 0K 0K 78643K 14 0 0 temp 111 2356K 2425K 78643K 3349 0 0 kqueue 0 0K 0K 78643K 8 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 4 0 0 1 0 1 1 0 8 0 inpcbpl 280 142 0 135 1 0 1 1 0 8 0 plimitpl 152 16 0 9 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtentry 112 41 0 1 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 44 0 40 1 0 1 1 0 8 0 nd6 48 4 0 0 1 0 1 1 0 8 0 ppxss 1128 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 185 0 0 12 0 12 12 0 8 0 art_table 32 186 0 0 2 0 2 2 0 8 0 art_node 16 40 0 6 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 4 1 0 1 1 0 8 0 semupl 112 2 0 2 2 1 1 1 0 8 1 semapl 112 18 0 8 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1844 0 461 45 0 45 45 0 8 0 ffsino 272 1844 0 461 93 0 93 93 0 8 0 nchpl 144 2381 0 796 59 0 59 59 0 8 0 uvmvnodes 72 1909 0 0 35 0 35 35 0 8 0 vnodes 200 1909 0 0 101 0 101 101 0 8 0 namei 1024 5846 0 5846 3 2 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 5960 0 5959 11 10 1 6 0 8 0 sigapl 432 415 0 402 2 0 2 2 0 8 0 futexpl 56 2855 0 2854 1 0 1 1 0 8 0 knotepl 112 141 0 114 2 1 1 2 0 8 0 kqueuepl 104 99 0 96 1 0 1 1 0 8 0 pipepl 112 268 0 245 3 2 1 2 0 8 0 fdescpl 488 416 0 402 3 1 2 3 0 8 0 filepl 152 2370 0 2269 7 2 5 5 0 8 1 lockfpl 104 82 0 81 3 2 1 1 0 8 0 lockfspl 32 117 0 116 3 2 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 25 0 15 1 0 1 1 0 8 0 ucredpl 96 466 0 459 1 0 1 1 0 8 0 zombiepl 144 402 0 402 2 1 1 1 0 8 1 processpl 840 431 0 402 4 0 4 4 0 8 0 procpl 600 939 0 898 4 0 4 4 0 8 0 sosppl 128 7 0 7 2 1 1 1 0 8 1 sockpl 384 282 0 265 4 1 3 3 0 8 1 mcl64k 65536 267 0 0 34 0 34 34 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 120 0 0 14 0 14 14 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 359 0 0 22 0 22 22 0 8 0 bufpl 256 5399 0 968 277 0 277 277 0 8 0 anonpl 16 54230 0 46659 48 5 43 47 0 125 12 amapchunkpl 152 2202 0 2112 9 5 4 9 0 158 0 amappl16 192 2150 0 1755 34 9 25 32 0 8 4 amappl15 184 108 0 105 1 0 1 1 0 8 0 amappl14 176 4 0 3 2 1 1 1 0 8 0 amappl13 168 19 0 16 1 0 1 1 0 8 0 amappl12 160 19 0 17 1 0 1 1 0 8 0 amappl11 152 188 0 179 1 0 1 1 0 8 0 amappl10 144 61 0 57 1 0 1 1 0 8 0 amappl9 136 336 0 335 1 0 1 1 0 8 0 amappl8 128 146 0 125 1 0 1 1 0 8 0 amappl7 120 35 0 29 1 0 1 1 0 8 0 amappl6 112 45 0 38 1 0 1 1 0 8 0 amappl5 104 133 0 121 1 0 1 1 0 8 0 amappl4 96 403 0 379 2 1 1 2 0 8 0 amappl3 88 145 0 140 1 0 1 1 0 8 0 amappl2 80 3002 0 2947 2 0 2 2 0 8 0 amappl1 72 17340 0 16917 24 14 10 19 0 8 0 amappl 72 1169 0 1134 1 0 1 1 0 75 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 dma64 64 259 0 259 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 8 0 0 1 0 1 1 0 8 0 uaddrrnd 24 416 0 402 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 416 0 402 1 0 1 1 0 8 0 vmmpekpl 168 7234 0 7211 2 0 2 2 0 8 0 vmmpepl 168 51299 0 49960 85 19 66 71 0 357 3 vmsppl 360 415 0 402 2 0 2 2 0 8 0 pdppl 4096 840 0 804 6 1 5 6 0 8 0 pvpl 32 167869 0 156297 128 10 118 122 0 265 24 pmappl 224 415 0 402 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 471 0 5 14 0 14 14 0 8 0