Gentoo Archives: gentoo-hardened

From: Brian Kroth <bpkroth@××××.edu>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] kernel upgrade problems: bad page state
Date: Wed, 31 Oct 2007 04:21:13
Message-Id: 47280237.7050208@wisc.edu
In Reply to: Re: [gentoo-hardened] kernel upgrade problems: bad page state by Brian Kroth
1 >> PaX only logs bad behaviour when it's about unintended code execution,
2 >> this bug here is a kernel-internal consistency check, it doesn't mean
3 >> that the triggering userland app has a bug, it may very well just manage
4 >> to trigger a kernel bug (which in turn could be in PaX for all i know).
5 >> it'd be nice if you could find a way to reproduce it, also if you could
6 >> test with 2.6.23-pax.
7 >
8
9 More (of the same) output from 2.6.23-hardened:
10
11 Oct 30 23:12:55 tux-mc.hslc.wisc.edu IPMI Watchdog: driver initialized
12 Oct 30 23:15:10 tux-mc.hslc.wisc.edu Bad page state in process 'cactid'
13 Oct 30 23:15:10 tux-mc.hslc.wisc.edu page:c14ccf60 flags:0x40000001
14 mapping:00000000 mapcount:0 count:0
15 Oct 30 23:15:10 tux-mc.hslc.wisc.edu Trying to fix it up, but a reboot
16 is needed
17 Oct 30 23:15:10 tux-mc.hslc.wisc.edu Backtrace:
18 Oct 30 23:15:10 tux-mc.hslc.wisc.edu [<c044bbaf>] bad_page+0x63/0x92
19 Oct 30 23:15:10 tux-mc.hslc.wisc.edu [<c044c47c>]
20 free_hot_cold_page+0x7c/0x178
21 Oct 30 23:15:10 tux-mc.hslc.wisc.edu [<c0455bed>] do_wp_page+0x22b/0x425
22 Oct 30 23:15:10 tux-mc.hslc.wisc.edu [<c06efe50>] do_nanosleep+0x5a/0x6e
23 Oct 30 23:15:10 tux-mc.hslc.wisc.edu [<c04570da>]
24 handle_mm_fault+0x2fd/0x330
25 Oct 30 23:15:10 tux-mc.hslc.wisc.edu [<c0414569>] do_page_fault+0x38d/0x86d
26 Oct 30 23:15:10 tux-mc.hslc.wisc.edu [<c0402ba8>] restore_all+0x0/0x18
27 Oct 30 23:15:10 tux-mc.hslc.wisc.edu [<c041007b>]
28 nmi_watchdog_tick+0x13/0x176
29 Oct 30 23:15:10 tux-mc.hslc.wisc.edu [<c04141dc>] do_page_fault+0x0/0x86d
30 Oct 30 23:15:10 tux-mc.hslc.wisc.edu [<c06f0725>] error_code+0x75/0x80
31 Oct 30 23:15:10 tux-mc.hslc.wisc.edu [<c06f0000>]
32 rt_mutex_slowlock+0xd1/0x144
33 Oct 30 23:15:10 tux-mc.hslc.wisc.edu =======================
34 Oct 30 23:15:11 tux-mc.hslc.wisc.edu Bad page state in process 'cactid'
35 Oct 30 23:15:11 tux-mc.hslc.wisc.edu page:c13ea1c0 flags:0x40000001
36 mapping:00000000 mapcount:0 count:0
37 Oct 30 23:15:11 tux-mc.hslc.wisc.edu Trying to fix it up, but a reboot
38 is needed
39 Oct 30 23:15:11 tux-mc.hslc.wisc.edu Backtrace:
40 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c044bbaf>] bad_page+0x63/0x92
41 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c044c47c>]
42 free_hot_cold_page+0x7c/0x178
43 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c044cbe5>] __pagevec_free+0x14/0x1c
44 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c044f40f>] release_pages+0x122/0x144
45 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c045e33e>]
46 free_pages_and_swap_cache+0x51/0x75
47 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c04545bf>] zap_pte_range+0x1f4/0x28d
48 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c0454705>]
49 unmap_page_range+0xad/0x129
50 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c045485e>] unmap_vmas+0xdd/0x1ec
51 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c045a391>] exit_mmap+0x72/0xf0
52 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c041b0f1>] mmput+0x33/0x91
53 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c046bd03>] exec_mmap+0x126/0x36c
54 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c046c236>] de_thread+0x2ed/0x35e
55 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c046c40f>] flush_old_exec+0x56/0x20c
56 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c046bbcb>] kernel_read+0x50/0x62
57 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c049707f>]
58 load_elf_binary+0x380/0xf42
59 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c0454b2c>] follow_page+0xd5/0x157
60 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c046c8c2>]
61 search_binary_handler+0x9e/0x204
62 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c046cc77>] do_execve+0x24f/0x37e
63 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c0401685>] sys_execve+0x2f/0x7a
64 Oct 30 23:15:11 tux-mc.hslc.wisc.edu [<c0402b82>] syscall_call+0x7/0xb
65 Oct 30 23:15:11 tux-mc.hslc.wisc.edu =======================
66 Oct 30 23:15:15 tux-mc.hslc.wisc.edu Bad page state in process 'cactid'
67 Oct 30 23:15:15 tux-mc.hslc.wisc.edu page:c1504d00 flags:0x40000001
68 mapping:00000000 mapcount:0 count:0
69 Oct 30 23:15:15 tux-mc.hslc.wisc.edu Trying to fix it up, but a reboot
70 is needed
71 Oct 30 23:15:15 tux-mc.hslc.wisc.edu Backtrace:
72 Oct 30 23:15:15 tux-mc.hslc.wisc.edu [<c044bbaf>] bad_page+0x63/0x92
73 Oct 30 23:15:15 tux-mc.hslc.wisc.edu [<c044c47c>]
74 free_hot_cold_page+0x7c/0x178
75 Oct 30 23:15:15 tux-mc.hslc.wisc.edu [<c0455bed>] do_wp_page+0x22b/0x425
76 Oct 30 23:15:15 tux-mc.hslc.wisc.edu [<c043275f>]
77 hrtimer_try_to_cancel+0x40/0x7e
78 Oct 30 23:15:15 tux-mc.hslc.wisc.edu [<c04570da>]
79 handle_mm_fault+0x2fd/0x330
80 Oct 30 23:15:15 tux-mc.hslc.wisc.edu [<c0414569>] do_page_fault+0x38d/0x86d
81 Oct 30 23:15:15 tux-mc.hslc.wisc.edu [<c0432af0>] sys_nanosleep+0x54/0x5c
82 Oct 30 23:15:15 tux-mc.hslc.wisc.edu [<c0402ba8>] restore_all+0x0/0x18
83 Oct 30 23:15:15 tux-mc.hslc.wisc.edu [<c04141dc>] do_page_fault+0x0/0x86d
84 Oct 30 23:15:15 tux-mc.hslc.wisc.edu [<c06f0725>] error_code+0x75/0x80
85 Oct 30 23:15:15 tux-mc.hslc.wisc.edu [<c06f0000>]
86 rt_mutex_slowlock+0xd1/0x144

Attachments

File name MIME type
smime.p7s application/x-pkcs7-signature