[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20141117060528.GA3938@yliu-dev.sh.intel.com>
Date: Mon, 17 Nov 2014 14:05:28 +0800
From: Yuanhan Liu <yuanhan.liu@...ux.intel.com>
To: Kees Cook <keescook@...omium.org>
Cc: LKML <linux-kernel@...r.kernel.org>, lkp@...org,
Yuanhan Liu <yuanhan.liu@...ux.intel.com>
Subject: [LKP] [x86, mm] BUG: Bad page state in process swapper/0 pfn:02500
FYI, we noticed the below changes on
git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git x86/pmd-nx
commit 3622dcc2b4f4eaf23bae2511a30fc449d0e5f0d9 ("x86, mm: set NX across entire PMD at boot")
+------------------------------------------+------------+------------+
| | b23dc5a7cc | 3622dcc2b4 |
+------------------------------------------+------------+------------+
| boot_successes | 4 | 0 |
| boot_failures | 0 | 19 |
| BUG:Bad_page_state_in_process | 0 | 19 |
| BUG:Bad_page_map_in_process | 0 | 14 |
| BUG:Bad_rss-counter_state_mm:#idx:val | 0 | 2 |
| backtrace:free_reserved_area | 0 | 19 |
| backtrace:free_init_pages | 0 | 19 |
| backtrace:mark_rodata_ro | 0 | 19 |
| backtrace:vm_munmap | 0 | 2 |
| backtrace:SyS_munmap | 0 | 2 |
| backtrace:do_execve | 0 | 12 |
| backtrace:SyS_execve | 0 | 12 |
| backtrace:do_group_exit | 0 | 10 |
| backtrace:SyS_exit_group | 0 | 10 |
| backtrace:vfs_read | 0 | 3 |
| backtrace:SyS_read | 0 | 3 |
| general_protection_fault | 0 | 3 |
| RIP:release_pages | 0 | 3 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 3 |
+------------------------------------------+------------+------------+
[ 5.435374] PM: Hibernation image not present or could not be loaded.
[ 5.437869] Freeing unused kernel memory: 1448K (ffffffff8215b000 - ffffffff822c5000)
[ 5.439558] Write protecting the kernel read-only data: 16384k
[ 5.441103] BUG: Bad page state in process swapper/0 pfn:02500
[ 5.442204] page:ffffea0000094000 count:0 mapcount:-127 mapping: (null) index:0x2
[ 5.443939] flags: 0x1ffff8000000000()
[ 5.444891] page dumped because: nonzero mapcount
[ 5.445861] Modules linked in:
[ 5.446711] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.18.0-rc4-00185-g3622dcc #1
[ 5.448369] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 5.449450] ffffffff81cf3ba4 ffff880037a33d78 ffffffff819ea6b0 00000000000010ac
[ 5.451360] ffffea0000094000 ffff880037a33da8 ffffffff8119b29c 0000000000000000
[ 5.453289] ffffea0000094000 0000000000000001 0000000000000000 ffff880037a33de8
[ 5.455234] Call Trace:
[ 5.455942] [<ffffffff819ea6b0>] dump_stack+0x4e/0x68
[ 5.456971] [<ffffffff8119b29c>] bad_page+0xf5/0x113
[ 5.457972] [<ffffffff8119b379>] free_pages_prepare+0xbf/0x13f
[ 5.459067] [<ffffffff8119d65e>] free_hot_cold_page+0x35/0x1a0
[ 5.460178] [<ffffffff8119d878>] __free_pages+0x1b/0x24
[ 5.461219] [<ffffffff8119d930>] free_reserved_area+0xaf/0x10b
[ 5.462339] [<ffffffff8106c126>] free_init_pages+0x8d/0x99
[ 5.463407] [<ffffffff8106cb1a>] mark_rodata_ro+0xb6/0x11c
[ 5.464522] [<ffffffff819e15b5>] ? rest_init+0x89/0x89
[ 5.465533] [<ffffffff819e15d2>] kernel_init+0x1d/0xdf
[ 5.466596] [<ffffffff819f15bc>] ret_from_fork+0x7c/0xb0
[ 5.467633] [<ffffffff819e15b5>] ? rest_init+0x89/0x89
[ 5.468711] Disabling lock debugging due to kernel taint
[ 5.470302] Freeing unused kernel memory: 1488K (ffffffff8248c000 - ffffffff82600000)
[ 5.472182] Freeing unused kernel memory: 20K (ffff8800019fb000 - ffff880001a00000)
[ 5.477823] Freeing unused kernel memory: 1812K (ffff880001e3b000 - ffff880002000000)
[ 5.582078] BUG: Bad page state in process udevd pfn:0248c
[ 5.582103] BUG: Bad page state in process udevd pfn:024a0
[ 5.582104] page:ffffea0000092800 count:2 mapcount:0 mapping:ffff88003ec8ea69 index:0x2
[ 5.582107] flags: 0x1ffff8000080068(uptodate|lru|active|swapbacked)
--yliu
View attachment ".dmesg" of type "text/plain" (37057 bytes)
_______________________________________________
LKP mailing list
LKP@...ux.intel.com
Powered by blists - more mailing lists