qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 0/4] linux-user: Fix siginfo_t contents when jumping to no


From: Richard Henderson
Subject: Re: [PATCH v5 0/4] linux-user: Fix siginfo_t contents when jumping to non-readable pages
Date: Wed, 17 Aug 2022 11:23:40 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 8/17/22 10:05, Ilya Leoshkevich wrote:
Hi,

I noticed that when we get a SEGV due to jumping to non-readable
memory, sometimes si_addr and program counter in siginfo_t are slightly
off. I tracked this down to the assumption that translators stop before
the end of a page, while in reality they may stop right after it.

Patch 1 fixes an invalidation issue, which may prevent SEGV from
happening altogether.
Patches 2-3 fix the main issue on x86_64 and s390x. Many other
architectures have fixed-size instructions and are not affected.
Patch 4 adds tests.

Note: this series depends on [1].

Hah. I was just thinking that I should queue your patch set to tcg-next-7.2, and then rebase my stuff off of that. It would ensure that I have your test cases in tree so that I don't keep regressing them on you. :-)

I'll cherry pick the one patch you're depending on.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]