Re: [PATCH 3.19 v4 2/2] x86: Enforce maximum instruction size in the instruction decoder

2015-01-27 Thread Andy Lutomirski
On Thu, Jan 15, 2015 at 5:02 PM, Masami Hiramatsu wrote: > (2015/01/16 0:22), Andy Lutomirski wrote: >> On Jan 15, 2015 4:37 AM, "Masami Hiramatsu" >> wrote: >>> >>> (2015/01/14 6:49), Andy Lutomirski wrote: x86 instructions cannot exceed 15 bytes, and the instruction decoder should enf

Re: [PATCH 3.19 v4 2/2] x86: Enforce maximum instruction size in the instruction decoder

2015-01-15 Thread Masami Hiramatsu
(2015/01/16 0:22), Andy Lutomirski wrote: > On Jan 15, 2015 4:37 AM, "Masami Hiramatsu" > wrote: >> >> (2015/01/14 6:49), Andy Lutomirski wrote: >>> x86 instructions cannot exceed 15 bytes, and the instruction decoder >>> should enforce that. Prior to 6ba48ff46f76, the instruction length >>> limi

Re: [PATCH 3.19 v4 2/2] x86: Enforce maximum instruction size in the instruction decoder

2015-01-15 Thread Andy Lutomirski
On Jan 15, 2015 4:37 AM, "Masami Hiramatsu" wrote: > > (2015/01/14 6:49), Andy Lutomirski wrote: > > x86 instructions cannot exceed 15 bytes, and the instruction decoder > > should enforce that. Prior to 6ba48ff46f76, the instruction length > > limit was implicitly set to 16, which was an approxi

Re: [PATCH 3.19 v4 2/2] x86: Enforce maximum instruction size in the instruction decoder

2015-01-15 Thread Masami Hiramatsu
(2015/01/14 6:49), Andy Lutomirski wrote: > x86 instructions cannot exceed 15 bytes, and the instruction decoder > should enforce that. Prior to 6ba48ff46f76, the instruction length > limit was implicitly set to 16, which was an approximation of 15, > but there is currently no limit at all. > > F

[PATCH 3.19 v4 2/2] x86: Enforce maximum instruction size in the instruction decoder

2015-01-13 Thread Andy Lutomirski
x86 instructions cannot exceed 15 bytes, and the instruction decoder should enforce that. Prior to 6ba48ff46f76, the instruction length limit was implicitly set to 16, which was an approximation of 15, but there is currently no limit at all. Fix the decoder to reject instructions that exceed 15 b