IEEE Consumer Electronics Magazine - July/August 2022 - 61
Figure 3. (a) High level diagram of SMT architecture. (b) Example of two threads sharing a integer multiplier
unit. (c) If the spy process can access the integer multiplier unit the victim thread is not currently issuing a
multiply instruction. (d) If integer multiplier unit is already in use by the victim thread the spy thread will need to
wait to access it.
simulation was run to obtain base results.
Then, a fault list containing the location and
type of faults was provided to the simulator.
Each fault was simulated and the resulting
behavior was classified into one of the following
categories.
1) Silent data corruption: The execution completes
with incorrect results.
2) Time-out: The error slows down the GPU to
where it performs slower than the golden
GPU.
3) Hang: GPU cannot stop the execution.
4) Masked: The transient faults did not affect
the execution and the results of the simulation
are correct.
Architecture vulnerability factor was used to
evaluate fault simulator. It is computed across
all initial setups for each benchmark program by
taking the total number of failures that affected
the system over the total number of injections.
The authors concluded that increasing the number
of threads per block improved the mitigation
against SEUs when the registers were targeted.
However, the same was not true when other control
units were targeted (i.e., control units are
more vulnerable to faults).
SECURITY OF PARALLELISM
Parallel computing brings multiple resources
together to solve computationally hard problems.
With these new resources to be managed also
comes new bugs that may appear in a program.
For example, multiple processing units may want
to access shared memory, leading to contention.
Similarly, when an individual memory component
is updated in the case of distributed memory,
such an update must also be communicated
to the other units. Furthermore, interrupt handling
must also be managed across multiple
July/August 2022
processors. Such complexity in parallel computing
systems brings opportunities for bad actors to
take advantage of any foreseen weaknesses. In
many cases, detection becomes more difficult
since modern device details are kept hidden from
end-users. Sometimes, specific details of hardware
can be modified, or additional hardware
modules are added to provide defense against
possible exploits. Other times, defenses can be
incorporated into the software. However, many
of these defenses come at a cost. Once manufactured,
it is quite impossible to patch the
hardware. Even it becomes a possibility, new
hardware with security features may slow down
the program. Furthermore, software defenses
may increasememory usage or run time. In the following,
we present software- and hardware-based
attacks on parallel computing and possible
defenses.
Algorithm 1. Square and Multiply algorithm
implemented in OpenSSL
Data: Integers M and d, di is the ith bit of d
Result: MdðmodNÞ
S ¼ M;
for i to n 1do
S ¼ S SðmodNÞ;
if di ¼ 1 then
S ¼ SMðmodNÞ;
end
return S;
end
Software-based attacks: These attacks take
advantage of the execution model of a particular
victim program. A side-channel attack has been
performed on OpenSSL using simultaneous multithreading
(SMT).12 In general, SMT (also known
as HyperThreading in Intel processor) allows a
processor to issue multiple instructions from different
threads in the same instruction cycle.
61
IEEE Consumer Electronics Magazine - July/August 2022
Table of Contents for the Digital Edition of IEEE Consumer Electronics Magazine - July/August 2022
Contents
IEEE Consumer Electronics Magazine - July/August 2022 - Cover1
IEEE Consumer Electronics Magazine - July/August 2022 - Cover2
IEEE Consumer Electronics Magazine - July/August 2022 - Contents
IEEE Consumer Electronics Magazine - July/August 2022 - 2
IEEE Consumer Electronics Magazine - July/August 2022 - 3
IEEE Consumer Electronics Magazine - July/August 2022 - 4
IEEE Consumer Electronics Magazine - July/August 2022 - 5
IEEE Consumer Electronics Magazine - July/August 2022 - 6
IEEE Consumer Electronics Magazine - July/August 2022 - 7
IEEE Consumer Electronics Magazine - July/August 2022 - 8
IEEE Consumer Electronics Magazine - July/August 2022 - 9
IEEE Consumer Electronics Magazine - July/August 2022 - 10
IEEE Consumer Electronics Magazine - July/August 2022 - 11
IEEE Consumer Electronics Magazine - July/August 2022 - 12
IEEE Consumer Electronics Magazine - July/August 2022 - 13
IEEE Consumer Electronics Magazine - July/August 2022 - 14
IEEE Consumer Electronics Magazine - July/August 2022 - 15
IEEE Consumer Electronics Magazine - July/August 2022 - 16
IEEE Consumer Electronics Magazine - July/August 2022 - 17
IEEE Consumer Electronics Magazine - July/August 2022 - 18
IEEE Consumer Electronics Magazine - July/August 2022 - 19
IEEE Consumer Electronics Magazine - July/August 2022 - 20
IEEE Consumer Electronics Magazine - July/August 2022 - 21
IEEE Consumer Electronics Magazine - July/August 2022 - 22
IEEE Consumer Electronics Magazine - July/August 2022 - 23
IEEE Consumer Electronics Magazine - July/August 2022 - 24
IEEE Consumer Electronics Magazine - July/August 2022 - 25
IEEE Consumer Electronics Magazine - July/August 2022 - 26
IEEE Consumer Electronics Magazine - July/August 2022 - 27
IEEE Consumer Electronics Magazine - July/August 2022 - 28
IEEE Consumer Electronics Magazine - July/August 2022 - 29
IEEE Consumer Electronics Magazine - July/August 2022 - 30
IEEE Consumer Electronics Magazine - July/August 2022 - 31
IEEE Consumer Electronics Magazine - July/August 2022 - 32
IEEE Consumer Electronics Magazine - July/August 2022 - 33
IEEE Consumer Electronics Magazine - July/August 2022 - 34
IEEE Consumer Electronics Magazine - July/August 2022 - 35
IEEE Consumer Electronics Magazine - July/August 2022 - 36
IEEE Consumer Electronics Magazine - July/August 2022 - 37
IEEE Consumer Electronics Magazine - July/August 2022 - 38
IEEE Consumer Electronics Magazine - July/August 2022 - 39
IEEE Consumer Electronics Magazine - July/August 2022 - 40
IEEE Consumer Electronics Magazine - July/August 2022 - 41
IEEE Consumer Electronics Magazine - July/August 2022 - 42
IEEE Consumer Electronics Magazine - July/August 2022 - 43
IEEE Consumer Electronics Magazine - July/August 2022 - 44
IEEE Consumer Electronics Magazine - July/August 2022 - 45
IEEE Consumer Electronics Magazine - July/August 2022 - 46
IEEE Consumer Electronics Magazine - July/August 2022 - 47
IEEE Consumer Electronics Magazine - July/August 2022 - 48
IEEE Consumer Electronics Magazine - July/August 2022 - 49
IEEE Consumer Electronics Magazine - July/August 2022 - 50
IEEE Consumer Electronics Magazine - July/August 2022 - 51
IEEE Consumer Electronics Magazine - July/August 2022 - 52
IEEE Consumer Electronics Magazine - July/August 2022 - 53
IEEE Consumer Electronics Magazine - July/August 2022 - 54
IEEE Consumer Electronics Magazine - July/August 2022 - 55
IEEE Consumer Electronics Magazine - July/August 2022 - 56
IEEE Consumer Electronics Magazine - July/August 2022 - 57
IEEE Consumer Electronics Magazine - July/August 2022 - 58
IEEE Consumer Electronics Magazine - July/August 2022 - 59
IEEE Consumer Electronics Magazine - July/August 2022 - 60
IEEE Consumer Electronics Magazine - July/August 2022 - 61
IEEE Consumer Electronics Magazine - July/August 2022 - 62
IEEE Consumer Electronics Magazine - July/August 2022 - 63
IEEE Consumer Electronics Magazine - July/August 2022 - 64
IEEE Consumer Electronics Magazine - July/August 2022 - 65
IEEE Consumer Electronics Magazine - July/August 2022 - 66
IEEE Consumer Electronics Magazine - July/August 2022 - 67
IEEE Consumer Electronics Magazine - July/August 2022 - 68
IEEE Consumer Electronics Magazine - July/August 2022 - 69
IEEE Consumer Electronics Magazine - July/August 2022 - 70
IEEE Consumer Electronics Magazine - July/August 2022 - 71
IEEE Consumer Electronics Magazine - July/August 2022 - 72
IEEE Consumer Electronics Magazine - July/August 2022 - 73
IEEE Consumer Electronics Magazine - July/August 2022 - 74
IEEE Consumer Electronics Magazine - July/August 2022 - 75
IEEE Consumer Electronics Magazine - July/August 2022 - 76
IEEE Consumer Electronics Magazine - July/August 2022 - 77
IEEE Consumer Electronics Magazine - July/August 2022 - 78
IEEE Consumer Electronics Magazine - July/August 2022 - 79
IEEE Consumer Electronics Magazine - July/August 2022 - 80
IEEE Consumer Electronics Magazine - July/August 2022 - 81
IEEE Consumer Electronics Magazine - July/August 2022 - 82
IEEE Consumer Electronics Magazine - July/August 2022 - 83
IEEE Consumer Electronics Magazine - July/August 2022 - 84
IEEE Consumer Electronics Magazine - July/August 2022 - 85
IEEE Consumer Electronics Magazine - July/August 2022 - 86
IEEE Consumer Electronics Magazine - July/August 2022 - 87
IEEE Consumer Electronics Magazine - July/August 2022 - 88
IEEE Consumer Electronics Magazine - July/August 2022 - 89
IEEE Consumer Electronics Magazine - July/August 2022 - 90
IEEE Consumer Electronics Magazine - July/August 2022 - 91
IEEE Consumer Electronics Magazine - July/August 2022 - 92
IEEE Consumer Electronics Magazine - July/August 2022 - 93
IEEE Consumer Electronics Magazine - July/August 2022 - 94
IEEE Consumer Electronics Magazine - July/August 2022 - 95
IEEE Consumer Electronics Magazine - July/August 2022 - 96
IEEE Consumer Electronics Magazine - July/August 2022 - 97
IEEE Consumer Electronics Magazine - July/August 2022 - 98
IEEE Consumer Electronics Magazine - July/August 2022 - 99
IEEE Consumer Electronics Magazine - July/August 2022 - 100
IEEE Consumer Electronics Magazine - July/August 2022 - 101
IEEE Consumer Electronics Magazine - July/August 2022 - 102
IEEE Consumer Electronics Magazine - July/August 2022 - 103
IEEE Consumer Electronics Magazine - July/August 2022 - 104
IEEE Consumer Electronics Magazine - July/August 2022 - Cover3
IEEE Consumer Electronics Magazine - July/August 2022 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20240102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20231112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20221112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20211112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202010
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202009
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202007
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202004
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202003
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202001
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201909
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201907
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201905
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201903
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201901
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201811
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201809
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201807
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201805
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201803
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2015
https://www.nxtbookmedia.com