Gentoo Archives: gentoo-hardened

From: pageexec@××××××××.hu
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] kernel upgrade problems: bad page state
Date: Sat, 03 Nov 2007 21:25:26
Message-Id: 472CF4EB.23963.539C190@pageexec.freemail.hu
In Reply to: Re: [gentoo-hardened] kernel upgrade problems: bad page state by Brian Kroth
1 On 31 Oct 2007 at 22:46, Brian Kroth wrote:
2
3 > but not ever (yet) with this
4 >
5 > cactid --verbosity=5 -f 1 -l 10
6
7 what does the -l switch do?
8
9 > The version of cactid in portage is slightly old. After updating from
10 > 0.8.6i-r1 to 0.8.6j the problem seems to happen less frequently, but
11 > still happens. With that in mind might this actually be a software
12 > problem and not a kernel problem? Shouldn't PAX be preventing userland
13 > software from screwing up the page table?
14
15 i'm almost sure it's a bug somewhere in vma mirroring as that's the
16 only thing i changed in .22 and on and it does play with page locking
17 (the bad page state is triggered because a to-be-freed page is still
18 locked, that's means there's a missing unlock somewhere in the code,
19 but i couldn't figure it out from the code yet).
20
21 > I can send more kernel output if anyone's interested. Any thoughts on
22 > what else I should be doing to test this?
23
24 i'll need your mm/memory.o from the failing kernel and if it occured on
25 multiple machines or kernels, indicate which of your report corresponds
26 to which .o (well, i can find it out from the disasm eventually, but it
27 helps me if i don't have to ;-). then can you send me a /proc/pid/maps file
28 from cactid and nagios (if you use grsec make sure that addresses are not
29 hidden and preferably not randomized either)?
30
31 --
32 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] kernel upgrade problems: bad page state Brian Kroth <bpkroth@××××.edu>