7.2
CWE
NVD-CWE-Other
Advisory Published
CVE Published
Updated

CVE-2004-0077

First published: Wed Mar 03 2004(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Red Hat Kernel Documentation=2.4.20-8
Red Hat Kernel-modules=2.4.20-8
Red Hat BigMem Kernel=2.4.20-8
Red Hat Kernel-modules=2.4.20-8
Red Hat Kernel-modules=2.4.20-8
Red Hat Kernel Source=2.4.20-8
Linux Kernel=2.2.0
Linux Kernel=2.2.1
Linux Kernel=2.2.2
Linux Kernel=2.2.3
Linux Kernel=2.2.4
Linux Kernel=2.2.5
Linux Kernel=2.2.6
Linux Kernel=2.2.7
Linux Kernel=2.2.8
Linux Kernel=2.2.9
Linux Kernel=2.2.10
Linux Kernel=2.2.11
Linux Kernel=2.2.12
Linux Kernel=2.2.13
Linux Kernel=2.2.14
Linux Kernel=2.2.15
Linux Kernel=2.2.15-pre16
Linux Kernel=2.2.15_pre20
Linux Kernel=2.2.16
Linux Kernel=2.2.16-pre6
Linux Kernel=2.2.17
Linux Kernel=2.2.18
Linux Kernel=2.2.19
Linux Kernel=2.2.20
Linux Kernel=2.2.21
Linux Kernel=2.2.22
Linux Kernel=2.2.23
Linux Kernel=2.2.24
Linux Kernel=2.4.0
Linux Kernel=2.4.0-test1
Linux Kernel=2.4.0-test10
Linux Kernel=2.4.0-test11
Linux Kernel=2.4.0-test12
Linux Kernel=2.4.0-test2
Linux Kernel=2.4.0-test3
Linux Kernel=2.4.0-test4
Linux Kernel=2.4.0-test5
Linux Kernel=2.4.0-test6
Linux Kernel=2.4.0-test7
Linux Kernel=2.4.0-test8
Linux Kernel=2.4.0-test9
Linux Kernel=2.4.1
Linux Kernel=2.4.2
Linux Kernel=2.4.3
Linux Kernel=2.4.4
Linux Kernel=2.4.5
Linux Kernel=2.4.6
Linux Kernel=2.4.7
Linux Kernel=2.4.8
Linux Kernel=2.4.9
Linux Kernel=2.4.10
Linux Kernel=2.4.11
Linux Kernel=2.4.12
Linux Kernel=2.4.13
Linux Kernel=2.4.14
Linux Kernel=2.4.15
Linux Kernel=2.4.16
Linux Kernel=2.4.17
Linux Kernel=2.4.18
Linux Kernel=2.4.18
Linux Kernel=2.4.18-pre1
Linux Kernel=2.4.18-pre2
Linux Kernel=2.4.18-pre3
Linux Kernel=2.4.18-pre4
Linux Kernel=2.4.18-pre5
Linux Kernel=2.4.18-pre6
Linux Kernel=2.4.18-pre7
Linux Kernel=2.4.18-pre8
Linux Kernel=2.4.19
Linux Kernel=2.4.19-pre1
Linux Kernel=2.4.19-pre2
Linux Kernel=2.4.19-pre3
Linux Kernel=2.4.19-pre4
Linux Kernel=2.4.19-pre5
Linux Kernel=2.4.19-pre6
Linux Kernel=2.4.20
Linux Kernel=2.4.21
Linux Kernel=2.4.21-pre1
Linux Kernel=2.4.21-pre4
Linux Kernel=2.4.21-pre7
Linux Kernel=2.4.22
Linux Kernel=2.4.23
Linux Kernel=2.4.23-pre9
Linux Kernel=2.4.24
Linux Kernel=2.6.0
Linux Kernel=2.6.0-test1
Linux Kernel=2.6.0-test10
Linux Kernel=2.6.0-test11
Linux Kernel=2.6.0-test2
Linux Kernel=2.6.0-test3
Linux Kernel=2.6.0-test4
Linux Kernel=2.6.0-test5
Linux Kernel=2.6.0-test6
Linux Kernel=2.6.0-test7
Linux Kernel=2.6.0-test8
Linux Kernel=2.6.0-test9
Linux Kernel=2.6.1-rc1
Linux Kernel=2.6.1-rc2
Linux Kernel=2.6.2
Linux Kernel=2.6_test9_cvs
netwosix Linux=1.0
Trustix Secure Linux=1.5
Trustix Secure Linux=2.0
Red Hat Kernel-modules=2.4.20-8
Red Hat Kernel-modules=2.4.20-8

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2004-0077?

    CVE-2004-0077 is classified as a local privilege escalation vulnerability.

  • How do I fix CVE-2004-0077?

    To mitigate CVE-2004-0077, users should upgrade to Linux kernel version 2.6.3 or later.

  • What systems are affected by CVE-2004-0077?

    CVE-2004-0077 affects Linux kernel versions from 2.2 up to 2.6.2.

  • Can CVE-2004-0077 be exploited remotely?

    CVE-2004-0077 requires local access to the system, hence it cannot be exploited remotely.

  • What types of attacks can exploit CVE-2004-0077?

    CVE-2004-0077 allows local users to gain root privileges on the affected system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203