From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752883AbbALXET (ORCPT ); Mon, 12 Jan 2015 18:04:19 -0500 Received: from mail-yk0-f169.google.com ([209.85.160.169]:59759 "EHLO mail-yk0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752169AbbALXER (ORCPT ); Mon, 12 Jan 2015 18:04:17 -0500 From: Andy Lutomirski To: x86@kernel.org, linux-kernel@vger.kernel.org, Dave Hansen Cc: Masami Hiramatsu , Andy Lutomirski Subject: [PATCH 3.19 v2 0/3] x86, mpx: Instruction decoder fixes and hardening Date: Mon, 12 Jan 2015 15:04:08 -0800 Message-Id: X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 (3): x86: Fix off-by-one in the instruction decoder length checks x86, mpx: Short-circuit the instruction decoder for unexpected opcodes x86: Enforce MAX_INSN_SIZE in the instruction decoder arch/x86/lib/insn.c | 9 ++++++++- arch/x86/mm/mpx.c | 25 ++++++++++++++++--------- 2 files changed, 24 insertions(+), 10 deletions(-) -- 2.1.0