Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | gcc-9 | 9.2.1-7 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | gcc-snapshot | No fix yet | — |
| Ubuntu 26.04 LTS | gcc-snapshot | No fix yet | — |
| Ubuntu 25.10 | gcc-snapshot | No fix yet | — |
| Ubuntu 24.04 LTS | gcc-snapshot +1 | No fix yet | — |
| Ubuntu 22.04 LTS | gcc-snapshot +1 | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | gcc-10 | 10.2.0-5ubuntu1~20.04 | — |
| Ubuntu 20.04 LTS | gcc-8-cross +3 | No fix yet | — |
| Ubuntu 18.04 LTS | gcc-6 +7 | No fix yet | — |
| Ubuntu 18.04 LTS | gcc-7 | 7.5.0-3ubuntu1~18.04 | — |
| Ubuntu 18.04 LTS | gcc-8 | 8.3.0-26ubuntu1~18.04 | — |
| Ubuntu 16.04 LTS | gcc-snapshot | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | cpp +24 | 8.3.1-5.el8 | RHSA-2020:1864 |
| RHEL 3 | devtoolset-9-gcc +16 | 9.3.1-2.el7 | RHSA-2020:2274 |
| RHEL 3 | liblsan +20 | 8.3.1-3.2.el6 | RHSA-2020:2274, RHSA-2020:0924 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | gcc7 +1 | 7.4.1+r275405-4.9.2 | SUSE-SU-2019:2702-1 |
| SLES 15 SP1 | gcc9 | 9.2.1+r275327-1.3.7 | SUSE-SU-2019:3061-1 |
| SLES 15 | gcc7 +1 | 7.4.1+r275405-4.9.2 | SUSE-SU-2019:2702-1 |
| SLES 15 | gcc9 | 9.2.1+r275327-1.3.7 | SUSE-SU-2019:3061-1 |
| SLES 12 SP5 | gcc7 | 7.5.0+r278197-13.1 | SUSE-SU-2023:3662-1 |
| SLES 12 SP5 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
| SLES 12 SP4 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
| SLES 12 SP3 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
| SLES 12 SP1 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
| SLES 12 | gcc7 +1 | 7.5.0+r278197-13.1 | SUSE-SU-2023:3662-1 |
| SLES 12 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
| SLES for SAP 12 SP5 | gcc7 | 7.5.0+r278197-13.1 | SUSE-SU-2023:3662-1 |
| SLES for SAP 12 SP5 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
| SLES for SAP 12 SP4 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
| SLES for SAP 12 SP3 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
| SLES for SAP 12 SP2 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
| SLES for SAP 12 SP1 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
| SUSE OpenStack Cloud Crowbar 8 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
| SUSE OpenStack Cloud 8 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
| SUSE OpenStack Cloud 7 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
| SUSE HPE Helion OpenStack 8 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
| SUSE Enterprise Storage 5 | gcc9 | 9.2.1+r275327-1.3.9 | SUSE-SU-2020:0394-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gcc7 | 7.5.0+r278197-10.1 | openSUSE-SU-2024:10703-1 |
| openSUSE Leap 15.1 | cross-nvptx-gcc9 | 9.3.1+git1296-lp151.2.1 | openSUSE-SU-2020:0716-1 |
| openSUSE Leap 15.1 | gcc7 | 7.4.1+r275405-lp151.2.6.1 | openSUSE-SU-2019:2364-1 |
| openSUSE Leap 15.1 | gcc9 | 9.3.1+git1296-lp151.2.2 | openSUSE-SU-2020:0716-1 |
| openSUSE Leap 15.0 | gcc7 | 7.4.1+r275405-lp150.12.1 | openSUSE-SU-2019:2365-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.11 | gcc | 9.3.0-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | cpp +24 | 8.3.1-5.0.3.el8 | ELSA-2020-1864 |
Advisories 16
- WID-SEC-2026-4026 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- RHSA-2020:2274 Red Hat Security Advisory: devtoolset-9-gcc security and bug fix update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2020:1864 Red Hat Security Advisory: gcc security and bug fix update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2020:0924 Red Hat Security Advisory: devtoolset-8-gcc security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- SUSE-SU-2019:2702-1 Security update for gcc7 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:0394-1 Security update for gcc9 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10703-1 cpp7-7.5.0+r278197-10.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2365-1 Security update for gcc7 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3662-1 Security update for gcc7 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2364-1 Security update for gcc7 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0716-1 Security update for gcc9 SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- SUSE-SU-2019:3061-1 Security update for gcc9 SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2024-0497 gcc: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Sep 23, 2024
- ELSA-2020-1864 Moderate: gcc security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 5, 2020
References
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91481
- openSUSE-SU-2019:2364 vendor-advisory
- openSUSE-SU-2019:2365 vendor-advisory
- openSUSE-SU-2020:0716 vendor-advisory