summaryrefslogtreecommitdiffstats
path: root/net/hsr
diff options
context:
space:
mode:
authorMasashi Honma <masashi.honma@gmail.com>2019-09-08 02:56:53 +0200
committerJohannes Berg <johannes.berg@intel.com>2019-09-11 09:33:29 +0200
commit4b2c5a14cd8005a900075f7dfec87473c6ee66fb (patch)
tree08c2e1322322e48c7be418f9eec450f3730b4c0e /net/hsr
parentmac80211: allow drivers to set max MTU (diff)
downloadlinux-4b2c5a14cd8005a900075f7dfec87473c6ee66fb.tar.xz
linux-4b2c5a14cd8005a900075f7dfec87473c6ee66fb.zip
nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
commit 1222a1601488 ("nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds") was incomplete and requires one more fix to prevent accessing to rssi_thresholds[n] because user can control rssi_thresholds[i] values to make i reach to n. For example, rssi_thresholds = {-400, -300, -200, -100} when last is -34. Cc: stable@vger.kernel.org Fixes: 1222a1601488 ("nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Masashi Honma <masashi.honma@gmail.com> Link: https://lore.kernel.org/r/20190908005653.17433-1-masashi.honma@gmail.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/hsr')
0 files changed, 0 insertions, 0 deletions