Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   OS (Linux)  >   Linux Kernel Vendors:
(Exploit Code is Available) Linux Kernel mremap() Improper Bounds Checking Lets Local Users Gain Root Privileges
SecurityTracker Alert ID:  1009270
SecurityTracker URL:
CVE Reference:   CVE-2003-0985   (Links to External Site)
Date:  Mar 1 2004
Impact:   Denial of service via local system, Execution of arbitrary code via local system, Root access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  Exploit Included:  Yes  
Version(s): 2.4.x, 2.6.x
Description:   A vulnerability was reported in the Linux kernel do_mremap() function. A local user can gain elevated privileges.

Paul Starzetz and Wojciech Purczynski of iSEC Security Research reported that the mremap(2) system call does not perform proper bounds checking in the do_mremap() kernel code. A local user can reportedly cause the kernel to remap memory and create a virtual memory area that is 0 bytes in length.

According to the report, a local user can gain root privileges on the system through non-trivial exploit methods.

The original advisory is available at:

A more detailed advisory, including demonstration exploit code, is available at:

Impact:   A local user can execute arbitrary code with root privileges. A local user can also cause denial of service conditions on the system.
Solution:   Fixes are reportedly available (or pending) for various Linux kernel distributions. As the distributors release their fixes, separate Alerts will be issued [see the Message History].
Vendor URL: (Links to External Site)
Cause:   Boundary error

Message History:   This archive entry is a follow-up to the message listed below.
Jan 5 2004 Linux Kernel mremap() Improper Bounds Checking Lets Local Users Gain Root Privileges

 Source Message Contents

Subject:  [Full-Disclosure] mremap(2) full details available

Hash: SHA1

Full details about the mremap(2) vulnerability are now available:


- -- 
Paul Starzetz
iSEC Security Research

Version: GnuPG v1.0.7 (GNU/Linux)


Full-Disclosure - We believe in it.


Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC