Skip to content

coredump: setuid core dump cleanups

Eugene Teo lkml 1 version NAK

Status from this message: NAK - this feature is actively used and can be set by the sysctl

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/3coredump: cleanup documentation for suid_dumpableDocumentation/sysctl/fs.txt+0 -63 replies
2/3coredump: remove suidsafe mode related dead codefs/exec.c include/linux/binfmts.h+1 -181 reply
3/3coredump: re-implement suid_dumpable using a flagfs/exec.c include/linux/sched.h+11 -441 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] coredump: setuid core dump cleanups

Hi,

A year ago, commit abf75a5033d4da7b8a7e92321d74021d1fcfb502 was included to fix a security vulnerability that is related to prctl privilege escalation, and suid_dumpable (CVE-2006-2451). But the commit was just a quick fix to prevent users from calling prctl(PR_SET_DUMPABLE, 2).

This patch series try to remove code that is related to the value 2 (suidsafe) core dump mode, and also re-implement Hidehiro-san's re-implementation of dumpable using a bit flag instead of a pair (see commit 6c5d523826dc639df709ed0f88c5d2ce25379652).

Thanks,
Eugene