diff options
author | 2021-06-23 14:01:37 +0200 | |
---|---|---|
committer | 2021-06-23 17:49:46 +0200 | |
commit | 947f4947cf00ea1e6d319eb182c64ea51ba4de8d (patch) | |
tree | dc834bb9da56410ced59d606f7340a4e0ab8cd2e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/fpu: Sanitize xstateregs_set() (diff) | |
download | wireguard-linux-947f4947cf00ea1e6d319eb182c64ea51ba4de8d.tar.xz wireguard-linux-947f4947cf00ea1e6d319eb182c64ea51ba4de8d.zip |
x86/fpu: Reject invalid MXCSR values in copy_kernel_to_xstate()
Instead of masking out reserved bits, check them and reject the provided
state as invalid if not zero.
Suggested-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210623121452.308388343@linutronix.de
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions