Summary
This update for gcc7 fixes the following issues:
Security issues fixed:
- CVE-2023-4039: Fixed incorrect stack protector for C99 VLAs on Aarch64 (bsc#1214052).
- CVE-2019-15847: Fixed POWER9 DARN miscompilation. (bsc#1149145)
- CVE-2019-14250: Includes fix for LTO linker plugin heap overflow. (bsc#1142649)
Update to GCC 7.5.0 release.
Other changes:
- Fixed KASAN kernel compile. (bsc#1205145)
- Fixed ICE with C++17 code. (bsc#1204505)
- Fixed altivec.h redefining bool in C++ which makes bool unusable (bsc#1195517):
- Adjust gnats idea of the target, fixing the build of gprbuild. [bsc#1196861]
- Do not handle exceptions in std::thread (jsc#CAR-1182)
- add -fpatchable-function-entry feature to gcc-7.
- Fixed glibc namespace violation with getauxval. (bsc#1167939)
- Backport aarch64 Straight Line Speculation mitigation [bsc#1172798, CVE-2020-13844]
- Enable fortran for the nvptx offload compiler.
- Update README.First-for.SuSE.packagers
- Avoid assembler errors with AVX512 gather and scatter instructions when using -masm=intel.
- Backport the aarch64 -moutline-atomics feature and accumulated fixes but not its
default enabling. (jsc#SLE-12209, bsc#1167939)
- Fixed memcpy miscompilation on aarch64. (bsc#1178624, bsc#1178577)
- Fixed debug line info for try/catch. (bsc#1178614)
- Fixed corruption of pass private ->aux via DF. (gcc#94148)
- Fixed debug information issue with inlined functions and passed by reference arguments. [gcc#93888]
- Fixed register allocation issue with exception handling code on s390x. (bsc#1161913)
- Backport PR target/92692 to fix miscompilation of some atomic code on aarch64. (bsc#1150164)
- Fixed miscompilation in vectorized code for s390x. (bsc#1160086) [gcc#92950]
- Fixed miscompilation with thread-safe local static initialization. [gcc#85887]
- Fixed debug info created for array definitions that complete an earlier declaration. [bsc#1146475]
- Fixed vector shift miscompilation on s390. (bsc#1141897)
- Add gcc7 -flive-patching patch. [bsc#1071995, fate#323487]
- Strip -flto from $optflags.
- Disables switch jump-tables when retpolines are used. (bsc#1131264, jsc#SLE-6738)
- Fixed ICE compiling tensorflow on aarch64. (bsc#1129389)
- Fixed for aarch64 FMA steering pass use-after-free. (bsc#1128794)
- Fixed ICE compiling tensorflow. (bsc#1129389)
- Fixed s390x FP load-and-test issue. (bsc#1124644)
- Adjust gnat manual entries in the info directory. (bsc#1114592)
- Fixed to no longer try linking -lieee with -mieee-fp. (bsc#1084842)
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLES 12 Linux Enterprise Module for Toolchain 12 | cross-nvptx-gcc7 | 7.5.0+r278197-13.1 |
| SUSE · SLES 12 Linux Enterprise Module for Toolchain 12 | gcc7 | 7.5.0+r278197-13.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5 | gcc7 | 7.5.0+r278197-13.1 |
| SUSE · SLES for SAP 12 SP5 Linux Enterprise Server for SAP Applications 12 SP5 | gcc7 | 7.5.0+r278197-13.1 |
Vulnerabilities 4
-
Medium 4.8
GCC's-fstack-protector fails to guard dynamically-sized local variables on AArch64
**DISPUTED**A failure in the -fstack-protector feature in GCC-based toolchains that target AArch64 allows an attacker to exploit an existing buffer overflow in dynamically-sized local variables in your application without this being detected. This stack-prote…
-
Unscored —
An issue was discovered in GNU libiberty, as distributed in GNU Binutils 2.32. simple_object_elf_match in simple-object…
-
Unscored —
The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize multiple calls of the __builtin_da…
-
Unscored —
Arm Armv8-A core implementations utilizing speculative execution past unconditional changes in control flow may allow u…
References
-
report
https://bugzilla.suse.com/1071995
-
report
https://bugzilla.suse.com/1084842
-
report
https://bugzilla.suse.com/1114592
-
report
https://bugzilla.suse.com/1124644
-
report
https://bugzilla.suse.com/1128794
-
report
https://bugzilla.suse.com/1129389
-
report
https://bugzilla.suse.com/1131264
-
report
https://bugzilla.suse.com/1141897
-
report
https://bugzilla.suse.com/1142649
-
report
https://bugzilla.suse.com/1146475
-
report
https://bugzilla.suse.com/1148517
-
report
https://bugzilla.suse.com/1149145
-
report
https://bugzilla.suse.com/1150164
-
report
https://bugzilla.suse.com/1160086
-
report
https://bugzilla.suse.com/1161913
-
report
https://bugzilla.suse.com/1167939
-
report
https://bugzilla.suse.com/1172798
-
report
https://bugzilla.suse.com/1178577
-
report
https://bugzilla.suse.com/1178614
-
report
https://bugzilla.suse.com/1178624
-
report
https://bugzilla.suse.com/1178675
-
report
https://bugzilla.suse.com/1181618
-
report
https://bugzilla.suse.com/1195517
-
report
https://bugzilla.suse.com/1196861
-
report
https://bugzilla.suse.com/1204505
-
report
https://bugzilla.suse.com/1205145
-
report
https://bugzilla.suse.com/1214052
-
web
https://www.suse.com/security/cve/CVE-2019-14250
-
web
https://www.suse.com/security/cve/CVE-2019-15847
-
web
https://www.suse.com/security/cve/CVE-2020-13844
-
web
https://www.suse.com/security/cve/CVE-2023-4039