CVE-2004-0427
Reported by mitre · Published April 30, 2004
The do_fork function in Linux 2.4.x before 2.4.26, and 2.6.x before 2.6.6, does not properly decrement the mm_count counter when an error occurs after the mm_struct for a child process has been activated, which triggers a memory leak that allows local users to cause a denial of service (memory exhaustion) via the clone (CLONE_VM) system call.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 2.6.6, 2.4.26 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Apr 30, 2004 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Apr 7, 2026 Distribution Patch (4 in total, the first dated here)
- Apr 7, 2026 Security Advisory (6 in total, the first dated here)
- Jun 16, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2004-0427
vulnetix vdb fixes CVE-2004-0427
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2004-0427/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 20163 third-party-advisoryx_refsource_SECUNIA
- RHSA-2004:327 vendor-advisoryx_refsource_REDHAT
- 11464 third-party-advisoryx_refsource_SECUNIA
- x_refsource_MISC
- linux-dofork-memory-leak(16002) vdb-entryx_refsource_XF
- DSA-1082 vendor-advisoryx_refsource_DEBIAN
- RHSA-2004:255 vendor-advisoryx_refsource_REDHAT
- FEDORA-2004-111 vendor-advisoryx_refsource_FEDORA
- 11861 third-party-advisoryx_refsource_SECUNIA
- [linux-kernel] 20040408 [PATCH]: 2.4/2.6 do_fork() error path memory leak mailing-listx_refsource_MLIST
- RHSA-2004:260 vendor-advisoryx_refsource_REDHAT
- SuSE-SA:2004:010 vendor-advisoryx_refsource_SUSE
- DSA-1070 vendor-advisoryx_refsource_DEBIAN
- oval:org.mitre.oval:def:10297 vdb-entrysignaturex_refsource_OVAL
- 20162 third-party-advisoryx_refsource_SECUNIA
- MDKSA-2004:037 vendor-advisoryx_refsource_MANDRAKE
- 11891 third-party-advisoryx_refsource_SECUNIA
- 11486 third-party-advisoryx_refsource_SECUNIA
- TLSA-2004-14 vendor-advisoryx_refsource_TURBO
- 11541 third-party-advisoryx_refsource_SECUNIA
…and 14 more