[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#852324: x86/mm: Found insecure W+X mapping



Package: xen-linux-system-4.8.0-2-amd64
Version: 4.8.15-2
Severity: normal

When I boot my system with Xen, I get the following section in dmesg:

[   13.588381] ------------[ cut here ]------------
[   13.588386] WARNING: CPU: 18 PID: 1 at /build/linux-zDY19G/linux-4.8.15/arch/x86/mm/dump_pagetables.c:225 note_page+0x5e8/0x790
[   13.588388] x86/mm: Found insecure W+X mapping at address ffff880000000000/0xffff880000000000
[   13.588388] Modules linked in:
[   13.588392] CPU: 18 PID: 1 Comm: swapper/0 Not tainted 4.8.0-2-amd64 #1 Debian 4.8.15-2
[   13.588392] Hardware name: ASUSTeK COMPUTER INC. Z10PA-D8 Series/Z10PA-D8 Series, BIOS 3202 04/18/2016
[   13.588394]  0000000000000200 00000000043f1514 ffffffff8131f925 ffff8802806b3de0
[   13.588397]  0000000000000000 ffffffff81074ffe ffff8802806b3ed0 ffff8802806b3e38
[   13.588399]  0000000000000004 0000000000000000 ffff8802806b3ed0 0000000000000000
[   13.588401] Call Trace:
[   13.588406]  [<ffffffff8131f925>] ? dump_stack+0x5c/0x77
[   13.588409]  [<ffffffff81074ffe>] ? __warn+0xbe/0xe0
[   13.588412]  [<ffffffff8107507f>] ? warn_slowpath_fmt+0x5f/0x80
[   13.588415]  [<ffffffff810cadc9>] ? vprintk_emit+0x349/0x530
[   13.588417]  [<ffffffff81067198>] ? note_page+0x5e8/0x790
[   13.588419]  [<ffffffff81067615>] ? ptdump_walk_pgd_level_core+0x2d5/0x400
[   13.588423]  [<ffffffff815dbd46>] ? kernel_init+0x26/0x100
[   13.588425]  [<ffffffff815e8eef>] ? ret_from_fork+0x1f/0x40
[   13.588427]  [<ffffffff815dbd20>] ? rest_init+0x80/0x80
[   13.588428] ---[ end trace 98efce8be234f5b3 ]---
[   13.608867] x86/mm: Checked W+X mappings: FAILED, 4602 W+X pages found.

But when I boot my system 'normally', ie without Xen, the error does not
show up.

In https://lists.xen.org/archives/html/xen-devel/2017-01/msg02315.html I
mentioned this too, but figured this specific item is more debian kernel
related then Xen. Full dmesg output of both with and without Xen is
attached to that message to xen-devel.

I'll gladly provide more info, just tell me what you need and how to
obtain it. I installed the debug package for the kernel, but that didn't
seem to affect the above stacktrace.

Cheers,
  Diederik


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages xen-linux-system-4.8.0-2-amd64 depends on:
ii  linux-image-4.8.0-2-amd64  4.8.15-2
ii  xen-system-amd64           4.8.0-1

xen-linux-system-4.8.0-2-amd64 recommends no packages.

xen-linux-system-4.8.0-2-amd64 suggests no packages.

-- no debconf information


Reply to: