# Re: \[PATCH v7 5/6\] x86/signal: Detect and prevent an alternate signal stack overflow

- From: Andy Lutomirski \<luto@kernel.org\>
- Date: 2021-03-26 05:00:21 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2021/03/6316157
- Thread: https://ratatoskr.run/linux-arch/2021/03/6302822/t.md

```text
I forgot to mention why I cc'd all you fine Xen folk:

On Thu, Mar 25, 2021 at 11:13 AM Andy Lutomirski [ref] wrote:

>
> >         } else if (IS_ENABLED(CONFIG_X86_32) &&
> >                    !onsigstack &&
> >                    regs->ss != __USER_DS &&

This bit here seems really dubious on Xen PV.  Honestly it seems
dubious everywhere, but especially on Xen PV.

--Andy
```
