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

Bug 237959 (CVE-2008-4113)

Summary: Linux <2.6.26.4 sctp: fix random memory dereference with SCTP_HMAC_IDENT option (CVE-2008-4113)
Product: Gentoo Security Reporter: Robert Buchholz (RETIRED) <rbu>
Component: KernelAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: normal CC: kernel, kfm
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git;a=commit;h=d97240552cd98c4b07322f30f66fd9c3ba4171de
Whiteboard: [linux <2.6.25.17] [linux >=2.6.26 <2.6.26.4]
Package list:
Runtime testing required: ---

Description Robert Buchholz (RETIRED) gentoo-dev 2008-09-17 19:38:18 UTC
CVE-2008-4113 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-4113):
  The sctp_getsockopt_hmac_ident function in net/sctp/socket.c in the
  Stream Control Transmission Protocol (sctp) implementation in the
  Linux kernel before 2.6.26.4, when the SCTP-AUTH extension is
  enabled, relies on an untrusted length value to limit copying of data
  from kernel memory, which allows local users to obtain sensitive
  information via a crafted SCTP_HMAC_IDENT IOCTL request involving the
  sctp_getsockopt function.
Comment 1 RumpletonBongworth 2008-10-12 22:29:53 UTC
Some further observations:

* Also included as of 2.6.25.17 - updating the status whiteboard accordingly.

* Fixed in genpatches-2.6.25-11 (gentoo-sources currently being the only consumer)

* Fixed in >=hardened-sources-2.6.25-r6 and >=hardened-sources-2.6.26-r2