Hardware Security: Advanced Topics and Trends
What is wrong with the idea that "if ECC memory is used, there is no need to worry about Rowhammer"?
- ACommon ECC (SECDED) corrects only a 1-bit error per word, and when many bits flip it may be unable to correct or even detect the error
- BECC only slows down data reads and does not have any function to correct bits that have flipped in memory in the first place
- CPlacing ECC check bits increases the number of rows and narrows the spacing of activated rows, making Rowhammer twice as likely
Show answer and explanation
Answer: A. Common ECC (SECDED) corrects only a 1-bit error per word, and when many bits flip it may be unable to correct or even detect the error
SECDED ECC as used in servers adds 8 check bits to 64 data bits, corrects 1-bit errors and detects 2-bit errors. With Rowhammer, three or more bits can flip in the same word, and then the error may go unnoticed or be mistaken for another value and wrongly corrected. ECC is an effective layer that suppresses many flips, but it must be combined with countermeasures that prevent the flips themselves, such as TRR and refresh management.
- A. Correct. It cannot handle more flips than its correction capability.
- B. ECC can correct 1-bit errors. Its limit lies in cases where many bits flip at once.
- C. Using ECC does not change how likely Rowhammer is.
Continue: 9 more Hardware Security: Advanced Topics and Trends questions