diff options
author | 2018-07-31 23:10:40 +0900 | |
---|---|---|
committer | 2018-08-28 11:14:56 +0200 | |
commit | 3a2af7cccbbaf2362db9053a946a6084e12bfa73 (patch) | |
tree | f2d2335e8f2e74b528d4ee0648a721505b342ef6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mac80211: don't update the PM state of a peer upon a multicast frame (diff) | |
download | wireguard-linux-3a2af7cccbbaf2362db9053a946a6084e12bfa73.tar.xz wireguard-linux-3a2af7cccbbaf2362db9053a946a6084e12bfa73.zip |
mac80211_hwsim: Fix possible Spectre-v1 for hwsim_world_regdom_custom
User controls @idx which to be used as index of hwsim_world_regdom_custom.
So, It can be exploited via Spectre-like attack. (speculative execution)
This kind of attack leaks address of hwsim_world_regdom_custom,
It leads an attacker to bypass security mechanism such as KASLR.
So sanitize @idx before using it to prevent attack.
I leveraged strategy [1] to find and exploit this gadget.
[1] https://github.com/jinb-park/linux-exploit/tree/master/exploit-remaining-spectre-gadget/
Signed-off-by: Jinbum Park <jinb.park7@gmail.com>
[johannes: unwrap URL]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions