Skip to content
Fencer Intel
high 7.2

CVE-2004-0077 json

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 retu…

published 22y ago modified 5mo ago also EUVD-2004-0077

cvss
7.2
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.5%
EPSS 2.5% chance of exploitation in 30 days, percentile 84%
public exploits
2
Exploit-DB

Summary

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.

Patch / fix

  • kernel RHEL 3 2.4.21-9.0.1.EL
  • s390utils RHEL 3 2:1.2.4-3
  • kernel-smp RHEL 3 2.4.21-9.0.1.EL
  • kernel-BOOT RHEL 3 2.4.21-9.0.1.EL
  • kernel-source RHEL 3 2.4.21-9.0.1.EL
  • kernel-hugemem RHEL 3 2.4.21-9.0.1.EL
  • kernel-unsupported RHEL 3 2.4.21-9.0.1.EL
  • kernel-smp-unsupported RHEL 3 2.4.21-9.0.1.EL

red hat advisories RHSA-2004:066

Is CVE-2004-0077 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2004-0077 updated

security flaw

  • Red Hat Desktop version 3 kernel 2.4.21-9.0.1.EL, kernel-smp 2.4.21-9.0.1.EL, kernel-BOOT 2.4.21-9.0.1.EL, kernel-source 2.4.21-9.0.1.EL, kernel-hugemem 2.4.21-9.0.1.EL, kernel-unsupported 2.4.21-9.0.1.EL, +2 more Red Hat Enterprise Linux AS version 3 s390utils 1.2.4-3, kernel 2.4.21-9.0.1.EL, kernel-smp 2.4.21-9.0.1.EL, kernel-BOOT 2.4.21-9.0.1.EL, kernel-source 2.4.21-9.0.1.EL, kernel-hugemem 2.4.21-9.0.1.EL, +3 more
    fixed: vendor fix RHSA-2004:066
  • Red Hat Enterprise Linux ES version 2.1
    fixed: vendor fix RHSA-2004:069
  • Red Hat Enterprise Linux ES version 3 kernel 2.4.21-9.0.1.EL, kernel-smp 2.4.21-9.0.1.EL, kernel-BOOT 2.4.21-9.0.1.EL, kernel-source 2.4.21-9.0.1.EL, kernel-hugemem 2.4.21-9.0.1.EL, kernel-unsupported 2.4.21-9.0.1.EL, +2 more
    fixed: vendor fix RHSA-2004:066
  • Red Hat Enterprise Linux WS version 2.1
    fixed: vendor fix RHSA-2004:069
  • Red Hat Enterprise Linux WS version 3 kernel 2.4.21-9.0.1.EL, kernel-smp 2.4.21-9.0.1.EL, kernel-BOOT 2.4.21-9.0.1.EL, kernel-source 2.4.21-9.0.1.EL, kernel-hugemem 2.4.21-9.0.1.EL, kernel-unsupported 2.4.21-9.0.1.EL, +2 more
    fixed: vendor fix RHSA-2004:066
  • Red Hat Linux 9
    fixed: vendor fix RHSA-2004:065
  • Red Hat Linux Advanced Workstation 2.1
    fixed: vendor fix RHSA-2004:106

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (EDB-154)
  2. Published

Exploit prediction

2.45% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-24).

Exploits and checks

  • EDB-160 Linux Kernel 2.2.25/2.4.24/2.6.2 - 'mremap()' Local Privilege Escalation (LPE) local, 2004-03-01
  • EDB-154 Linux Kernel 2.2.25/2.4.24/2.6.2 - 'mremap()' Validator local, 2004-02-18
  • securityfocus.com http://www.securityfocus.com/bid/9686 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Classification

Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.