]> git.baikalelectronics.ru Git - kernel.git/commit
x86/speculation/mmio: Enable CPU Fill buffer clearing on idle
authorPawan Gupta <pawan.kumar.gupta@linux.intel.com>
Fri, 20 May 2022 03:31:12 +0000 (20:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jun 2022 11:30:33 +0000 (13:30 +0200)
commitcdb291b2aa5d237840a4dee1e86dc341b61d5602
tree11fc35e2073292a96a2126ae61b85e5504d685a8
parent1315216f5e7552bbb288ea19796412435eaa2752
x86/speculation/mmio: Enable CPU Fill buffer clearing on idle

commit 66dc70090df1b007df8d63bc809f4d1f39def0b0 upstream

When the CPU is affected by Processor MMIO Stale Data vulnerabilities,
Fill Buffer Stale Data Propagator (FBSDP) can propagate stale data out
of Fill buffer to uncore buffer when CPU goes idle. Stale data can then
be exploited with other variants using MMIO operations.

Mitigate it by clearing the Fill buffer before entering idle state.

Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Co-developed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/bugs.c