Bug 237473 - Linux <=2.6.26.5 wan: Missing capability checks in sbni_ioctl() (CVE-2008-3525)
Bug#: 237473 (CVE-2008-3525) Product:  Gentoo Security Version: unspecified Platform: All
OS/Version: Linux Status: NEW Severity: normal Priority: P2
Resolution:  Assigned To: security@gentoo.org Reported By: rbu@gentoo.org
Component: Kernel
URL:  http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f2455eb176ac87081bbfc9a44b21c7cd2bc1967e
Summary: Linux <=2.6.26.5 wan: Missing capability checks in sbni_ioctl() (CVE-2008-3525)
Keywords:  
Status Whiteboard: [linux <=2.6.26.5]
Opened: 2008-09-12 13:22 0000
Description:   Opened: 2008-09-12 13:22 0000
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 From Kerin Millar 2008-10-03 11:31:10 0000 -------
The relevant patch is included in versions 2.6.25-r7 and 2.6.26-r2 of
hardened-sources.

------- Comment #2 From Kerin Millar 2009-07-20 20:08:02 0000 -------
hardened-kernel unaffected at present time. Removing alias.

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