CVE-2004-0077

Summary

CVECVE-2004-0077
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2004-03-03 05:00:00 UTC
Updated2025-04-03 01:03:51 UTC
DescriptionThe do_mremap function for the mremap system call in Linux 2.2 to 2.2.25, 2.4 to 2.4.24, and 2.6 to 2.6.2, does not properly check the return value from the do_munmap function when the maximum number of VMA descriptors is exceeded, which allows local users to gain root privileges, a different vulnerability than CAN-2003-0985.

Risk And Classification

Primary CVSS: v2.0 7.2 from [email protected]

AV:L/AC:L/Au:N/C:C/I:C/A:C

Problem Types: NVD-CWE-Other | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:L/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel 2.2.0 All All All
Operating System Linux Linux Kernel 2.2.1 All All All
Operating System Linux Linux Kernel 2.2.10 All All All
Operating System Linux Linux Kernel 2.2.11 All All All
Operating System Linux Linux Kernel 2.2.12 All All All
Operating System Linux Linux Kernel 2.2.13 All All All
Operating System Linux Linux Kernel 2.2.14 All All All
Operating System Linux Linux Kernel 2.2.15 All All All
Operating System Linux Linux Kernel 2.2.15 pre16 All All
Operating System Linux Linux Kernel 2.2.15_pre20 All All All
Operating System Linux Linux Kernel 2.2.16 All All All
Operating System Linux Linux Kernel 2.2.16 pre6 All All
Operating System Linux Linux Kernel 2.2.17 All All All
Operating System Linux Linux Kernel 2.2.18 All All All
Operating System Linux Linux Kernel 2.2.19 All All All
Operating System Linux Linux Kernel 2.2.2 All All All
Operating System Linux Linux Kernel 2.2.20 All All All
Operating System Linux Linux Kernel 2.2.21 All All All
Operating System Linux Linux Kernel 2.2.22 All All All
Operating System Linux Linux Kernel 2.2.23 All All All
Operating System Linux Linux Kernel 2.2.24 All All All
Operating System Linux Linux Kernel 2.2.3 All All All
Operating System Linux Linux Kernel 2.2.4 All All All
Operating System Linux Linux Kernel 2.2.5 All All All
Operating System Linux Linux Kernel 2.2.6 All All All
Operating System Linux Linux Kernel 2.2.7 All All All
Operating System Linux Linux Kernel 2.2.8 All All All
Operating System Linux Linux Kernel 2.2.9 All All All
Operating System Linux Linux Kernel 2.4.0 All All All
Operating System Linux Linux Kernel 2.4.0 test1 All All
Operating System Linux Linux Kernel 2.4.0 test10 All All
Operating System Linux Linux Kernel 2.4.0 test11 All All
Operating System Linux Linux Kernel 2.4.0 test12 All All
Operating System Linux Linux Kernel 2.4.0 test2 All All
Operating System Linux Linux Kernel 2.4.0 test3 All All
Operating System Linux Linux Kernel 2.4.0 test4 All All
Operating System Linux Linux Kernel 2.4.0 test5 All All
Operating System Linux Linux Kernel 2.4.0 test6 All All
Operating System Linux Linux Kernel 2.4.0 test7 All All
Operating System Linux Linux Kernel 2.4.0 test8 All All
Operating System Linux Linux Kernel 2.4.0 test9 All All
Operating System Linux Linux Kernel 2.4.1 All All All
Operating System Linux Linux Kernel 2.4.10 All All All
Operating System Linux Linux Kernel 2.4.11 All All All
Operating System Linux Linux Kernel 2.4.12 All All All
Operating System Linux Linux Kernel 2.4.13 All All All
Operating System Linux Linux Kernel 2.4.14 All All All
Operating System Linux Linux Kernel 2.4.15 All All All
Operating System Linux Linux Kernel 2.4.16 All All All
Operating System Linux Linux Kernel 2.4.17 All All All
Operating System Linux Linux Kernel 2.4.18 All All All
Operating System Linux Linux Kernel 2.4.18 All x86 All
Operating System Linux Linux Kernel 2.4.18 pre1 All All
Operating System Linux Linux Kernel 2.4.18 pre2 All All
Operating System Linux Linux Kernel 2.4.18 pre3 All All
Operating System Linux Linux Kernel 2.4.18 pre4 All All
Operating System Linux Linux Kernel 2.4.18 pre5 All All
Operating System Linux Linux Kernel 2.4.18 pre6 All All
Operating System Linux Linux Kernel 2.4.18 pre7 All All
Operating System Linux Linux Kernel 2.4.18 pre8 All All
Operating System Linux Linux Kernel 2.4.19 All All All
Operating System Linux Linux Kernel 2.4.19 pre1 All All
Operating System Linux Linux Kernel 2.4.19 pre2 All All
Operating System Linux Linux Kernel 2.4.19 pre3 All All
Operating System Linux Linux Kernel 2.4.19 pre4 All All
Operating System Linux Linux Kernel 2.4.19 pre5 All All
Operating System Linux Linux Kernel 2.4.19 pre6 All All
Operating System Linux Linux Kernel 2.4.2 All All All
Operating System Linux Linux Kernel 2.4.20 All All All
Operating System Linux Linux Kernel 2.4.21 All All All
Operating System Linux Linux Kernel 2.4.21 pre1 All All
Operating System Linux Linux Kernel 2.4.21 pre4 All All
Operating System Linux Linux Kernel 2.4.21 pre7 All All
Operating System Linux Linux Kernel 2.4.22 All All All
Operating System Linux Linux Kernel 2.4.23 All All All
Operating System Linux Linux Kernel 2.4.23 pre9 All All
Operating System Linux Linux Kernel 2.4.24 All All All
Operating System Linux Linux Kernel 2.4.3 All All All
Operating System Linux Linux Kernel 2.4.4 All All All
Operating System Linux Linux Kernel 2.4.5 All All All
Operating System Linux Linux Kernel 2.4.6 All All All
Operating System Linux Linux Kernel 2.4.7 All All All
Operating System Linux Linux Kernel 2.4.8 All All All
Operating System Linux Linux Kernel 2.4.9 All All All
Operating System Linux Linux Kernel 2.6.0 All All All
Operating System Linux Linux Kernel 2.6.0 test1 All All
Operating System Linux Linux Kernel 2.6.0 test10 All All
Operating System Linux Linux Kernel 2.6.0 test11 All All
Operating System Linux Linux Kernel 2.6.0 test2 All All
Operating System Linux Linux Kernel 2.6.0 test3 All All
Operating System Linux Linux Kernel 2.6.0 test4 All All
Operating System Linux Linux Kernel 2.6.0 test5 All All
Operating System Linux Linux Kernel 2.6.0 test6 All All
Operating System Linux Linux Kernel 2.6.0 test7 All All
Operating System Linux Linux Kernel 2.6.0 test8 All All
Operating System Linux Linux Kernel 2.6.0 test9 All All
Operating System Linux Linux Kernel 2.6.1 rc1 All All
Operating System Linux Linux Kernel 2.6.1 rc2 All All
Operating System Linux Linux Kernel 2.6.2 All All All
Operating System Linux Linux Kernel 2.6_test9_cvs All All All
Operating System Netwosix Netwosix Linux 1.0 All All All
Application Redhat Bigmem Kernel 2.4.20-8 All i686 All
Application Redhat Kernel 2.4.20-8 All athlon All
Application Redhat Kernel 2.4.20-8 All athlon_smp All
Application Redhat Kernel 2.4.20-8 All i386 All
Application Redhat Kernel 2.4.20-8 All i686_smp All
Application Redhat Kernel Doc 2.4.20-8 All i386 All
Application Redhat Kernel Source 2.4.20-8 All i386_src All
Operating System Trustix Secure Linux 1.5 All All All
Operating System Trustix Secure Linux 2.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Debian -- Security Information -- DSA-456-1 linux-kernel-2.2.19-arm af854a3a-2127-422b-91ae-364da2661108 www.debian.org
O-082: Red Hat Updated Kernel Packages Resolve Security Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.ciac.org
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
'TSLSA-2004-0007 - kernel' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com
Debian -- Security Information -- DSA-470-1 linux-kernel-2.4.17-hppa af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Home - Conectiva af854a3a-2127-422b-91ae-364da2661108 distro.conectiva.com.br
'TSLSA-2004-0008 - kernel' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
The Slackware Linux Project: Slackware Security Advisories af854a3a-2127-422b-91ae-364da2661108 www.slackware.com
Debian -- Security Information -- DSA-466-1 linux-kernel-2.2.10-powerpc-apus af854a3a-2127-422b-91ae-364da2661108 www.debian.org
FedoraNEWS.ORG af854a3a-2127-422b-91ae-364da2661108 fedoranews.org
Debian -- Security Information -- DSA-475-1 linux-kernel-2.4.18-hppa af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Debian -- Security Information -- DSA-453-1 linux-kernel-2.2.20-i386+m68k+powerpc af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Debian -- Security Information -- DSA-440-1 linux-kernel-2.4.17-powerpc-apus af854a3a-2127-422b-91ae-364da2661108 www.debian.org
redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Debian -- Security Information -- DSA-450-1 linux-kernel-2.4.19-mips af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Debian -- Security Information -- DSA-439-1 linux-kernel-2.4.16-arm af854a3a-2127-422b-91ae-364da2661108 www.debian.org Patch, Vendor Advisory
US-CERT Vulnerability Note VU#981222 af854a3a-2127-422b-91ae-364da2661108 www.kb.cert.org US Government Resource
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Debian -- Security Information -- DSA-514-1 kernel-image-sparc-2.2 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Debian -- Security Information -- DSA-438-1 linux-kernel-2.4.18-alpha+i386+powerpc af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Debian -- Security Information -- DSA-442-1 linux-kernel-2.4.17-s390 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Debian -- Security Information -- DSA-441-1 linux-kernel-2.4.17-mips+mipsel af854a3a-2127-422b-91ae-364da2661108 www.debian.org
www.osvdb.org/3986 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org
Debian -- Security Information -- DSA-454-1 linux-kernel-2.2.22-alpha af854a3a-2127-422b-91ae-364da2661108 www.debian.org
redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
isec.pl/vulnerabilities/isec-0014-mremap-unmap.txt af854a3a-2127-422b-91ae-364da2661108 isec.pl
Debian -- Security Information -- DSA-444-1 linux-kernel-2.4.17-ia64 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Advisories - Mandriva Linux af854a3a-2127-422b-91ae-364da2661108 frontal2.mandriva.com
Gentoo Linux Documentation -- Linux kernel do_mremap local privilege escalation vulnerability af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Patch, Vendor Advisory
'Second critical mremap() bug found in all Linux kernels' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
archives.neohapsis.com/archives/vulnwatch/2004-q1/0040.html af854a3a-2127-422b-91ae-364da2661108 archives.neohapsis.com
Linux Kernel do_mremap Function VMA Limit Local Privilege Escalation Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Exploit, Patch, Vendor Advisory
redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report