[PATCH v2] arm64: signal: Ensure signal delivery failure is recoverable

Catalin Marinas catalin.marinas at arm.com
Fri Dec 13 06:55:19 PST 2024


On Tue, 10 Dec 2024 16:09:40 +0000, Kevin Brodsky wrote:
> Commit eaf62ce1563b ("arm64/signal: Set up and restore the GCS
> context for signal handlers") introduced a potential failure point
> at the end of setup_return(). This is unfortunate as it is too late
> to deliver a SIGSEGV: if that SIGSEGV is handled, the subsequent
> sigreturn will end up returning to the original handler, which is
> not the intention (since we failed to deliver that signal).
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: signal: Ensure signal delivery failure is recoverable
      https://git.kernel.org/arm64/c/a3b4647e2f9a

-- 
Catalin




More information about the linux-arm-kernel mailing list