diff options
author | Tony Luck <tony.luck@intel.com> | 2022-04-19 23:19:21 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-04-22 16:52:27 +0200 |
commit | ab59c89396c007c360b1a4d762732d1621ff5456 (patch) | |
tree | a8dda876419c7a5189c32ce64440075534869f2e /mm/memory-failure.c | |
parent | ACPI: APEI: Fix missing ERST record id (diff) | |
download | linux-ab59c89396c007c360b1a4d762732d1621ff5456.tar.xz linux-ab59c89396c007c360b1a4d762732d1621ff5456.zip |
ACPI, APEI, EINJ: Refuse to inject into the zero page
Some validation tests dynamically inject errors into memory used by
applications to check that the system can recover from a variety of
poison consumption sceenarios.
But sometimes the virtual address picked by these tests is mapped to
the zero page.
This causes additional unexpected machine checks as other processes that
map the zero page also consume the poison.
Disallow injection to the zero page.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions