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: Tue, 30 Oct 2007 17:40:54
Message-Id: 47276BF0.8080902@wisc.edu
In Reply to: [gentoo-hardened] kernel upgrade problems: bad page state by Brian Kroth
1 More of the same message but with a different process. I should note
2 that I'm using this same kernel version and config without any problems
3 (so far) on 8 other servers. Might this be a memory or other hardware
4 problem?
5
6 Brian
7
8 Bad page state in process 'nagios'
9 page:c1211b20 flags:0x40000001 mapping:00000000 mapcount:0 count:0
10 Trying to fix it up, but a reboot is needed
11 Backtrace:
12 [<c044a16f>] [<c044ab14>] [<c0453e2c>] [<c0453e2c>] [<c045512c>]
13 [<c04145ba>] [<c04149e2>] [<c04143e0>] [<c06e5e65>]
14 =======================
15 Bad page state in process 'nagios'
16 page:c1132400 flags:0x40000001 mapping:00000000 mapcount:0 count:0
17 Trying to fix it up, but a reboot is needed
18 Backtrace:
19 [<c044a16f>] [<c044ab14>] [<c0453e2c>] [<c045512c>] [<c04145ba>]
20 [<c04143e0>] [<c06e5e65>] =======================
21 Bad page state in process 'nagios'
22 page:c10a20c0 flags:0x40000001 mapping:00000000 mapcount:0 count:0
23 Trying to fix it up, but a reboot is needed
24 Backtrace:
25 [<c044a16f>] [<c044ab14>] [<c0453e2c>] [<c045512c>] [<c04145ba>]
26 [<c0402a98>] [<c04143e0>] [<c06e5e65>] =======================
27 Bad page state in process 'nagios'
28 page:c1101ae0 flags:0x40000001 mapping:00000000 mapcount:0 count:0
29 Trying to fix it up, but a reboot is needed
30 Backtrace:
31 [<c044a16f>] [<c044ab14>] [<c0453e2c>] [<c045512c>] [<c04145ba>]
32 [<c040559e>] [<c04143e0>] [<c06e5e65>] [<c06e0000>] [<c053b305>]
33 [<c0416a2c>] [<c0402936>] [<c0402a98>] [<c06e0000>]
34 =======================
35
36 Brian Kroth wrote:
37 > I started getting these messages after an upgrade from
38 > hardened-sources-2.6.20-r10 to 2.6.22.r8. Nothing changed from the old
39 > config. I just did "make oldconfig" and answered N to everything since
40 > they weren't relevant. In particular, nothing in PAX or GrSec menus
41 > were changed, though whenever I get big nasty messages like this I
42 > suspect one of them. Can anyone give me some direction as to how to fix
43 > this or what might be causing it? I can post the full configs if need be.
44 >
45 > Thanks,
46 > Brian
47 >
48 > # dmesg
49 >
50 > Oct 29 21:30:14 tux-mc Bad page state in process 'cactid'
51 > Oct 29 21:30:14 tux-mc page:c1467da0 flags:0x40000001 mapping:00000000
52 > mapcount:0 count:0
53 > Oct 29 21:30:14 tux-mc Trying to fix it up, but a reboot is needed
54 > Oct 29 21:30:14 tux-mc Backtrace:
55 > Oct 29 21:30:14 tux-mc [<c044a16f>] [<c044ab14>] [<c0453e2c>]
56 > [<c045512c>] [<c04145ba>] [<c04319d2>] [<c0432ad3>] [<c04212d3>]
57 > [<c04143e0>] [<c06e5e65>] [<c06e007b>] [<c06e0000>] [<c0402a98>]
58 > =======================
59 > Oct 29 21:30:15 tux-mc Bad page state in process 'cactid'
60 > Oct 29 21:30:15 tux-mc page:c159a480 flags:0x40000001 mapping:00000000
61 > mapcount:0 count:0
62 > Oct 29 21:30:15 tux-mc Trying to fix it up, but a reboot is needed
63 > Oct 29 21:30:15 tux-mc Backtrace:
64 > Oct 29 21:30:15 tux-mc [<c044a16f>] [<c044ab14>] [<c0453e2c>]
65 > [<c045512c>] [<c04145ba>] [<c06c995a>] [<c04143e0>] [<c06e5e65>]
66 > [<c046007b>] [<c06e0000>] =======================
67 >
68 >
69 >
70 > # uname -a
71 >
72 > Linux tux-mc 2.6.22-hardened-r8 #1 SMP Mon Oct 29 21:05:58 CDT 2007 i686
73 > Intel(R) Xeon(TM) CPU 2.80GHz GenuineIntel GNU/Linux
74 >
75 >
76 > # some .config sections
77 >
78 > #
79 > # Security options
80 > #
81 >
82 > #
83 > # Grsecurity
84 > #
85 > CONFIG_GRKERNSEC=y
86 > # CONFIG_GRKERNSEC_LOW is not set
87 > # CONFIG_GRKERNSEC_MEDIUM is not set
88 > # CONFIG_GRKERNSEC_HIGH is not set
89 > # CONFIG_GRKERNSEC_HARDENED is not set
90 > CONFIG_GRKERNSEC_CUSTOM=y
91 >
92 > #
93 > # Address Space Protection
94 > #
95 > CONFIG_GRKERNSEC_KMEM=y
96 > CONFIG_GRKERNSEC_IO=y
97 > CONFIG_GRKERNSEC_PROC_MEMMAP=y
98 > CONFIG_GRKERNSEC_BRUTE=y
99 > CONFIG_GRKERNSEC_MODSTOP=y
100 > CONFIG_GRKERNSEC_HIDESYM=y
101 >
102 > #
103 > # Role Based Access Control Options
104 > #
105 > CONFIG_GRKERNSEC_ACL_HIDEKERN=y
106 > CONFIG_GRKERNSEC_ACL_MAXTRIES=3
107 > CONFIG_GRKERNSEC_ACL_TIMEOUT=30
108 >
109 > #
110 > # Filesystem Protections
111 > #
112 > CONFIG_GRKERNSEC_PROC=y
113 > CONFIG_GRKERNSEC_PROC_USER=y
114 > CONFIG_GRKERNSEC_PROC_ADD=y
115 > CONFIG_GRKERNSEC_LINK=y
116 > CONFIG_GRKERNSEC_FIFO=y
117 > CONFIG_GRKERNSEC_CHROOT=y
118 > CONFIG_GRKERNSEC_CHROOT_MOUNT=y
119 > CONFIG_GRKERNSEC_CHROOT_DOUBLE=y
120 > CONFIG_GRKERNSEC_CHROOT_PIVOT=y
121 > CONFIG_GRKERNSEC_CHROOT_CHDIR=y
122 > CONFIG_GRKERNSEC_CHROOT_CHMOD=y
123 > CONFIG_GRKERNSEC_CHROOT_FCHDIR=y
124 > CONFIG_GRKERNSEC_CHROOT_MKNOD=y
125 > CONFIG_GRKERNSEC_CHROOT_SHMAT=y
126 > CONFIG_GRKERNSEC_CHROOT_UNIX=y
127 > CONFIG_GRKERNSEC_CHROOT_FINDTASK=y
128 > CONFIG_GRKERNSEC_CHROOT_NICE=y
129 > CONFIG_GRKERNSEC_CHROOT_SYSCTL=y
130 > CONFIG_GRKERNSEC_CHROOT_CAPS=y
131 >
132 > #
133 > # Kernel Auditing
134 > #
135 > CONFIG_GRKERNSEC_AUDIT_GROUP=y
136 > CONFIG_GRKERNSEC_AUDIT_GID=10005
137 > CONFIG_GRKERNSEC_EXECLOG=y
138 > CONFIG_GRKERNSEC_RESLOG=y
139 > CONFIG_GRKERNSEC_CHROOT_EXECLOG=y
140 > CONFIG_GRKERNSEC_AUDIT_CHDIR=y
141 > CONFIG_GRKERNSEC_AUDIT_MOUNT=y
142 > CONFIG_GRKERNSEC_AUDIT_IPC=y
143 > CONFIG_GRKERNSEC_SIGNAL=y
144 > CONFIG_GRKERNSEC_FORKFAIL=y
145 > CONFIG_GRKERNSEC_TIME=y
146 > CONFIG_GRKERNSEC_PROC_IPADDR=y
147 > # CONFIG_GRKERNSEC_AUDIT_TEXTREL is not set
148 >
149 > #
150 > # Executable Protections
151 > #
152 > CONFIG_GRKERNSEC_EXECVE=y
153 > CONFIG_GRKERNSEC_SHM=y
154 > CONFIG_GRKERNSEC_DMESG=y
155 > CONFIG_GRKERNSEC_TPE=y
156 > CONFIG_GRKERNSEC_TPE_ALL=y
157 > # CONFIG_GRKERNSEC_TPE_INVERT is not set
158 > CONFIG_GRKERNSEC_TPE_GID=10006
159 >
160 > #
161 > # Network Protections
162 > #
163 > CONFIG_GRKERNSEC_RANDNET=y
164 > CONFIG_GRKERNSEC_SOCKET=y
165 > CONFIG_GRKERNSEC_SOCKET_ALL=y
166 > CONFIG_GRKERNSEC_SOCKET_ALL_GID=10004
167 > CONFIG_GRKERNSEC_SOCKET_CLIENT=y
168 > CONFIG_GRKERNSEC_SOCKET_CLIENT_GID=10003
169 > CONFIG_GRKERNSEC_SOCKET_SERVER=y
170 > CONFIG_GRKERNSEC_SOCKET_SERVER_GID=10002
171 >
172 > #
173 > # Sysctl support
174 > #
175 > CONFIG_GRKERNSEC_SYSCTL=y
176 > # CONFIG_GRKERNSEC_SYSCTL_ON is not set
177 >
178 > #
179 > # Logging Options
180 > #
181 > CONFIG_GRKERNSEC_FLOODTIME=5
182 > CONFIG_GRKERNSEC_FLOODBURST=5
183 >
184 > #
185 > # PaX
186 > #
187 > CONFIG_PAX=y
188 >
189 > #
190 > # PaX Control
191 > #
192 > # CONFIG_PAX_SOFTMODE is not set
193 > CONFIG_PAX_EI_PAX=y
194 > CONFIG_PAX_PT_PAX_FLAGS=y
195 > CONFIG_PAX_NO_ACL_FLAGS=y
196 > # CONFIG_PAX_HAVE_ACL_FLAGS is not set
197 > # CONFIG_PAX_HOOK_ACL_FLAGS is not set
198 >
199 > #
200 > # Non-executable pages
201 > #
202 > CONFIG_PAX_NOEXEC=y
203 > CONFIG_PAX_PAGEEXEC=y
204 > CONFIG_PAX_SEGMEXEC=y
205 > CONFIG_PAX_EMUTRAMP=y
206 > CONFIG_PAX_MPROTECT=y
207 > # CONFIG_PAX_NOELFRELOCS is not set
208 > # CONFIG_PAX_KERNEXEC is not set
209 >
210 > #
211 > # Address Space Layout Randomization
212 > #
213 > CONFIG_PAX_ASLR=y
214 > CONFIG_PAX_RANDKSTACK=y
215 > CONFIG_PAX_RANDUSTACK=y
216 > CONFIG_PAX_RANDMMAP=y
217 >
218 > #
219 > # Miscellaneous hardening features
220 > #
221 > # CONFIG_PAX_MEMORY_SANITIZE is not set
222 > # CONFIG_PAX_MEMORY_UDEREF is not set
223 > # CONFIG_KEYS is not set
224 > CONFIG_SECURITY=y
225 > # CONFIG_SECURITY_NETWORK is not set
226 > CONFIG_SECURITY_CAPABILITIES=y
227 > # CONFIG_SECURITY_ROOTPLUG is not set

Attachments

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