Secunia Logo
 
Linux Kernel "mremap()" Missing Return Value Checking Privilege Escalation
Secunia Advisory: SA10897
Release Date: 2004-02-18
Last Update: 2004-03-02
Popularity: 14,954 views

Critical:
Less critical
Impact: Privilege escalation
Where: Local system
Solution Status: Vendor Patch

OS:Linux Kernel 2.2.x
Linux Kernel 2.4.x
Linux Kernel 2.6.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2004-0077


Description:
Paul Starzetz has reported a vulnerability in the Linux kernel, which can be exploited by malicious, local users to gain escalated privileges on a vulnerable system.

The problem is that the "mremap()" system call doesn't check values returned by the "do_munmap()" kernel function when moving VMAs (Virtual Memory Areas) or parts thereof.

Successful exploitation allows execution of arbitrary code with kernel level privileges.

The following versions are reportedly affected:
* Branch 2.2.x up to 2.2.25
* Branch 2.4.x up to 2.4.24
* Branch 2.6.x up to 2.6.2

An exploit is available.

NOTE: This is not the same vulnerability as the one reported early January 2004 in the same system call.

Solution:
Update to a non-vulnerable version.
http://www.kernel.org/

Grant only trusted users access to an affected system.

Provided and/or discovered by:
Paul Starzetz

Changelog:
2004-03-02: Updated "Description" section.

Original Advisory:
http://isec.pl/vulnerabilities/isec-0014-mremap-unmap.txt

Other References:
SA10532:
http://secunia.com/advisories/10532/


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 41 views
2. Sun Java JDK / JRE Multiple Vulnerabilities // 37 views
3. Microsoft XML Core Services Multiple Vulnerabilities // 29 views
4. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 28 views
5. Apple iPhone / iPod touch Multiple Vulnerabilities // 28 views
6. ClipShare "chid" SQL Injection Vulnerability // 25 views
7. Adobe Acrobat/Reader Multiple Vulnerabilities // 19 views
8. Avaya CMS Solaris "sadmind" Buffer Overflow Vulnerability // 19 views
9. Zeroboard Multiple Vulnerabilities // 19 views
10. CAPICOM CAPICOM.Certificates ActiveX Control Vulnerability // 18 views