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 _builtindarn() call may be the same.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "15.0"
},
{
"last_affected": "15.0"
},
{
"introduced": "15.1"
},
{
"last_affected": "15.1"
}
],
"source": "CPE_STRING",
"vendor_product": "opensuse:leap",
"cpes": [
"cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"
]
}
]
}{
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "7.5.0"
},
{
"introduced": "8.0"
},
{
"fixed": "8.4.0"
},
{
"introduced": "9.0"
},
{
"fixed": "9.3.0"
},
{
"introduced": "10.0"
},
{
"fixed": "10.1.0"
}
]
}