]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211/wpa: use constant time memory comparison for MACs
authorJason A. Donenfeld <Jason@zx2c4.com>
Sat, 10 Jun 2017 02:59:12 +0000 (04:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 Jun 2017 08:24:34 +0000 (10:24 +0200)
commitcee8d082dbe2d223d9273cc572429097221aef1f
treeeafa0fac1f1551cac32b8326e955cb20b516e6f9
parentdc40b7e814b7affa1429489b93daad662d7e2188
mac80211/wpa: use constant time memory comparison for MACs

Otherwise, we enable all sorts of forgeries via timing attack.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/wpa.c