summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorPawan Gupta <pawan.kumar.gupta@linux.intel.com>2024-03-11 12:29:43 -0700
committerSasha Levin <sashal@kernel.org>2024-03-15 10:48:22 -0400
commit77018fb9efe50cf24e61275ee09253cf1fbb6854 (patch)
tree215f6218366f411d29b09c665f3303eb92837889 /init
parentddfd38558acc5b3891fd197372fedb76372da740 (diff)
downloadlinux-stable-77018fb9efe50cf24e61275ee09253cf1fbb6854.tar.gz
linux-stable-77018fb9efe50cf24e61275ee09253cf1fbb6854.tar.bz2
linux-stable-77018fb9efe50cf24e61275ee09253cf1fbb6854.zip
x86/rfds: Mitigate Register File Data Sampling (RFDS)
commit 8076fcde016c9c0e0660543e67bff86cb48a7c9c upstream. RFDS is a CPU vulnerability that may allow userspace to infer kernel stale data previously used in floating point registers, vector registers and integer registers. RFDS only affects certain Intel Atom processors. Intel released a microcode update that uses VERW instruction to clear the affected CPU buffers. Unlike MDS, none of the affected cores support SMT. Add RFDS bug infrastructure and enable the VERW based mitigation by default, that clears the affected buffers just before exiting to userspace. Also add sysfs reporting and cmdline parameter "reg_file_data_sampling" to control the mitigation. For details see: Documentation/admin-guide/hw-vuln/reg-file-data-sampling.rst Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions