Messages in this thread | | | Date | Mon, 10 Oct 2011 09:04:43 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH] x86: Fix insn decoder for longer instruction |
| |
* Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> wrote:
> Fix x86 insn decoder for hardening against invalid length > instructions. This adds length checkings for each byte-read > site and if it exceeds MAX_INSN_SIZE, returns immediately. > This can happen when decoding user-space binary. > > Caller can check whether it happened by checking insn.*.got > member is set or not.
Thanks.
We really need the /dev/urandom based build-time tester as well.
Thanks,
Ingo
| |