diff options
author | Pawan Gupta <[email protected]> | 2024-03-11 12:29:43 -0700 |
---|---|---|
committer | Dave Hansen <[email protected]> | 2024-03-11 13:13:48 -0700 |
commit | 8076fcde016c9c0e0660543e67bff86cb48a7c9c (patch) | |
tree | b07933926b045b08a417655be3f4310cebdbb1a6 /include/linux/compiler_attributes.h | |
parent | 4e42765d1be01111df0c0275bbaf1db1acef346e (diff) |
x86/rfds: Mitigate Register File Data Sampling (RFDS)
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 <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions