This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 718152 - (CVE-2011-2517) CVE-2011-2517 kernel: nl80211: missing check for valid SSID size in scan operations
CVE-2011-2517 kernel: nl80211: missing check for valid SSID size in scan oper...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
public=20110518,reported=20110611,sou...
: Security
Depends On: 718154 718155 718156 718157 718158 753005
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-01 04:39 EDT by Petr Matousek
Modified: 2015-02-16 10:42 EST (History)
14 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-03-28 18:09:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Petr Matousek 2011-07-01 04:39:31 EDT
In both trigger_scan and sched_scan operations, we were checking for the SSID length before assigning the value correctly.  Since the memory was just kzalloc'ed, the check was always failing and SSID with over 32 characters were allowed to go through.

This is causing a buffer overflow when copying the actual SSID to the proper place.

Upstream fixes:
http://git.kernel.org/linus/208c72f4fe44fe09577e7975ba0e7fa0278f3d03
http://git.kernel.org/linus/57a27e1d6a3bb9ad4efeebd3a8c71156d6207536
Comment 4 Petr Matousek 2011-07-20 17:26:20 EDT
Statement:

This issue did not affect the versions of Linux kernel as shipped with Red Hat
Enterprise Linux 4 as it did not provide support for the Linux wireless LAN (802.11) configuration API. This has been addressed in Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG via https://rhn.redhat.com/errata/RHSA-2011-1212.html, https://rhn.redhat.com/errata/RHSA-2011-1189.html, and https://rhn.redhat.com/errata/RHSA-2011-1253.html.
Comment 8 errata-xmlrpc 2011-08-23 10:42:08 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:1189 https://rhn.redhat.com/errata/RHSA-2011-1189.html
Comment 9 errata-xmlrpc 2011-09-12 15:44:41 EDT
This issue has been addressed in following products:

  MRG for RHEL-6 v.2

Via RHSA-2011:1253 https://rhn.redhat.com/errata/RHSA-2011-1253.html
Comment 10 errata-xmlrpc 2011-09-13 11:44:10 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2011:1212 https://rhn.redhat.com/errata/RHSA-2011-1212.html
Comment 12 errata-xmlrpc 2011-12-13 16:29:13 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5.6.Z - Server Only

Via RHSA-2011:1813 https://rhn.redhat.com/errata/RHSA-2011-1813.html

Note You need to log in before you can comment on or make changes to this bug.