Skip to content
OpenAdvisories
Unscored Public exploit CVE-2003-0985 EUVD-2003-0975GHSA-p4qr-c64v-fjhc

The mremap system call (do_mremap) in Linux kernel 2.4.x before 2.4.21, and possibly other versions before 2.4.24, does not properly perfor…

Published Sep 1, 2004 · Updated Aug 8, 2024 · Assigned by mitre

Description

The mremap system call (do_mremap) in Linux kernel 2.4.x before 2.4.21, and possibly other versions before 2.4.24, does not properly perform bounds checks, which allows local users to cause a denial of service and possibly gain privileges by causing a remapping of a virtual memory area (VMA) to create a zero length VMA, a different vulnerability than CAN-2004-0077.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 3.0 kernel-image-2.4.16-lart +2 2.4.16-20040204 DSA-439
Debian 3.0 kernel-image-2.4.17-hppa 32.3 DSA-470
Debian 3.0 kernel-image-2.4.17-ia64 kernel-image-2.4.17-ia64 DSA-423
Debian 3.0 kernel-image-2.4.17-s390 2.4.17-2.woody.3 DSA-442
Debian 3.0 kernel-image-2.4.18-1-alpha 2.4.18-12 DSA-417
Debian 3.0 kernel-image-2.4.18-1-i386 2.4.18-12.1 DSA-413
Debian 3.0 kernel-image-2.4.18-hppa 62.1 DSA-475
Debian 3.0 kernel-patch-2.4.16-arm 20040204 DSA-439
Debian 3.0 kernel-patch-2.4.17-mips 2.4.17-0.020226.2.woody3 DSA-427
Debian 3.0 kernel-patch-2.4.17-s390 0.0.20020816-0.woody.2 DSA-442
Debian 3.0 kernel-patch-2.4.18-powerpc 2.4.18-1woody3 DSA-417
Debian 3.0 kernel-patch-2.4.19-mips 2.4.19-4.woody1 DSA-450
Debian 3.0 kernel-source-2.4.17 +1 2.4.17-4 DSA-440
Debian 3.0 kernel-source-2.4.18 2.4.18-14.1 DSA-413
Debian 3.0 kernel-source-2.4.19 2.4.19-0.020911.1.woody3 DSA-450
ReleasePackageFixed inAdvisory
RHEL 3 kernel +8 2.4.21-4.0.2.EL RHSA-2003:416

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 3

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 11

References