[PATCH 3.19 v3 0/2] x86, mpx: Instruction decoder fixes and hardening

From: Andy Lutomirski
Date: Mon Jan 12 2015 - 21:11:22 EST


Hi all-

Sorry, this is later than I had hoped to send this. This series has
three minor fixes for mpx and the instruction decoder.

Changes from v2:
- Dropped patch 1 (fixed in tip separately)
- Fixed comment typoes in patch 2 (noticed by Dave)

Changes from v1:
- Dropped the TIF_IA32 change -- let's defer that until at least 3.20.
- Fixed the MPX decode short-circuit. v1 was buggy.
- Patch 3 is new. It fixes a minor regression from the MPX work.

Andy Lutomirski (2):
x86, mpx: Short-circuit the instruction decoder for unexpected opcodes
x86: Enforce MAX_INSN_SIZE in the instruction decoder

arch/x86/lib/insn.c | 7 +++++++
arch/x86/mm/mpx.c | 25 ++++++++++++++++---------
2 files changed, 23 insertions(+), 9 deletions(-)

--
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/