The do_coredump function in fs/exec.c in the Linux kernel 2.6.19 sets the flag variable to O_EXCL but does not use it, which allows context-dependent attackers to modify arbitrary files via a rewrite attack during a core dump.
https://rhn.redhat.com/errata/RHSA-2010-0095.html
https://rhn.redhat.com/errata/RHSA-2010-0046.html
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7446
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10797
http://www.vupen.com/english/advisories/2006/5002
http://www.trustix.org/errata/2006/0074/
http://www.securityfocus.com/bid/21591
http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.19.1