Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 263424 (CVE-2009-0787)

Summary: Linux <2.6.29 eCryptfs: Allocate a variable number of pages for file headers (CVE-2009-0787)
Product: Gentoo Security Reporter: Robert Buchholz (RETIRED) <rbu>
Component: KernelAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo, hardened-kernel+disabled, kernel
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8faece5f906725c10e7a1f6caf84452abadbdc7b
Whiteboard: [linux >=2.6.28 <2.6.28.9]
Package list:
Runtime testing required: ---

Description Robert Buchholz (RETIRED) gentoo-dev 2009-03-22 22:26:47 UTC
ecryptfs throughout 2.6.28 wrote sensitive kernel memory to files that could potentially be read by users.
Comment 1 Stefan Behte (RETIRED) gentoo-dev Security 2009-03-31 20:36:13 UTC
CVE-2009-0787 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-0787):
  The ecryptfs_write_metadata_to_contents function in the eCryptfs
  functionality in the Linux kernel 2.6.28 before 2.6.28.9 uses an
  incorrect size when writing kernel memory to an eCryptfs file header,
  which triggers an out-of-bounds read and allows local users to obtain
  portions of kernel memory.