uvm_fault(0xfffffd803f014318, 0x28, 0, 2) -> e kernel: page fault trap, code=0 Stopped at wsmux_do_ioctl+0x6ba: movq %rax,0x10(%rdx,%r15,8) ddb> ddb> set $lines = 0 ddb> show panic kernel page fault uvm_fault(0xfffffd803f014318, 0x28, 0, 2) -> e wsmux_do_ioctl(4e451b88c8eb707d,80185760,fffffd802c708e88,3,fffffd803f7c7ba0) at wsmux_do_ioctl+0x6ba sys/dev/wscons/wsmux.c:404 end trace frame: 0xffff800014a38ba0, count: 0 ddb> trace wsmux_do_ioctl(4e451b88c8eb707d,80185760,fffffd802c708e88,3,fffffd803f7c7ba0) at wsmux_do_ioctl+0x6ba sys/dev/wscons/wsmux.c:404 VOP_IOCTL(771fd254cb66f22,80185760,fffffd803483f448,ffff8000ffff4278,fffffd802c708e88,ffff8000ffff4278) at VOP_IOCTL+0x80 sys/kern/vfs_vops.c:290 vn_ioctl(6eeab9f1c5b84aa5,fffffd803483f448,ffff8000ffff4278,18) at vn_ioctl+0xc5 sys/kern/vfs_vnops.c:512 sys_ioctl(67699dd023042dc4,0,ffff8000ffff4278) at sys_ioctl+0x639 syscall(d62525a5bc1285b3) at syscall+0x528 Xsyscall(6,0,ffffffffffffff89,0,3,24b0406a010) at Xsyscall+0x128 end of kernel end trace frame: 0x24d2b4a2760, count: -6 ddb> show registers rdi 0xff rsi 0x2 rbp 0xffff800014a38b20 rbx 0x2 rdx 0 rcx 0x1 rax 0 r8 0xffffffff817337a0 wsmux_do_ioctl+0x1e0 r9 0x7 r10 0x7cd31dcce6e73ab4 r11 0x830e3e5088c1c2a5 r12 0xffff800000669150 r13 0x1 r14 0xffff800014a38cd0 r15 0x3 rip 0xffffffff81733c7a wsmux_do_ioctl+0x6ba cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff800014a38ad0 ss 0x10 wsmux_do_ioctl+0x6ba: movq %rax,0x10(%rdx,%r15,8) ddb> show proc PROC (syz-executor1) pid=360441 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff4980,0xffff8000ffff4e40 process=0xffff8000149b2020 user=0xffff800014a33000, vmspace=0xfffffd803f014318 estcpu=36, cpticks=68, pctcpu=0.35 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 29322 191751 57706 0 2 0 syz-executor1 *29322 360441 57706 0 7 0x4000000 syz-executor1 29322 364482 57706 0 3 0x4000080 fsleep syz-executor1 15277 304177 1 0 3 0x100083 ttyin getty 57706 506078 88736 0 3 0x82 nanosleep syz-executor1 43823 320509 88736 0 3 0x2 biowait syz-executor0 49990 99688 0 0 3 0x14200 bored sosplice 88736 490226 30750 0 3 0x82 thrsleep syz-fuzzer 88736 471245 30750 0 3 0x4000082 nanosleep syz-fuzzer 88736 130703 30750 0 3 0x4000082 thrsleep syz-fuzzer 88736 161646 30750 0 3 0x4000082 kqread syz-fuzzer 88736 396363 30750 0 3 0x4000082 thrsleep syz-fuzzer 88736 520962 30750 0 3 0x4000082 thrsleep syz-fuzzer 88736 86074 30750 0 3 0x4000082 thrsleep syz-fuzzer 88736 120416 30750 0 3 0x4000082 thrsleep syz-fuzzer 30750 408000 85727 0 3 0x10008a pause ksh 85727 488047 76698 0 3 0x92 select sshd 76698 339153 1 0 3 0x80 select sshd 19180 313023 61245 73 2 0x100090 syslogd 61245 256052 1 0 3 0x100082 netio syslogd 2795 80446 1 77 3 0x100090 poll dhclient 86888 58334 1 0 3 0x80 poll dhclient 64429 496235 0 0 3 0x14200 pgzero zerothread 48175 20303 0 0 3 0x14200 aiodoned aiodoned 98612 24207 0 0 3 0x14200 syncer update 59668 337239 0 0 3 0x14200 cleaner cleaner 80849 66323 0 0 3 0x14200 reaper reaper 50094 108602 0 0 3 0x14200 pgdaemon pagedaemon 92628 367292 0 0 3 0x14200 bored crynlk 27711 315335 0 0 3 0x14200 bored crypto 4689 103398 0 0 3 0x40014200 acpi0 acpi0 41336 398778 0 0 3 0x14200 bored softnet 62016 66392 0 0 3 0x14200 bored systqmp 15909 124614 0 0 3 0x14200 bored systq 54078 83983 0 0 3 0x40014200 bored softclock 24132 220707 0 0 3 0x40014200 idle0 1 83049 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 Kern Lim devbuf 9519 6351K 6359K 78643K 11787 0 0 pcb 23 9K 11K 78643K 2689 0 0 rtable 100 3K 3K 78643K 808 0 0 ifaddr 58 14K 15K 78643K 391 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 48 0 0 iov 0 0K 16K 78643K 582 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1188 74K 76K 78643K 4561 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 9K 78643K 84 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 0K 78643K 453 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1777 193K 286K 78643K 12501 0 0 file desc 5 13K 25K 78643K 5043 0 0 sigio 0 0K 0K 78643K 88 0 0 proc 42 30K 54K 78643K 1153 0 0 subproc 64 65538K 67586K 78643K 182 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 708 0 0 in_multi 33 2K 2K 78643K 233 0 0 ether_multi 1 0K 0K 78643K 18 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 138 609K 609K 78643K 138 0 0 exec 0 0K 1K 78643K 560 0 0 pfkey data 0 0K 4K 78643K 6 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 114 22K 40K 78643K 13064 0 0 UVM aobj 130 6K 6K 78643K 146 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 153 0 0 NDP 12 0K 0K 78643K 113 0 0 temp 170 2347K 2417K 78643K 16200 0 0 kqueue 0 0K 0K 78643K 54 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 7 0 3 1 0 1 1 0 8 0 inpcbpl 280 2245 0 2238 1 0 1 1 0 8 0 plimitpl 152 77 0 70 1 0 1 1 0 8 0 rtentry 112 68 0 28 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 544 799 0 795 1 0 1 1 0 8 0 nd6 48 10 0 6 1 0 1 1 0 8 0 ppxss 1128 56 0 56 20 20 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 320 0 133 12 0 12 12 0 8 0 art_table 32 321 0 133 2 0 2 2 0 8 0 art_node 16 67 0 33 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 2 1 0 1 1 0 8 0 semapl 112 451 0 441 1 0 1 1 0 8 0 shmpl 112 144 0 16 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 11329 0 9844 48 0 48 48 0 8 0 ffsino 240 11329 0 9844 88 0 88 88 0 8 0 nchpl 144 18774 0 17194 59 0 59 59 0 8 0 uvmvnodes 72 6454 0 0 118 0 118 118 0 8 0 vnodes 200 6454 0 0 340 0 340 340 0 8 0 namei 1024 59192 0 59192 4 3 1 1 0 8 1 scsiplug 64 13 0 13 11 11 0 1 0 8 0 scxspl 192 59813 0 59812 22 21 1 6 0 8 0 sigapl 432 5208 0 5195 2 0 2 2 0 8 0 futexpl 56 81928 0 81927 3 2 1 1 0 8 0 knotepl 112 1429 0 1402 13 12 1 2 0 8 0 kqueuepl 104 1649 0 1647 1 0 1 1 0 8 0 pipepl 112 3668 0 3649 16 14 2 2 0 8 1 fdescpl 424 5209 0 5195 2 0 2 2 0 8 0 filepl 120 34608 0 34512 12 8 4 6 0 8 0 lockfpl 96 1671 0 1671 5 4 1 1 0 8 1 lockfspl 24 2650 0 2650 5 4 1 1 0 8 1 sessionpl 112 27 0 17 1 0 1 1 0 8 0 pgrppl 48 81 0 71 1 0 1 1 0 8 0 ucredpl 96 11847 0 11840 1 0 1 1 0 8 0 zombiepl 144 5195 0 5195 2 1 1 1 0 8 1 processpl 840 5223 0 5195 5 1 4 4 0 8 0 procpl 600 12188 0 12151 5 1 4 4 0 8 0 sosppl 128 111 0 111 22 22 0 1 0 8 0 sockpl 384 4799 0 4782 10 7 3 4 0 8 1 mcl64k 65536 3411 0 3411 287 287 0 64 0 8 0 mcl16k 16384 17 0 17 15 15 0 1 0 8 0 mcl12k 12288 107 0 107 17 16 1 1 0 8 1 mcl9k 9216 95 0 95 21 20 1 1 0 8 1 mcl8k 8192 89 0 89 23 23 0 1 0 8 0 mcl4k 4096 235 0 235 14 13 1 1 0 8 1 mcl2k2 2112 37 0 37 18 18 0 1 0 8 0 mcl2k 2048 46929 0 46897 10 5 5 8 0 8 0 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 103643 0 103581 156 150 6 36 0 8 0 bufpl 256 16076 0 9611 405 0 405 405 0 8 0 anonpl 16 485550 0 478168 194 156 38 49 0 62 0 amapchunkpl 152 22589 0 22485 70 65 5 15 0 158 0 amappl16 192 31140 0 30760 228 208 20 33 0 8 0 amappl15 184 2341 0 2340 1 0 1 1 0 8 0 amappl14 176 199 0 194 2 1 1 1 0 8 0 amappl13 168 26 0 23 1 0 1 1 0 8 0 amappl12 160 13 0 13 2 2 0 1 0 8 0 amappl11 152 195 0 186 1 0 1 1 0 8 0 amappl10 144 69 0 67 2 1 1 1 0 8 0 amappl9 136 335 0 333 1 0 1 1 0 8 0 amappl8 128 219 0 176 3 1 2 2 0 8 0 amappl7 120 43 0 34 1 0 1 1 0 8 0 amappl6 112 244 0 233 1 0 1 1 0 8 0 amappl5 104 2529 0 2517 1 0 1 1 0 8 0 amappl4 96 1839 0 1819 2 1 1 2 0 8 0 amappl3 88 1424 0 1419 1 0 1 1 0 8 0 amappl2 80 50805 0 50754 2 0 2 2 0 8 0 amappl1 72 101183 0 100759 25 15 10 19 0 8 0 amappl 72 12487 0 12449 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 145 0 16 3 0 3 3 0 8 0 uaddrrnd 24 5209 0 5195 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5209 0 5195 1 0 1 1 0 8 0 vmmpekpl 168 42180 0 42158 2 0 2 2 0 8 0 vmmpepl 168 533519 0 532175 197 128 69 76 0 357 0 vmsppl 264 5208 0 5195 2 1 1 2 0 8 0 pdppl 4096 10424 0 10390 6 1 5 6 0 8 0 pvpl 32 1509674 0 1498703 598 425 173 231 0 265 78 pmappl 192 5208 0 5195 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 1027 0 499 21 3 18 18 0 8 0