login: uvm_fault(0xffffffff82783b08, 0xffff80012a2d95b0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at spllower+0x34: movq 0x5c0(%r12,%rax,8),%rbx ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic kernel page fault uvm_fault(0xffffffff82783b08, 0xffff80012a2d95b0, 0, 1) -> e spllower(ffff8000212ae000) at spllower+0x34 sys/arch/amd64/amd64/intr.c:716 end trace frame: 0xffff8000222b37b0, count: 0 ddb{1}> trace spllower(ffff8000212ae000) at spllower+0x34 sys/arch/amd64/amd64/intr.c:716 single_thread_check_locked(ffff80002123d728,0) at single_thread_check_locked+0x196 sys/kern/kern_sig.c:1970 userret(ffff80002123d728) at userret+0x335 single_thread_check sys/kern/kern_sig.c:1991 [inline] userret(ffff80002123d728) at userret+0x335 sys/kern/kern_sig.c:1936 syscall(ffff8000222b38e0) at syscall+0x55c mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff8000222b38e0) at syscall+0x55c sys/arch/amd64/amd64/trap.c:612 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd10c937e9d0, count: -5 ddb{1}> show registers rdi 0xffff8000212ae000 rsi 0x9d9 rbp 0xffff8000222b3750 rbx 0x1000 __ALIGN_SIZE rdx 0xffff8000212ae000 rcx 0x9d8 rax 0x212ae000 r8 0xffffffff82232a30 setrunnable+0xa0 r9 0x5 r10 0x6175e8ecd4ef0dbc r11 0x16a1058c94324670 r12 0xffff800020d68ff0 r13 0x1 r14 0x212ae000 r15 0xffff80002123d728 rip 0xffffffff8211a034 spllower+0x34 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000222b3700 ss 0x10 spllower+0x34: movq 0x5c0(%r12,%rax,8),%rbx ddb{1}> show proc PROC (syz-executor.0) pid=465948 stat=onproc flags process=1000 proc=4080000 pri=32, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80002123d9b8,0xffffffff828b7e20 process=0xffff8000212358d0 user=0xffff8000222ae000, vmspace=0xfffffd807eff8730 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 30895 255368 18803 0 7 0x3000 syz-executor.0 *30895 465948 18803 0 7 0x4081000 syz-executor.0 18803 151667 45202 0 3 0x82 nanosleep syz-executor.0 45202 50252 33978 0 3 0x82 thrsleep syz-fuzzer 45202 282555 33978 0 3 0x4000082 nanosleep syz-fuzzer 45202 475141 33978 0 3 0x4000082 thrsleep syz-fuzzer 45202 86390 33978 0 3 0x4000082 thrsleep syz-fuzzer 45202 352220 33978 0 3 0x4000082 thrsleep syz-fuzzer 45202 323278 33978 0 3 0x4000082 thrsleep syz-fuzzer 45202 362539 33978 0 3 0x4000082 nanosleep syz-fuzzer 45202 341152 33978 0 3 0x4000082 kqread syz-fuzzer 33978 41651 52814 0 3 0x10008a pause ksh 52814 366990 20531 0 3 0x92 select sshd 42189 86966 1 0 3 0x100083 ttyin getty 20531 423465 1 0 3 0x80 select sshd 72579 432960 90354 74 3 0x100092 bpf pflogd 90354 231307 1 0 3 0x80 netio pflogd 5184 484924 42001 73 3 0x100090 kqread syslogd 42001 436460 1 0 3 0x100082 netio syslogd 37841 393661 1 77 3 0x100090 poll dhclient 62838 343837 1 0 3 0x80 poll dhclient 7622 222098 0 0 3 0x14200 bored smr 64548 26108 0 0 3 0x14200 pgzero zerothread 15105 349628 0 0 3 0x14200 aiodoned aiodoned 5508 488642 0 0 3 0x14200 syncer update 68842 68328 0 0 3 0x14200 cleaner cleaner 70767 67491 0 0 3 0x14200 reaper reaper 7097 421758 0 0 3 0x14200 pgdaemon pagedaemon 87122 390699 0 0 3 0x14200 bored crynlk 99602 37665 0 0 3 0x14200 bored crypto 97981 516874 0 0 3 0x14200 bored viomb 19138 90902 0 0 3 0x40014200 acpi0 acpi0 31989 410135 0 0 3 0x40014200 idle1 69441 467895 0 0 3 0x14200 bored softnet 13280 479851 0 0 3 0x14200 bored systqmp 15591 397984 0 0 3 0x14200 bored systq 70992 63192 0 0 3 0x40014200 bored softclock 65338 155942 0 0 3 0x40014200 idle0 1 133089 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 30895 (syz-executor.0) thread 0xffff80002123d728 (465948) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff828b8038) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176 #1 kpageflttrap+0x23f sys/arch/amd64/amd64/trap.c:277 #2 kerntrap+0xef sys/arch/amd64/amd64/trap.c:321 #3 alltraps_kern_meltdown+0x7b #4 spllower+0x34 sys/arch/amd64/amd64/intr.c:716 #5 single_thread_check_locked+0x196 sys/kern/kern_sig.c:1970 #6 userret+0x335 single_thread_check sys/kern/kern_sig.c:1991 [inline] #6 userret+0x335 sys/kern/kern_sig.c:1936 #7 syscall+0x55c mi_syscall_return sys/sys/syscall_mi.h:129 [inline] #7 syscall+0x55c sys/arch/amd64/amd64/trap.c:612 #8 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9479 6413K 6413K 78643K 10569 0 pcb 13 8K 8K 78643K 13 0 rtable 83 2K 2K 78643K 163 0 ifaddr 37 9K 9K 78643K 38 0 counters 41 33K 33K 78643K 41 0 ioctlops 0 0K 4K 78643K 1468 0 mount 1 1K 1K 78643K 1 0 vnodes 1200 75K 75K 78643K 1205 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1825 197K 290K 78643K 13109 0 file desc 3 8K 12K 78643K 18 0 proc 59 63K 83K 78643K 407 0 subproc 16 1K 1K 78643K 17 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 22 1K 1K 78643K 22 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 19 95K 95K 78643K 19 0 exec 0 0K 2K 78643K 336 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 60 11K 11K 78643K 695 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 7 0K 0K 78643K 7 0 temp 45 3954K 4017K 78643K 1913 0 kqueue 3 4K 4K 78643K 3 0 SYN cache 2 16K 16K 78643K 2 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 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 120 17 0 15 1 0 1 1 0 8 0 rtentry 112 34 0 1 1 0 1 1 0 8 0 unpcb 120 25 0 15 1 0 1 1 0 8 0 syncache 296 4 0 4 1 0 1 1 0 8 1 tcpcb 736 10 0 4 1 0 1 1 0 8 0 inpcb 296 35 0 29 1 0 1 1 0 8 0 nd6 48 3 0 0 1 0 1 1 0 8 0 kcovpl 48 1 0 0 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 10 0 0 1 0 1 1 0 8 0 pfstkey 112 10 0 0 1 0 1 1 0 8 0 pfstate 328 10 0 0 1 0 1 1 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 145 0 0 10 0 10 10 0 8 0 art_table 32 146 0 0 2 0 2 2 0 8 0 art_node 16 33 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1421 0 22 88 0 88 88 0 8 0 ffsino 272 1421 0 22 94 0 94 94 0 8 0 nchpl 144 1636 0 38 60 0 60 60 0 8 0 uvmvnodes 72 1448 0 0 27 0 27 27 0 8 0 vnodes 208 1448 0 0 77 0 77 77 0 8 0 namei 1024 4118 0 4118 1 0 1 1 0 8 1 percpumem 16 31 0 0 1 0 1 1 0 8 0 scxspl 216 4806 0 4806 2 1 1 2 0 8 1 plimitpl 152 14 0 7 1 0 1 1 0 8 0 sigapl 424 239 0 208 4 0 4 4 0 8 0 futexpl 56 2 0 2 1 0 1 1 0 8 1 knotepl 112 62 0 50 1 0 1 1 0 8 0 kqueuepl 152 2 0 0 1 0 1 1 0 8 0 pipepl 304 76 0 68 1 0 1 1 0 8 0 fdescpl 496 223 0 208 3 0 3 3 0 8 0 filepl 152 1055 0 979 4 0 4 4 0 8 1 lockfpl 104 5 0 4 1 0 1 1 0 8 0 lockfspl 48 3 0 2 1 0 1 1 0 8 0 sessionpl 144 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 53 0 44 1 0 1 1 0 8 0 zombiepl 144 208 0 208 1 0 1 1 0 8 1 processpl 1056 239 0 208 3 0 3 3 0 8 0 procpl 656 247 0 208 4 0 4 4 0 8 0 sockpl 400 77 0 59 3 0 3 3 0 8 1 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 92 0 0 12 0 12 12 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 112 0 0 7 0 7 7 0 8 0 bufpl 280 3529 0 181 240 0 240 240 0 8 0 anonpl 16 24256 0 22032 16 1 15 15 0 124 5 amapchunkpl 152 846 0 771 6 1 5 5 0 158 1 amappl16 192 168 0 107 4 0 4 4 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 22 0 18 1 0 1 1 0 8 0 amappl13 168 23 0 19 1 0 1 1 0 8 0 amappl12 160 12 0 10 1 0 1 1 0 8 0 amappl11 152 58 0 41 1 0 1 1 0 8 0 amappl10 144 9 0 5 1 0 1 1 0 8 0 amappl9 136 386 0 386 1 0 1 1 0 8 1 amappl8 128 90 0 74 1 0 1 1 0 8 0 amappl7 120 233 0 227 1 0 1 1 0 8 0 amappl6 112 62 0 52 1 0 1 1 0 8 0 amappl5 104 362 0 344 1 0 1 1 0 8 0 amappl4 96 277 0 250 1 0 1 1 0 8 0 amappl3 88 115 0 107 1 0 1 1 0 8 0 amappl2 80 953 0 891 2 0 2 2 0 8 0 amappl1 72 15102 0 14641 24 5 19 19 0 8 9 amappl 80 469 0 439 1 0 1 1 0 84 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 64 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 223 0 208 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 223 0 208 1 0 1 1 0 8 0 vmmpekpl 168 6008 0 5985 2 0 2 2 0 8 0 vmmpepl 168 33314 0 32188 79 3 76 76 0 357 26 vmsppl 368 222 0 208 2 0 2 2 0 8 0 pdppl 4096 453 0 416 53 12 41 41 0 8 4 pvpl 32 117458 0 112294 119 0 119 119 0 265 76 pmappl 232 222 0 208 1 0 1 1 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 281 0 15 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff826b8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828b7e30) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b7e30) at __mp_lock+0x122 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828b7e30,1) at __mp_acquire_count+0x4c sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x390 sys/kern/sched_bsd.c:433 sleep_finish(ffff80002129f250,1) at sleep_finish+0x111 sys/kern/kern_synch.c:418 single_thread_set(ffff80002123d9b8,3,0) at single_thread_set+0x3f4 single_thread_wait sys/kern/kern_sig.c:2112 [inline] single_thread_set(ffff80002123d9b8,3,0) at single_thread_set+0x3f4 sys/kern/kern_sig.c:2092 exit1(ffff80002123d9b8,0,0,1) at exit1+0x98 sys/kern/kern_exit.c:138 sys_exit(ffff80002123d9b8,ffff80002129f390,ffff80002129f3e0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80002129f460) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002129f460) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcfc20, count: -12 ddb{0}> machine ddbcpu 1 Stopped at spllower+0x34: movq 0x5c0(%r12,%rax,8),%rbx ddb{1}> trace spllower(ffff8000212ae000) at spllower+0x34 sys/arch/amd64/amd64/intr.c:716 single_thread_check_locked(ffff80002123d728,0) at single_thread_check_locked+0x196 sys/kern/kern_sig.c:1970 userret(ffff80002123d728) at userret+0x335 single_thread_check sys/kern/kern_sig.c:1991 [inline] userret(ffff80002123d728) at userret+0x335 sys/kern/kern_sig.c:1936 syscall(ffff8000222b38e0) at syscall+0x55c mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff8000222b38e0) at syscall+0x55c sys/arch/amd64/amd64/trap.c:612 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd10c937e9d0, count: -5