[lkml]   [2010]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] net: wireless, fix lock imbalance
On Wed, Jan 06, 2010 at 05:35:42PM +0100, Jiri Slaby wrote:
> One fail path in cfg80211_wext_siwscan omits to unlock rdev->mtx.
> Fix that.
> Trigerrable by "Scan for SSID" with long enough SSID (> 32).
> Signed-off-by: Jiri Slaby <>

Both this and the next one are already fixed in wireless-2.6...

commit 65486c8b30498dd274eea2c542696f22b63fe5b8
Author: Johannes Berg <>
Date: Wed Dec 23 15:33:35 2009 +0100

cfg80211: fix error path in cfg80211_wext_siwscan

If there's an invalid channel or SSID, the code leaks
the scan request. Always free the scan request, unless
it was successfully given to the driver.

Reported-by: Dan Carpenter <>
Signed-off-by: Johannes Berg <>
Acked-by: Dan Carpenter <>
Signed-off-by: John W. Linville <>

John W. Linville Someday the world will need a hero, and you might be all we have. Be ready.

 \ /
  Last update: 2010-01-06 21:03    [W:0.031 / U:1.552 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site