Toke Høiland-Jørgensen
3d06535693
ath9k: Protect queue draining by rcu_read_lock()
...
commit 182b191710 upstream.
When ath9k was switched over to use the mac80211 intermediate queues,
node cleanup now drains the mac80211 queues. However, this call path is
not protected by rcu_read_lock() as it was previously entirely internal
to the driver which uses its own locking.
This leads to a possible rcu_dereference() without holding
rcu_read_lock(); but only if a station is cleaned up while having
packets queued on the TXQ. Fix this by adding the rcu_read_lock() to the
caller in ath9k.
Fixes: 50f08edf98 ("ath9k: Switch to using mac80211 intermediate software queues.")
Cc: stable@vger.kernel.org
Reported-by: Ben Greear <greearb@candelatech.com >
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk >
Signed-off-by: Kalle Valo <kvalo@codeaurora.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2018-04-19 08:56:20 +02:00
..
2017-11-02 11:10:55 +01:00
2018-04-19 08:56:18 +02:00
2017-11-02 11:10:55 +01:00
2018-02-25 11:07:52 +01:00
2018-03-28 18:24:37 +02:00
2017-12-14 09:53:13 +01:00
2018-02-07 11:12:20 -08:00
2018-04-08 14:26:32 +02:00
2017-11-02 11:10:55 +01:00
2018-04-19 08:56:18 +02:00
2018-04-19 08:56:19 +02:00
2018-01-10 09:31:19 +01:00
2017-11-02 11:10:55 +01:00
2018-04-12 12:32:16 +02:00
2018-04-12 12:32:14 +02:00
2018-02-16 20:23:09 +01:00
2018-04-12 12:32:15 +02:00
2017-12-25 14:26:30 +01:00
2018-04-08 14:26:32 +02:00
2017-12-20 10:10:34 +01:00
2018-04-12 12:32:13 +02:00
2017-11-02 11:10:55 +01:00
2018-03-24 11:01:28 +01:00
2018-03-19 08:42:47 +01:00
2018-04-19 08:56:20 +02:00
2017-11-02 11:10:55 +01:00
2018-02-28 10:19:39 +01:00
2017-11-02 11:10:55 +01:00
2018-02-16 20:22:56 +01:00
2017-11-02 11:10:55 +01:00
2018-02-07 11:12:26 -08:00
2017-08-28 17:15:16 +02:00
2018-04-12 12:32:20 +02:00
2018-04-19 08:56:17 +02:00
2018-03-19 08:42:47 +01:00
2017-11-02 11:10:55 +01:00
2018-04-19 08:56:16 +02:00
2018-04-19 08:56:20 +02:00
2017-11-02 11:10:55 +01:00
2018-03-24 11:01:26 +01:00
2018-04-08 14:26:27 +02:00
2017-12-17 15:08:00 +01:00
2017-11-04 15:01:50 +01:00
2018-03-28 18:24:49 +02:00
2018-04-12 12:32:20 +02:00
2018-04-12 12:32:20 +02:00
2018-03-24 11:01:26 +01:00
2018-04-12 12:32:14 +02:00
2017-11-02 11:10:55 +01:00
2018-03-19 08:42:50 +01:00
2017-12-20 10:10:38 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:53:12 +01:00
2017-11-02 11:10:55 +01:00
2018-04-12 12:32:18 +02:00
2018-04-19 08:56:16 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-29 17:53:46 +01:00
2018-04-08 14:26:31 +02:00
2018-04-12 12:32:20 +02:00
2018-04-12 12:32:20 +02:00
2018-01-17 09:45:27 +01:00
2018-04-19 08:56:20 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-28 18:24:41 +02:00
2018-04-12 12:32:16 +02:00
2017-11-02 11:10:55 +01:00
2018-03-03 10:24:37 +01:00
2017-11-02 11:10:55 +01:00
2017-12-29 17:53:47 +01:00
2018-04-08 14:26:31 +02:00
2018-04-19 08:56:17 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-04-08 14:26:30 +02:00
2018-04-12 12:32:16 +02:00
2018-03-24 11:01:23 +01:00
2017-11-02 11:10:55 +01:00
2018-04-12 12:32:17 +02:00
2017-09-08 18:26:51 -07:00
2017-11-02 11:10:55 +01:00
2018-03-19 08:42:51 +01:00
2017-12-14 09:53:08 +01:00
2017-11-02 11:10:55 +01:00
2018-03-15 10:54:28 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-20 10:10:29 +01:00
2018-04-12 12:32:13 +02:00
2018-04-19 08:56:18 +02:00
2017-11-02 11:10:55 +01:00
2018-04-19 08:56:18 +02:00
2017-11-02 11:10:55 +01:00
2018-03-31 18:10:42 +02:00
2018-04-12 12:32:14 +02:00
2017-08-28 13:52:22 +02:00
2017-11-02 11:10:55 +01:00
2018-04-12 12:32:17 +02:00
2018-04-12 12:32:21 +02:00
2017-12-25 14:26:24 +01:00
2018-04-12 12:32:21 +02:00
2017-12-20 10:10:24 +01:00
2018-04-12 12:32:19 +02:00
2018-04-12 12:32:19 +02:00
2018-04-08 14:26:30 +02:00
2017-11-02 11:10:55 +01:00
2018-03-08 22:41:06 -08:00
2018-04-19 08:56:16 +02:00
2018-04-12 12:32:16 +02:00
2017-08-29 08:52:51 -05:00
2018-03-15 10:54:32 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-04-12 12:32:13 +02:00
2018-03-03 10:24:37 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-25 11:07:53 +01:00