diff options
author | Marc Zyngier <maz@kernel.org> | 2025-08-17 21:21:55 +0100 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2025-08-21 16:28:46 -0700 |
commit | 9049fb1227a2d1ab8515788c8553232966380248 (patch) | |
tree | 6fd471a4bf4f8caec117e5b1bada37528f181274 /net/unix/af_unix.c | |
parent | d7b3e23f945b36aec3938e5ea954bc125f38562e (diff) |
KVM: arm64: Ignore HCR_EL2.FIEN set by L1 guest's EL2
An EL2 guest can set HCR_EL2.FIEN, which gives access to the RASv1p1
fault injection mechanism. This would allow an EL1 guest to inject
error records into the system, which does sound like a terrible idea.
Prevent this situation by added FIEN to the list of bits we silently
exclude from being inserted into the host configuration.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Link: https://lore.kernel.org/r/20250817202158.395078-4-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions