Missing release of memory after effective lifetime in Linux kernel - CVE-2004-0427

 

Missing release of memory after effective lifetime in Linux kernel - CVE-2004-0427

Published: July 7, 2004 / Updated: January 26, 2024


Vulnerability identifier: #VU95774
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2004-0427
CWE-ID: CWE-401
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a local user to perform service disruption.

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.


How to mitigate CVE-2004-0427

Install update from vendor's repository.

Sources