CVE-2004-0427
Description
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
0.468%
chance of exploitation in the next 30 days
higher than 41.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-401: Missing Release of Memory after Effective Lifetime
Timeline
- 2004-04-30Published by the CNA04:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linux linux_kernel | from 2.4.0 before 2.4.26fixed in 2.4.26from 2.6.0 before 2.6.6fixed in 2.6.6 | 2.4.262.6.6 |
References
- ftp://patches.sgi.com/support/free/security/advisories/20040504-01-U.asc
- ftp://patches.sgi.com/support/free/security/advisories/20040505-01-U.asc
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000846
- http://fedoranews.org/updates/FEDORA-2004-111.shtml
- http://security.gentoo.org/glsa/glsa-200407-02.xml
- http://www.debian.org/security/2006/dsa-1067
- http://www.debian.org/security/2006/dsa-1069
- http://www.debian.org/security/2006/dsa-1070
- http://www.debian.org/security/2006/dsa-1082
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:037
- http://www.novell.com/linux/security/advisories/2004_10_kernel.html
- http://www.redhat.com/support/errata/RHSA-2004-255.html
- http://www.redhat.com/support/errata/RHSA-2004-260.html
- http://www.redhat.com/support/errata/RHSA-2004-327.html
- http://www.turbolinux.com/security/2004/TLSA-2004-14.txt
- http://linux.bkbits.net:8080/linux-2.4/cset%40407bf20eDeeejm8t36_tpvSE-8EFHA
- http://linux.bkbits.net:8080/linux-2.6/cset%40407b1217x4jtqEkpFW2g_-RcF0726A
- http://marc.info/?l=linux-kernel&m=108139073506983&w=2
- http://secunia.com/advisories/11429
- http://secunia.com/advisories/11464
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2004-0427'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2004-0427'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2004-0427'curl 'https://api.contrastcyber.com/cve_products/CVE-2004-0427'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).