lkml.org 
[lkml]   [2015]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [GIT PULL] x86/mm changes for v4.4
From
On Thu, Nov 5, 2015 at 1:27 PM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> No, I have that. I suspect CONFIG_EFI_PGT_DUMP instead.

Yes, that seems to show the tables, and agrees with the problem address.

So for me I have:

WARNING: CPU: 1 PID: 1 at arch/x86/mm/dump_pagetables.c:225
note_page+0x5dc/0x780()
x86/mm: Found insecure W+X mapping at address
ffff88000005f000/0xffff88000005f000

and that 005f000 address also shows up in the firmware tables:

ACPI: 6 ACPI AML tables successfully acquired and loaded
---[ User Space ]---
0x0000000000000000-0x000000000005f000 380K RW
GLB NX pte
0x000000000005f000-0x0000000000060000 4K RW
GLB x pte
0x0000000000060000-0x0000000000200000 1664K RW
GLB NX pte
...
---[ Low Kernel Mapping ]---
0xffff880000000000-0xffff88000005f000 380K RW
GLB NX pte
0xffff88000005f000-0xffff880000060000 4K RW
GLB x pte
0xffff880000060000-0xffff880000200000 1664K RW
GLB NX pte
...

and there's quite a few other pages there that are RW but not marked
NX. I suspect they come from the EFI runtime services because the
pattern seems to match what I see in that area, but there's at least a
PSE mapping at START_KERNEL_map too, etc.

Linus


\
 
 \ /
  Last update: 2015-11-05 23:21    [W:0.103 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site