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

From: H. Peter Anvin
Date: Wed Apr 30 2014 - 12:18:55 EST


On 04/30/2014 03:38 AM, Borislav Petkov wrote:
>
> What will happen more likely and thus more often - our "simulated" #DF
> or a real one? Judging by the order of the tests, you're saying: the
> simulated one. :-)
>
> Otherwise, push the __KERNEL_CS test up?
>

Doesn't matter, really: do_double_fault is unconditionally fatal.

-hpa


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