Description
The cfg80211_wext_giwessid function in net/wireless/wext-compat.c in the Linux kernel before 2.6.36-rc3-next-20100831 does not properly initialize certain structure members, which allows local users to leverage an off-by-one error in the ioctl_standard_iw_point function in net/wireless/wext-core.c, and obtain potentially sensitive information from kernel heap memory, via vectors involving an SIOCGIWESSID ioctl call that specifies a large buffer size.
Affected products
- Canonical / Ubuntu Linux9.10 – 9.10
- Canonical / Ubuntu Linux9.04 – 9.04
- Canonical / Ubuntu Linux6.06 – 6.06
- Canonical / Ubuntu Linux8.04 – 8.04
- Canonical / Ubuntu Linux10.10 – 10.10
- Canonical / Ubuntu Linux10.04 – 10.04
- Linux / Linux kernel2.6.36
- Linux / Linux kernel2.6.36 – 2.6.36
- Linux / Linux kernel2.6.36 – 2.6.36
- Linux / Linux kernel2.6.36 – 2.6.36
- openSUSE / opensuse11.1 – 11.1
- SUSE / linux_enterprise_desktop11 – 11
- SUSE / linux_enterprise_real_time_extension11 – 11
- SUSE / linux_enterprise_server11 – 11
References
- VENDOR_ADVISORYhttp://www.ubuntu.com/usn/USN-1000-1
- MISChttp://www.redhat.com/support/errata/RHSA-2010-0771.html
- MISChttp://www.securityfocus.com/bid/42885
- MISChttp://git.kernel.org/?p=linux/kernel/git/linville/wireless-2.6.git%3Ba=commit%3Bh=42da2f948d949efd0111309f5827bf0298bcc9a4
- MISChttp://lkml.org/lkml/2010/8/30/127
- MISChttp://grsecurity.net/~spender/wireless-infoleak-fix2.patch
- MAILING_LISThttp://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html
- MISChttp://lkml.org/lkml/2010/8/30/351
- MISChttp://www.redhat.com/support/errata/RHSA-2010-0842.html
- MAILING_LISThttp://www.openwall.com/lists/oss-security/2010/08/31/1
- VENDOR_ADVISORYhttp://www.vupen.com/english/advisories/2011/0298
- MISChttp://lkml.org/lkml/2010/8/27/413
- MISChttp://forums.grsecurity.net/viewtopic.php?f=3&t=2290
- MISChttps://bugzilla.redhat.com/show_bug.cgi?id=628434
- VENDOR_ADVISORYhttp://secunia.com/advisories/41245
- MISChttp://www.kernel.org/pub/linux/kernel/v2.6/next/patch-v2.6.36-rc3-next-20100831.bz2
- MISChttp://lkml.org/lkml/2010/8/30/146
- MAILING_LISThttp://lists.opensuse.org/opensuse-security-announce/2010-11/msg00000.html