linux/drivers/net/wireless/iwlwifi
Johannes Berg 60765a47a4 iwlwifi: mvm: check sta_id/drain values in debugfs
The station ID must be valid, if it's out of range then
the array access may crash. Validate the station ID to
the array length, and also validate the drain value even
if that doesn't matter all that much.

Cc: stable@vger.kernel.org
Fixes: 8ca151b568 ("iwlwifi: add the MVM driver")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
2013-11-25 23:00:19 +02:00
..
dvm Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2013-11-08 09:03:10 -05:00
mvm iwlwifi: mvm: check sta_id/drain values in debugfs 2013-11-25 23:00:19 +02:00
pcie Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next 2013-11-05 15:53:10 -05:00
Kconfig iwlwifi: Kconfig: fix help texts wrt 7260 and 3160 devices 2013-08-16 12:11:47 +02:00
Makefile iwlwifi: remove testmode 2013-06-18 11:51:57 +02:00
iwl-1000.c iwlwifi: move some configuration parameters into DVM 2013-05-27 13:11:42 +02:00
iwl-2000.c iwlwifi: move some configuration parameters into DVM 2013-05-27 13:11:42 +02:00
iwl-5000.c iwlwifi: move some configuration parameters into DVM 2013-05-27 13:11:42 +02:00
iwl-6000.c iwlwifi: pcie: add SKUs for 6000, 6005 and 6235 series 2013-10-02 11:25:38 +02:00
iwl-7000.c iwlwifi: Support 7265 devices 2013-10-11 10:01:28 +02:00
iwl-agn-hw.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-config.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-11-04 14:45:14 -05:00
iwl-csr.h iwlwifi: support Signed firmware image and Dual CPUs 2013-10-11 15:05:02 +02:00
iwl-debug.c iwlwifi: export symbols only conditionally 2013-03-06 16:47:56 +01:00
iwl-debug.h iwlwifi: introduce external debug level 2013-08-09 14:37:33 +02:00
iwl-devtrace.c iwlwifi: update copyright 2013-01-24 13:00:55 +01:00
iwl-devtrace.h mac80211: add control port protocol TX control flag 2013-08-12 14:09:29 +02:00
iwl-drv.c iwlwifi: support Signed firmware image and Dual CPUs 2013-10-11 15:05:02 +02:00
iwl-drv.h iwlwifi: include export.h instead of module.h 2013-06-11 20:16:26 +02:00
iwl-eeprom-parse.c iwlwifi: take valid ant for HT caps from TLV 2013-05-29 09:03:23 +02:00
iwl-eeprom-parse.h iwlwifi: take valid ant for HT caps from TLV 2013-05-29 09:03:23 +02:00
iwl-eeprom-read.c iwlwifi: export symbols only conditionally 2013-03-06 16:47:56 +01:00
iwl-eeprom-read.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-fh.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-fw-file.h iwlwifi: support Signed firmware image and Dual CPUs 2013-10-11 15:05:02 +02:00
iwl-fw.h iwlwifi: mvm: update UAPSD support TLV bits 2013-10-29 14:45:23 +01:00
iwl-io.c iwlwifi: remove duplicate includes 2013-10-29 19:42:36 +02:00
iwl-io.h iwlwifi: move dump_fh into common code 2013-07-16 13:12:54 +03:00
iwl-modparams.h iwlwifi: remove auto_agg module parameter 2013-06-18 11:51:56 +02:00
iwl-notif-wait.c iwlwifi: export symbols only conditionally 2013-03-06 16:47:56 +01:00
iwl-notif-wait.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-nvm-parse.c iwlwifi: mvm: Enable user set TX power 2013-07-31 11:04:59 +02:00
iwl-nvm-parse.h iwlwifi: take valid ant for HT caps from TLV 2013-05-29 09:03:23 +02:00
iwl-op-mode.h iwlwifi: fix some documentation typos 2013-08-06 10:33:58 +02:00
iwl-phy-db.c iwlwifi: remove calib channel section from PHY DB 2013-06-13 12:03:52 +02:00
iwl-phy-db.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-prph.h iwlwifi: pcie: clean RFKILL interrupt in AMPG 2013-10-02 18:00:37 +02:00
iwl-trans.h Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next 2013-11-05 15:53:10 -05:00