kvm/arm64: send SIGKILL if ring0.El0SyncInv has been triggered

Linux does the same thing.

PiperOrigin-RevId: 722789748
This commit is contained in:
Andrei Vagin
2025-02-03 14:07:09 -08:00
committed by gVisor bot
parent 3754522ab7
commit bd0dbf9b11
2 changed files with 3 additions and 2 deletions
@@ -327,7 +327,8 @@ func (c *vCPU) SwitchToUser(switchOpts ring0.SwitchOpts, info *linux.SignalInfo)
return c.fault(int32(unix.SIGBUS), info)
case ring0.Vector(bounce): // ring0.VirtualizationException.
return hostarch.NoAccess, platform.ErrContextInterrupt
case ring0.El0SyncUndef:
case ring0.El0SyncUndef,
ring0.El0SyncInv:
return c.fault(int32(unix.SIGILL), info)
case ring0.El0SyncDbg:
*info = linux.SignalInfo{