diff options
author | Ryan Ware <[email protected]> | 2016-02-11 15:58:44 -0800 |
---|---|---|
committer | James Morris <[email protected]> | 2016-02-12 18:36:47 +1100 |
commit | 613317bd212c585c20796c10afe5daaa95d4b0a1 (patch) | |
tree | 6bee35907a40edcb437683c4b33f2ee655091a66 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | c05235d50f681bf685e7290cae05ab3b4fa493f3 (diff) |
EVM: Use crypto_memneq() for digest comparisons
This patch fixes vulnerability CVE-2016-2085. The problem exists
because the vm_verify_hmac() function includes a use of memcmp().
Unfortunately, this allows timing side channel attacks; specifically
a MAC forgery complexity drop from 2^128 to 2^12. This patch changes
the memcmp() to the cryptographically safe crypto_memneq().
Reported-by: Xiaofei Rex Guo <[email protected]>
Signed-off-by: Ryan Ware <[email protected]>
Cc: [email protected]
Signed-off-by: Mimi Zohar <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions