Re: [PATCH] x86-64, espfix: Don't leak bits 31:16 of %esp returning to 16-bit stack

From: Linus Torvalds
Date: Tue Apr 29 2014 - 20:57:17 EST


On Tue, Apr 29, 2014 at 5:15 PM, H. Peter Anvin <hpa@xxxxxxxxxxxxxxx> wrote:
>
> Linus, this is technically a (functionality) regression fix. Will you
> want this for 3.15?

Too scary. If people complain, I think we should just replace the

if (!ldt_info.seg_32bit) {

with something like

if (!ldt_info.seg_32bit && !sysctl_allow_16bit_segments) {

and handle the regression that way.

Then, after way more testing, maybe we can backport the espfix thing.

Linus
--
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/