CVE-2004-0427 json
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 o…
published 2004-04-30 22 y ago modified 2026-06-16 4 mo ago also EUVD-2004-0426
- cvss
- 2.1
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- linux linux_kernel 2.4.26, 2.6.6
- kernel RHEL 3 2.4.21-15.0.2.EL
- kernel-smp RHEL 3 2.4.21-15.0.2.EL
- kernel-BOOT RHEL 3 2.4.21-15.0.2.EL
- kernel-source RHEL 3 2.4.21-15.0.2.EL
- kernel-hugemem RHEL 3 2.4.21-15.0.2.EL
- kernel-unsupported RHEL 3 2.4.21-15.0.2.EL
- kernel-smp-unsupported RHEL 3 2.4.21-15.0.2.EL
- kernel-hugemem-unsupported RHEL 3 2.4.21-15.0.2.EL
red hat advisories RHSA-2004:255
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2004-0427 updated
security flaw
-
Red Hat Desktop version 3 kernel 2.4.21-15.0.2.EL, kernel-smp 2.4.21-15.0.2.EL, kernel-BOOT 2.4.21-15.0.2.EL, kernel-source 2.4.21-15.0.2.EL, kernel-hugemem 2.4.21-15.0.2.EL, kernel-unsupported 2.4.21-15.0.2.EL, +2 more Red Hat Enterprise Linux AS version 3 kernel 2.4.21-15.0.2.EL, kernel-smp 2.4.21-15.0.2.EL, kernel-BOOT 2.4.21-15.0.2.EL, kernel-source 2.4.21-15.0.2.EL, kernel-hugemem 2.4.21-15.0.2.EL, kernel-unsupported 2.4.21-15.0.2.EL, +2 more Red Hat Enterprise Linux ES version 3 kernel 2.4.21-15.0.2.EL, kernel-smp 2.4.21-15.0.2.EL, kernel-BOOT 2.4.21-15.0.2.EL, kernel-source 2.4.21-15.0.2.EL, kernel-hugemem 2.4.21-15.0.2.EL, kernel-unsupported 2.4.21-15.0.2.EL, +2 more Red Hat Enterprise Linux WS version 3 kernel 2.4.21-15.0.2.EL, kernel-smp 2.4.21-15.0.2.EL, kernel-BOOT 2.4.21-15.0.2.EL, kernel-source 2.4.21-15.0.2.EL, kernel-hugemem 2.4.21-15.0.2.EL, kernel-unsupported 2.4.21-15.0.2.EL, +2 morefixed: vendor fix RHSA-2004:255
-
Red Hat Linux Advanced Workstation 2.1fixed: vendor fix RHSA-2004:327
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
- Technology feeds
References
-
redhat.com
/support/errata/RHSA-2004-327.html
vendor-advisory, broken-link
-
debian.org
/security/2006/dsa-1082
vendor-advisory, broken-link
-
redhat.com
/support/errata/RHSA-2004-255.html
vendor-advisory, broken-link
-
fedoranews.org
/updates/FEDORA-2004-111.shtml
vendor-advisory, third-party-advisory
-
redhat.com
/support/errata/RHSA-2004-260.html
vendor-advisory, broken-link
-
novell.com
/linux/security/advisories/2004_10_kernel.html
vendor-advisory, broken-link
-
debian.org
/security/2006/dsa-1070
vendor-advisory, broken-link
-
mandriva.com
/security/advisories?name=MDKSA-2004:037
vendor-advisory, third-party-advisory
-
turbolinux.com
/security/2004/TLSA-2004-14.txt
vendor-advisory, broken-link
-
debian.org
/security/2006/dsa-1067
vendor-advisory, broken-link
-
distro.conectiva.com.br
/atualizacoes/?id=a&anuncio=000846
vendor-advisory, broken-link
-
debian.org
/security/2006/dsa-1069
vendor-advisory, broken-link
-
security.gentoo.org
/glsa/glsa-200407-02.xml
vendor-advisory, broken-link
-
secunia.com
/advisories/20163
third-party-advisory, broken-link
-
secunia.com
/advisories/11464
third-party-advisory, broken-link
-
linux.bkbits.net
/linux-2.6/cset%40407b1217x4jtqEkpFW2g_-RcF0726A
broken-link
-
exchange.xforce.ibmcloud.com
/vulnerabilities/16002
vdb-entry, third-party-advisory
-
secunia.com
/advisories/11861
third-party-advisory, broken-link
-
marc.info
/?l=linux-kernel&m=108139073506983&w=2
mailing-list, third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10297
vdb-entry, signature, broken-link
-
secunia.com
/advisories/20162
third-party-advisory, broken-link
-
secunia.com
/advisories/11891
third-party-advisory, broken-link
-
secunia.com
/advisories/11486
third-party-advisory, broken-link
-
secunia.com
/advisories/11541
third-party-advisory, broken-link
-
linux.bkbits.net
/linux-2.4/cset%40407bf20eDeeejm8t36_tpvSE-8EFHA
broken-link
-
securityfocus.com
/bid/10221
vdb-entry, broken-link, third-party-advisory
-
secunia.com
/advisories/11429
third-party-advisory, broken-link
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2819
vdb-entry, signature, broken-link
-
ciac.org
/ciac/bulletins/o-164.shtml
third-party-advisory, government-resource, broken-link
-
secunia.com
/advisories/20202
third-party-advisory, broken-link
-
secunia.com
/advisories/11892
third-party-advisory, broken-link
-
secunia.com
/advisories/20338
third-party-advisory
Sources
- CVE List CVE-2004-0427
- NVD CVE-2004-0427
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.