Re: [PATCH] x86, selftests: Add a test for the "sysret_ss_attrs" bug

From: Denys Vlasenko
Date: Sat Apr 25 2015 - 09:56:08 EST

On 04/25/2015 12:09 AM, Andy Lutomirski wrote:
> On AMD CPUs, SYSRET can return with a valid SS descriptor with with
> the hidden attributes set to an unusable state. Make sure the kernel
> doesn't let this happen. This detects an as-yet-unfixed regression.
> Note that the 64-bit version of this test fails on AMD CPUs on all
> kernel versions, although the issue in the 64-bit case is much less
> severe than in the 32-bit case.

Confirmed to detect the "bug" in 64-bit userspace.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at