linux_dsm_epyc7002/drivers/net/wireless/intel/iwlwifi
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
..
cfg wireless-drivers-next patches for 4.20 2018-10-07 10:31:24 -07:00
dvm iwlwifi: remove ucode error tracepoint 2018-09-28 08:57:22 +03:00
fw iwlwifi: dump debug data before stop device 2018-10-08 10:37:15 +03:00
mvm iwlwifi: mvm: check return value of rs_rate_from_ucode_rate() 2018-10-13 14:48:44 +03:00
pcie iwlwifi: trace: change trace to trace one TB at a time 2018-10-08 10:35:27 +03:00
iwl-agn-hw.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-config.h iwlwifi: fix devices with PCI Device ID 0x34F0 and 11ac RF modules 2018-08-31 11:38:42 +03:00
iwl-context-info-gen3.h iwlwifi: update gen3 interrupts - sw error and image response 2018-07-26 13:16:16 +03:00
iwl-context-info.h iwlwifi: pcie: set RB size according to user settings 2018-09-28 08:57:27 +03:00
iwl-csr.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-debug.c iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-debug.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-devtrace-data.h iwlwifi: trace: change trace to trace one TB at a time 2018-10-08 10:35:27 +03:00
iwl-devtrace-io.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-devtrace-iwlwifi.h iwlwifi: remove ucode error tracepoint 2018-09-28 08:57:22 +03:00
iwl-devtrace-msg.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-devtrace-ucode.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-devtrace.c iwlwifi: remove ucode error tracepoint 2018-09-28 08:57:22 +03:00
iwl-devtrace.h iwlwifi: add 80211 hdr offset to trace data 2018-08-31 11:38:29 +03:00
iwl-drv.c iwlwifi: add fall through comment 2018-10-06 10:25:51 +03:00
iwl-drv.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-eeprom-parse.c iwlwifi: Add missing 11n disable module parameter check 2018-08-31 11:38:36 +03:00
iwl-eeprom-parse.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-eeprom-read.c iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-eeprom-read.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-fh.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-io.c iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-io.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-modparams.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-nvm-parse.c iwlwifi: nvm: get num of hw addresses from firmware 2018-10-06 10:25:50 +03:00
iwl-nvm-parse.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-op-mode.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-phy-db.c iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-phy-db.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-prph.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-scd.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-trans.c iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-trans.h iwlwifi: dbg: move debug data to a struct 2018-10-06 10:25:42 +03:00
Kconfig iwlwifi: fix malformed CONFIG_IWLWIFI_PCIE_RTPM default 2018-03-02 10:20:03 +02:00
Makefile iwlwifi: mvm: remove dead gscan code 2018-08-02 10:50:08 +03:00