What’s Vulnerable › Vulnerabilities
CVE-2004-0077
- Severity: high (CVSS 7.2 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2004-03-03 · updated 2026-06-16
Description
The 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.
Affected products
- Linux kernel: 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5 (+93)
- Netwosix Linux: 1.0
- RedHat Bigmem Kernel: 2.4.20-8
- RedHat Kernel: 2.4.20-8
- RedHat Kernel Doc: 2.4.20-8
- RedHat Kernel Source: 2.4.20-8
- Trustix Secure Linux: 1.5, 2.0
References
- http://archives.neohapsis.com/archives/vulnwatch/2004-q1/0040.html
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000820
- http://fedoranews.org/updates/FEDORA-2004-079.shtml
- http://frontal2.mandriva.com/security/advisories?name=MDKSA-2004:015
- http://isec.pl/vulnerabilities/isec-0014-mremap-unmap.txt
- http://marc.info/?l=bugtraq&m=107711762014175&w=2
- http://marc.info/?l=bugtraq&m=107712137732553&w=2
- http://marc.info/?l=bugtraq&m=107755871932680&w=2
- http://security.gentoo.org/glsa/glsa-200403-02.xml
- http://www.ciac.org/ciac/bulletins/o-082.shtml
- http://www.debian.org/security/2004/dsa-438
- http://www.debian.org/security/2004/dsa-439
Get alerted when CVE-2004-0077 or the next vulnerability affects your stack