linux/drivers/net/wireless/intel
Luca Coelho 3d71c3f1f5 iwlwifi: mvm: check return value of rs_rate_from_ucode_rate()
The rs_rate_from_ucode_rate() function may return -EINVAL if the rate
is invalid, but none of the callsites check for the error, potentially
making us access arrays with index IWL_RATE_INVALID, which is larger
than the arrays, causing an out-of-bounds access.  This will trigger
KASAN warnings, such as the one reported in the bugzilla issue
mentioned below.

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=200659

Cc: stable@vger.kernel.org
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-10-13 14:48:44 +03:00
..
ipw2x00 ipw2x00: Remove unnecessary parentheses 2018-10-01 18:30:26 +03:00
iwlegacy iwlegacy: fix spelling mistake "acumulative" -> "accumulative" 2018-08-09 18:14:12 +03:00
iwlwifi iwlwifi: mvm: check return value of rs_rate_from_ucode_rate() 2018-10-13 14:48:44 +03:00
Kconfig net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
Makefile