2018-01-03 16:35:34

by Laura Abbott

[permalink] [raw]
Subject: Crashes with KPTI and -rc6

Hi,

Fedora got a report via IRC of a double fault with KPTI
https://paste.fedoraproject.org/paste/SL~of04ZExXP6AN2gcJi7A

This is on -rc6 . I saw the one fix posted already which
I'll pull in but I wanted to report this as a heads up
in case there are other issues.

Full tree and configs are at
https://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/fedora.git/log/?h=rawhide

Thanks,
Laura


2018-01-04 06:57:29

by Ingo Molnar

[permalink] [raw]
Subject: Re: Crashes with KPTI and -rc6


* Laura Abbott <[email protected]> wrote:

> Hi,
>
> Fedora got a report via IRC of a double fault with KPTI
> https://paste.fedoraproject.org/paste/SL~of04ZExXP6AN2gcJi7A

I believe this one should be fixed by:

d7732ba55c4b: x86/pti: Switch to kernel CR3 at early in entry_SYSCALL_compat()

> This is on -rc6 . I saw the one fix posted already which
> I'll pull in but I wanted to report this as a heads up
> in case there are other issues.
>
> Full tree and configs are at
> https://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/fedora.git/log/?h=rawhide

Thanks!

Linus's latest upstream:

00a5ae218d57: Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

and later kernels includes all fixes for all regressions that were reported so far
on top of -rc6:

2fd9c41aea47: x86/process: Define cpu_tss_rw in same section as declaration
d7732ba55c4b: x86/pti: Switch to kernel CR3 at early in entry_SYSCALL_compat()
3ffdeb1a02be: x86/dumpstack: Print registers for first stack frame
a9cdbe72c4e8: x86/dumpstack: Fix partial register dumps
52994c256df3: x86/pti: Make sure the user/kernel PTEs match
694d99d40972: x86/cpu, x86/pti: Do not enable PTI on AMD processors
87faa0d9b43b: x86/pti: Enable PTI by default

PTI fixes can also be independently tracked and pre-merged via:

git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/pti

Thanks,

Ingo