Linux Kernel Local RLIMIT_MEMLOCK Bypass Denial Of Service Vulnerability
BID:12197
Info
Linux Kernel Local RLIMIT_MEMLOCK Bypass Denial Of Service Vulnerability
| Bugtraq ID: | 12197 |
| Class: | Access Validation Error |
| CVE: |
CVE-2005-0179 |
| Remote: | No |
| Local: | Yes |
| Published: | Jan 07 2005 12:00AM |
| Updated: | Jul 12 2009 09:27AM |
| Credit: | Brad Spengler <[email protected]> is credited with the discovery of this vulnerability. |
| Vulnerable: |
Redhat Fedora Core3 Redhat Fedora Core2 Redhat Enterprise Linux WS 4 Redhat Enterprise Linux WS 3 Redhat Enterprise Linux ES 4 Redhat Enterprise Linux ES 3 Redhat Enterprise Linux AS 4 Redhat Enterprise Linux AS 3 Redhat Desktop 4.0 Redhat Desktop 3.0 Linux kernel 2.6.9 Linux kernel 2.6 .10 |
| Not Vulnerable: | |
Discussion
Linux Kernel Local RLIMIT_MEMLOCK Bypass Denial Of Service Vulnerability
The Linux kernel contains the capability to lock allocated memory. This capability is used by certain applications to ensure that memory is not swapped out of main memory and onto disk.
The Linux kernel is reported susceptible to a local denial of service vulnerability when handling locked memory pages. This issue is due to a failure of the kernel to properly enforce defined limits to the 'mlockall()' system call.
This vulnerability is reported to exist in versions 2.6.9 and 2.6.10 of the Linux kernel.
The Linux kernel contains the capability to lock allocated memory. This capability is used by certain applications to ensure that memory is not swapped out of main memory and onto disk.
The Linux kernel is reported susceptible to a local denial of service vulnerability when handling locked memory pages. This issue is due to a failure of the kernel to properly enforce defined limits to the 'mlockall()' system call.
This vulnerability is reported to exist in versions 2.6.9 and 2.6.10 of the Linux kernel.
Exploit / POC
Linux Kernel Local RLIMIT_MEMLOCK Bypass Denial Of Service Vulnerability
A proof of concept exploit was provided:
A proof of concept exploit was provided:
Solution / Fix
Linux Kernel Local RLIMIT_MEMLOCK Bypass Denial Of Service Vulnerability
Solution:
Conectiva has released a security advisory (CLA-2005:930) and fixes to address this and other issues. Please see the referenced advisory for further information regarding obtaining and applying appropriate updates.
RedHat has released two advisories called FEDORA-2005-013 and FEDORA-2005-014 to address this, and other issues for Fedora Core 2 and 3. Please see the referenced advisories for further information.
Red Hat has released advisory RHSA-2005:092-14 to address various issues in the kernel. Please see the advisory in Web references for more information.
RedHat Linux has released advisory RHSA-2005:663-19 to address this, and other issues in RedHat Enterprise Linux 3 operating systems. Please see the referenced advisory for further information.
Linux kernel 2.6.9
Solution:
Conectiva has released a security advisory (CLA-2005:930) and fixes to address this and other issues. Please see the referenced advisory for further information regarding obtaining and applying appropriate updates.
RedHat has released two advisories called FEDORA-2005-013 and FEDORA-2005-014 to address this, and other issues for Fedora Core 2 and 3. Please see the referenced advisories for further information.
Red Hat has released advisory RHSA-2005:092-14 to address various issues in the kernel. Please see the advisory in Web references for more information.
RedHat Linux has released advisory RHSA-2005:663-19 to address this, and other issues in RedHat Enterprise Linux 3 operating systems. Please see the referenced advisory for further information.
Linux kernel 2.6.9
-
Fedora kernel-2.6.10-1.737_FC3.i586.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora kernel-2.6.10-1.737_FC3.i686.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora kernel-2.6.10-1.737_FC3.x86_64.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora kernel-debuginfo-2.6.10-1.737_FC3.i586.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora kernel-debuginfo-2.6.10-1.737_FC3.i686.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora kernel-debuginfo-2.6.10-1.737_FC3.x86_64.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora kernel-doc-2.6.10-1.737_FC3.noarch.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora kernel-smp-2.6.10-1.737_FC3.i586.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora kernel-smp-2.6.10-1.737_FC3.i686.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/ -
Fedora kernel-smp-2.6.10-1.737_FC3.x86_64.rpm
RedHat Fedora Core 3
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
References
Linux Kernel Local RLIMIT_MEMLOCK Bypass Denial Of Service Vulnerability
References:
References: