CVE-2004-0427: 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…
Noroxi assessment
Priority: Monitor (action score 8/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.46% (FIRST EPSS).
- No special conditions are required; it is repeatable.
- Fixed version: kernel-image-sparc-2.4 (Debian:3.0) 26woody1; kernel-patch-2.4.19-mips (Debian:3.0) 2.4.19-0.020911.1.woody5; kernel-source-2.4.16 (Debian:3.0) 2.4.16-1woody2.
Low priority for now. Upgrade to kernel-image-sparc-2.4 (Debian:3.0) 26woody1; kernel-patch-2.4.19-mips (Debian:3.0) 2.4.19-0.020911.1.woody5; kernel-source-2.4.16 (Debian:3.0) 2.4.16-1woody2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 7, 2004
- Updated
- Jun 16, 2026
- EPSS
- 0.4% · 41th percentile
- CWE
- CWE-401
Report tools
Action score
8
Low priority for now.
- CVSS
- 8 / 40 · 2.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel2.4.0 and later · before 2.4.26
- linux linux kernel2.6.0 and later · before 2.6.6
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:3.0 | kernel-image-sparc-2.4 | before 26woody1 | 26woody1 |
| Debian:3.0 | kernel-patch-2.4.19-mips | before 2.4.19-0.020911.1.woody5 | 2.4.19-0.020911.1.woody5 |
| Debian:3.0 | kernel-source-2.4.16 | before 2.4.16-1woody2 | 2.4.16-1woody2 |
| Debian:3.0 | kernel-source-2.4.17 | before 2.4.17-1woody4 | 2.4.17-1woody4 |
| Debian:3.0 | kernel-source-2.4.18 | before 2.4.18-14.4 | 2.4.18-14.4 |
| Debian:3.0 | kernel-source-2.4.19 | before 2.4.19-4.woody3 | 2.4.19-4.woody3 |
| Red Hat:enterprise_linux:3::as | kernel | before 0:2.4.21-15.0.2.EL | 0:2.4.21-15.0.2.EL |
| Red Hat:enterprise_linux:3::as | kernel-BOOT | before 0:2.4.21-15.0.2.EL | 0:2.4.21-15.0.2.EL |
| Red Hat:enterprise_linux:3::as | kernel-debuginfo | before 0:2.4.21-15.0.2.EL | 0:2.4.21-15.0.2.EL |
| Red Hat:enterprise_linux:3::as | kernel-doc | before 0:2.4.21-15.0.2.EL | 0:2.4.21-15.0.2.EL |
| Red Hat:enterprise_linux:3::as | kernel-hugemem | before 0:2.4.21-15.0.2.EL | 0:2.4.21-15.0.2.EL |
| Red Hat:enterprise_linux:3::as | kernel-hugemem-unsupported | before 0:2.4.21-15.0.2.EL | 0:2.4.21-15.0.2.EL |
| Red Hat:enterprise_linux:3::as | kernel-smp | before 0:2.4.21-15.0.2.EL | 0:2.4.21-15.0.2.EL |
| Red Hat:enterprise_linux:3::as | kernel-smp-unsupported | before 0:2.4.21-15.0.2.EL | 0:2.4.21-15.0.2.EL |
| Red Hat:enterprise_linux:3::as | kernel-source | before 0:2.4.21-15.0.2.EL | 0:2.4.21-15.0.2.EL |
| Red Hat:enterprise_linux:3::as | kernel-unsupported | before 0:2.4.21-15.0.2.EL | 0:2.4.21-15.0.2.EL |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2004-0181Jun 1, 2004 · The JFS file system code in Linux 2.4.x has an information leak in which in-memory data is written to the device for the JFS file system…8Monitor
- ← EarlierCVE-2004-0424Jul 7, 2004 · Integer overflow in the ip_setsockopt function in Linux kernel 2.4.22 through 2.4.25 and 2.6.1 through 2.6.3 allows local users to cause a…28Monitor
- Later →CVE-2004-0447Aug 6, 2004 · Unknown vulnerability in Linux before 2.4.26 for IA64 allows local users to cause a denial of service, with unknown impact.28Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:kernel-image-sparc-2.4 | 26woody1 · Debian:3.0 | Package registry (OSV) |
| debian:kernel-patch-2.4.19-mips | 2.4.19-0.020911.1.woody5 · Debian:3.0 | Package registry (OSV) |
| debian:kernel-source-2.4.16 | 2.4.16-1woody2 · Debian:3.0 | Package registry (OSV) |
| debian:kernel-source-2.4.17 | 2.4.17-1woody4 · Debian:3.0 | Package registry (OSV) |
| debian:kernel-source-2.4.18 | 2.4.18-14.4 · Debian:3.0 | Package registry (OSV) |
| debian:kernel-source-2.4.19 | 2.4.19-4.woody3 · Debian:3.0 | Package registry (OSV) |
| red hat:kernel | 0:2.4.21-15.0.2.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-BOOT | 0:2.4.21-15.0.2.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:2.4.21-15.0.2.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-doc | 0:2.4.21-15.0.2.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-hugemem | 0:2.4.21-15.0.2.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-hugemem-unsupported | 0:2.4.21-15.0.2.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-smp | 0:2.4.21-15.0.2.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-smp-unsupported | 0:2.4.21-15.0.2.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-source | 0:2.4.21-15.0.2.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:kernel-unsupported | 0:2.4.21-15.0.2.EL · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
CWE-401 · Missing Release of Memory after Effective LifetimeCVSS vector
AV:L/AC:L/Au:N/C:N/I:N/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- ftp://patches.sgi.com/support/free/security/advisories/20040505-01-U.asc
- distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000846
- fedoranews.org/updates/FEDORA-2004-111.shtml
- linux.bkbits.net:8080/linux-2.4/cset%40407bf20eDeeejm8t36_tpvSE-8EFHA
- linux.bkbits.net:8080/linux-2.6/cset%40407b1217x4jtqEkpFW2g_-RcF0726A
- marc.info/?l=linux-kernel&m=108139073506983&w=2
- secunia.com/advisories/11429
- secunia.com/advisories/11464
- secunia.com/advisories/11486
- secunia.com/advisories/11541
- secunia.com/advisories/11861
- secunia.com/advisories/11891
- secunia.com/advisories/11892
- secunia.com/advisories/20162
- secunia.com/advisories/20163
- secunia.com/advisories/20202
- secunia.com/advisories/20338
- security.gentoo.org/glsa/glsa-200407-02.xml
- www.ciac.org/ciac/bulletins/o-164.shtml
Vendor advisories and official records. Exploit/PoC links are deliberately left out.