The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize multiple calls of the __builtin_darn intrinsic into a single call, thus reducing the entropy of the random number generator. This occurred because a volatile operation was not specified. For example, within a single execution of a program, the output of every __builtin_darn() call may be the same.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 6
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Gnu Gcc
cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*
|
— |
7.5.0
|
|
Gnu Gcc
cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*
|
8.0
|
8.4.0
|
|
Gnu Gcc
cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*
|
9.0
|
9.3.0
|
|
Gnu Gcc
cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*
|
10.0
|
10.1.0
|
|
Opensuse Leap
cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
|
— | — |
|
Opensuse Leap
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
|
— | — |