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

Bug 237473 (CVE-2008-3525)

Summary: Linux <=2.6.26.5 wan: Missing capability checks in sbni_ioctl() (CVE-2008-3525)
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=commit;h=f2455eb176ac87081bbfc9a44b21c7cd2bc1967e
Whiteboard: [linux <=2.6.26.5]
Package list:
Runtime testing required: ---

Description Robert Buchholz (RETIRED) gentoo-dev 2008-09-12 13:22:16 UTC
CVE-2008-3525 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-3525):
  The sbni_ioctl function in drivers/net/wan/sbni.c in the wan
  subsystem in the Linux kernel 2.6.26.3 does not check for the
  CAP_NET_ADMIN capability before processing a (1) SIOCDEVRESINSTATS,
  (2) SIOCDEVSHWSTATE, (3) SIOCDEVENSLAVE, or (4) SIOCDEVEMANSIPATE
  ioctl request, which allows local users to bypass intended capability
  restrictions.
Comment 1 kfm 2008-10-03 11:31:10 UTC
The relevant patch is included in versions 2.6.25-r7 and 2.6.26-r2 of hardened-sources.
Comment 2 kfm 2009-07-20 20:08:02 UTC
hardened-kernel unaffected at present time. Removing alias.

PS: Anything using >=genpatches-2.6.25-6 is unaffected