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

Bug 234812 (CVE-2008-3534)

Summary: Linux <2.6.26.1 tmpfs: fix kernel BUG in shmem_delete_inode (CVE-2008-3534)
Product: Gentoo Security Reporter: Robert Buchholz (RETIRED) <rbu>
Component: KernelAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: normal CC: kernel
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=14fcc23fdc78e9d32372553ccf21758a9bd56fa1
Whiteboard: [linux <2.6.25.14] [linux >=2.6.26 <2.6.26.1]
Package list:
Runtime testing required: ---

Description Robert Buchholz (RETIRED) gentoo-dev 2008-08-15 12:47:43 UTC
CVE-2008-3534 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-3534):
  The shmem_delete_inode function in mm/shmem.c in the tmpfs implementation in
  the Linux kernel before 2.6.26.1 allows local users to cause a denial of
  service (system crash) via a certain sequence of file create, remove, and
  overwrite operations, as demonstrated by the insserv program, related to
  allocation of "useless pages" and improper maintenance of the i_blocks count.
Comment 1 Robert Buchholz (RETIRED) gentoo-dev 2008-08-15 12:49:45 UTC
Fixed in 2.6.25.14 and 2.6.26.1
Comment 2 kfm 2009-07-20 22:46:49 UTC
Beware, the patch introduced an independent bug which was subsequently fixed in 2.6.25.17 and 2.6.26.4 respectively:

"fbdefio: add set_page_dirty handler to deferred IO FB"
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d847471d063663b9f36927d265c66a270c0cfaab

Anyhow, hardened-kernel unaffected at present time. Removing alias.

PS: genpatches-2.6.25-10 added 2.6.25.14. genpatches-2.6.25-3 added 2.6.26.1.