Lucene search

K
suseSuseSUSE-SA:2004:003
HistoryJan 15, 2004 - 3:10 p.m.

local system compromise in Linux Kernel (x86_64, AMD64)

2004-01-1515:10:36
lists.opensuse.org
19

0.0004 Low

EPSS

Percentile

10.9%

The do_mremap() function of the Linux Kernel is used to manage (move, resize) Virtual Memory Areas (VMAs). By exploiting an incorrect bounds check in do_mremap() during the remapping of memory it is possible to create a VMA with the size of 0. In normal operation do_mremap() leaves a memory hole of one page and creates an additional VMA of two pages. In case of exploitation no hole is created but the new VMA has a 0 bytes length. The Linux Kernel’s memory management is corrupted from this point and can be abused by local users to gain root privileges. Additionally Andi Kleen of SUSE LINUX found and fixed another bug in the 32bit emulation of ptrace() which allows to modify CPU registers from user-space to get full access to system ressources.