From 446c45ab796e82c423a55f1070006f36e6acd939 Mon Sep 17 00:00:00 2001 From: GLSAMaker Date: Tue, 24 Sep 2024 05:11:59 +0000 Subject: [ GLSA 202409-22 ] GCC: Flawed Code Generation Bug: https://bugs.gentoo.org/719466 Signed-off-by: GLSAMaker Signed-off-by: Hans de Graaff --- glsa-202409-22.xml | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 glsa-202409-22.xml diff --git a/glsa-202409-22.xml b/glsa-202409-22.xml new file mode 100644 index 00000000..2e5cb0cf --- /dev/null +++ b/glsa-202409-22.xml @@ -0,0 +1,54 @@ + + + + GCC: Flawed Code Generation + A vulnerability has been discovered in GCC, which can lead to flawed code generation. + gcc + 2024-09-24 + 2024-09-24 + 719466 + remote + + + 10.0 + 10.0 + + + +

The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Ada, Go, D and Modula-2 as well as libraries for these languages (libstdc++,...).

+
+ +

A vulnerability has been discovered in GCC. Please review the CVE identifier referenced below for details.

+
+ +

The POWER9 backend in GNU Compiler Collection (GCC) 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.

+
+ +

There is no known workaround at this time.

+
+ +

All GCC users should upgrade to the latest version:

+ + + # emerge --sync + # emerge --ask --oneshot --verbose ">=sys-devel/gcc-10.0" + + +

And then select it with gcc-config:

+ + + # gcc-config latest + + +

In this case, users should also rebuild all affected packages with emerge -e, e.g.:

+ + + # emerge --usepkg=n --emptytree @world + +
+ + CVE-2019-15847 + + graaff + graaff +
\ No newline at end of file -- cgit v1.2.3-65-gdbad