NetSight
high7.2Public exploit code

CVE-2004-0077

The do_mremap function for the mremap system call in Linux 2.2 to 2.2.25, 2.4 to 2.4.24, and 2.6 to 2.6.2, does not properly check the return value from the do…

Public exploit code

Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.

Impact

The do_mremap function for the mremap system call in Linux 2.2 to 2.2.25, 2.4 to 2.4.24, and 2.6 to 2.6.2, does not properly check the return value from the do_munmap function when the maximum number of VMA descriptors is exceeded, which allows local users to gain root privileges, a different vulnerability than CAN-2003-0985.

Affected products

VendorProductAffected versions
RedhatBigmem Kernel
Version 2.4.20-8
RedhatKernel
Version 2.4.20-8
RedhatKernel Doc
Version 2.4.20-8
RedhatKernel Source
Version 2.4.20-8
LinuxLinux Kernel
Versions 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5
NetwosixNetwosix Linux
Version 1.0
TrustixSecure Linux
Versions 1.5, 2.0

References