Files
linux/net/mac80211
Stanislaw Gruszka eb221774b3 mac80211: fix possible tid_rx->reorder_timer use after free
commit d72308bff5 upstream.

Is possible that we will arm the tid_rx->reorder_timer after
del_timer_sync() in ___ieee80211_stop_rx_ba_session(). We need to stop
timer after RCU grace period finish, so move it to
ieee80211_free_tid_rx(). Timer will not be armed again, as
rcu_dereference(sta->ampdu_mlme.tid_rx[tid]) will return NULL.

Debug object detected problem with the following warning:
ODEBUG: free active (active state 0) object type: timer_list hint: sta_rx_agg_reorder_timer_expired+0x0/0xf0 [mac80211]

Bug report (with all warning messages):
https://bugzilla.redhat.com/show_bug.cgi?id=804007

Reported-by: "jan p. springer" <jsd@igroup.org>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-13 08:14:06 -07:00
..
2011-05-16 14:10:41 -04:00
2009-07-10 15:01:49 -04:00
2011-05-16 14:10:41 -04:00
2011-06-08 14:19:05 -04:00
2011-05-16 14:10:41 -04:00
2011-01-05 16:07:12 -05:00
2012-02-29 16:33:40 -08:00
2011-05-16 14:10:41 -04:00
2011-05-05 14:59:20 -04:00
2011-03-31 11:26:23 -03:00
2010-12-22 15:44:22 -05:00
2010-01-05 16:21:40 -05:00