Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281178 (CVE-2009-2691) - Kernel: mm_for_maps() /proc/$pid/maps information disclosure (CVE-2009-2691)
Summary: Kernel: mm_for_maps() /proc/$pid/maps information disclosure (CVE-2009-2691)
Status: RESOLVED FIXED
Alias: CVE-2009-2691
Product: Gentoo Security
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Gentoo Security
URL: http://git.kernel.org/linus/13f0feafa...
Whiteboard: [linux < 2.6.31]
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-12 07:16 UTC by cilly
Modified: 2013-09-12 05:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cilly 2009-08-12 07:16:24 UTC
TITLE:
Linux Kernel "mm_for_maps()" Information Disclosure

SECUNIA ADVISORY ID:
SA36265

VERIFY ADVISORY:
http://secunia.com/advisories/36265/

DESCRIPTION:
A vulnerability has been reported in the Linux Kernel, which can be
exploited by malicious, local users to disclose potentially sensitive
information.

The vulnerability is caused due to an error within the
"mm_for_maps()" function in fs/proc/base.c. This can be exploited to
disclose the content of the "maps" and "smaps" files from the "/proc"
filesystem for a setuid process which is starting.

SOLUTION:
Fixed in the GIT repository:
http://git.kernel.org/linus/13f0feafa6b8aead57a2a328e2fca6a5828bf286
http://git.kernel.org/linus/00f89d218523b9bf6b522349c039d5ac80aa536d
http://git.kernel.org/linus/704b836cbf19e885f8366bccb2e4b0474346c02d
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-08-14 22:19:54 UTC
CVE-2009-2691 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-2691):
  The mm_for_maps function in fs/proc/base.c in the Linux kernel
  2.6.30.4 and earlier allows local users to read (1) maps and (2)
  smaps files under proc/ via vectors related to ELF loading, a setuid
  process, and a race condition.