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

Bug 246359 (CVE-2008-5029)

Summary: Kernel: __scm_destroy in net/core/scm.c DOS (CVE-2008-5029)
Product: Gentoo Security Reporter: Stefan Behte (RETIRED) <craig>
Component: KernelAssignee: Gentoo Security <security>
Severity: minor CC: kernel, kuba
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: [linux <] [linux >=2.6.26 <] [linux >=2.6.27 <]
Package list:
Runtime testing required: ---

Description Stefan Behte (RETIRED) gentoo-dev Security 2008-11-11 00:25:38 UTC
CVE-2008-5029 (
  The __scm_destroy function in net/core/scm.c in the Linux kernel, 2.6.26, and earlier makes indirect recursive calls to
  itself through calls to the fput function, which allows local users
  to cause a denial of service (panic) via vectors related to sending
  an SCM_RIGHTS message through a UNIX domain socket and closing file
Comment 1 Robert Buchholz (RETIRED) gentoo-dev 2008-12-17 16:51:14 UTC
*** Bug 250399 has been marked as a duplicate of this bug. ***
Comment 2 kfm 2009-07-21 03:34:17 UTC
Populated Status Whiteboard. Here's the upstream patch:;a=commit;h=f8d570a4

Should this patch be applied independently, it is also strongly recommended to apply this related patch:

"scm: fix scm_fp_list->list initialization made in wrong place";a=commitdiff;h=5421ae0153b4ba0469967cfd8de96144e3bf3979

hardened-kernel unaffected at present time. Removing alias.

PS: genpatches-2.6.26-4 added genpatches-2.6.27-5 added =genpatches-2.6.25* remains vulnerable. However, hardened-sources-2.6.25-r13 does not because we independently folded in the newest stable patches.