Re: Weird kernel 2.6.17.[67] behaviour

From: Adam Henley
Date: Wed Jul 26 2006 - 19:39:53 EST

On 27/07/06, Sébastien Bernard <seb@xxxxxxxxxxxxxx> wrote:
seb@xxxxxxxxxxxxxx a écrit :
> I got a perfectly workable kernel using mkinitramfs on my U60.
> Can you shed some lights on this dark corner of linux ?
> Seb

I can't shed any more light on it, but I can look too :o)

The original mailing of the patch to the list is below:

The prctl() system call should never allow to set "dumpable" to the
value 2. Especially not for non-privileged users.

This can be split into three cases:
1) running as root -- then core dumps will already be done as root,
and so prctl(PR_SET_DUMPABLE, 2) is not useful
2) running as non-root w/setuid-to-root -- this is the debatable case
3) running as non-root w/setuid-to-non-root -- then you definitely
do NOT want "dumpable" to get set to 2 because you have the
privilege escalation vulnerability

Is it that something else is misbehaving and trying to dump core as root?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at