Johannes Berg cd87a2d3a3 mac80211: fix use-after-free
commit 8c0c709eea5cbab97fb464cd68b06f24acc58ee1
Author: Johannes Berg <johannes@sipsolutions.net>
Date:   Wed Nov 25 17:46:15 2009 +0100

    mac80211: move cmntr flag out of rx flags

moved the CMTR flag into the skb's status, and
in doing so introduced a use-after-free -- when
the skb has been handed to cooked monitors the
status setting will touch now invalid memory.

Additionally, moving it there has effectively
discarded the optimisation -- since the bit is
only ever set on freed SKBs, and those were a
copy, it could never be checked.

For the current release, fixing this properly
is a bit too involved, so let's just remove the
problematic code and leave userspace with one
copy of each frame for each virtual interface.

Cc: stable@kernel.org [2.6.33+]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-09-24 15:21:55 -04:00
..
2010-08-02 14:28:36 -05:00
2010-08-04 21:53:17 -07:00
2010-04-20 16:37:13 -07:00
2010-07-22 14:14:47 -07:00
2010-08-03 00:31:48 -07:00
2010-07-18 15:07:14 -07:00
2010-06-11 18:37:08 -07:00
2010-08-07 20:24:28 -07:00
2010-08-04 21:53:17 -07:00
2010-06-03 03:21:52 -07:00
2010-05-17 23:23:13 -07:00
2010-08-04 21:53:17 -07:00
2010-09-24 15:21:55 -04:00
2010-04-20 16:37:13 -07:00
2010-05-29 00:18:48 -07:00
2010-08-01 00:32:12 -07:00
2010-05-17 17:39:28 -07:00