<div class="container">
<h1>Security update for gcc13</h1>
<table class="table table-striped table-bordered">
<tbody>
<tr>
<th>Announcement ID:</th>
<td>SUSE-SU-2024:0045-1</td>
</tr>
<tr>
<th>Rating:</th>
<td>important</td>
</tr>
<tr>
<th>References:</th>
<td>
<ul>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1206480">bsc#1206480</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1206684">bsc#1206684</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1210557">bsc#1210557</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1211427">bsc#1211427</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1212101">bsc#1212101</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1213915">bsc#1213915</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1214052">bsc#1214052</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1214460">bsc#1214460</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1215427">bsc#1215427</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1216664">bsc#1216664</a>
</li>
<li style="display: inline;">
<a href="https://jira.suse.com/browse/PED-153">jsc#PED-153</a>
</li>
<li style="display: inline;">
<a href="https://jira.suse.com/browse/PED-2005">jsc#PED-2005</a>
</li>
<li style="display: inline;">
<a href="https://jira.suse.com/browse/PED-252">jsc#PED-252</a>
</li>
<li style="display: inline;">
<a href="https://jira.suse.com/browse/PED-253">jsc#PED-253</a>
</li>
<li style="display: inline;">
<a href="https://jira.suse.com/browse/PED-6584">jsc#PED-6584</a>
</li>
</ul>
</td>
</tr>
<tr>
<th>
Cross-References:
</th>
<td>
<ul>
<li style="display: inline;">
<a href="https://www.suse.com/security/cve/CVE-2023-4039.html">CVE-2023-4039</a>
</li>
</ul>
</td>
</tr>
<tr>
<th>CVSS scores:</th>
<td>
<ul class="list-group">
<li class="list-group-item">
<span class="cvss-reference">CVE-2023-4039</span>
<span class="cvss-source">
(
SUSE
):
</span>
<span class="cvss-score">8.1</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2023-4039</span>
<span class="cvss-source">
(
NVD
):
</span>
<span class="cvss-score">4.8</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N</span>
</li>
</ul>
</td>
</tr>
<tr>
<th>Affected Products:</th>
<td>
<ul class="list-group">
<li class="list-group-item">SUSE Linux Enterprise Micro 5.3</li>
<li class="list-group-item">SUSE Linux Enterprise Micro 5.4</li>
<li class="list-group-item">SUSE Linux Enterprise Micro 5.5</li>
<li class="list-group-item">SUSE Linux Enterprise Micro for Rancher 5.3</li>
<li class="list-group-item">SUSE Linux Enterprise Micro for Rancher 5.4</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>An update that solves one vulnerability, contains five features and has nine security fixes can now be installed.</p>
<h2>Description:</h2>
<p>This update for gcc13 fixes the following issues:</p>
<p>This update ship the GCC 13.2 compiler suite and its base libraries.</p>
<p>The compiler base libraries are provided for all SUSE Linux Enterprise 15
versions and replace the same named GCC 12 ones.</p>
<p>The new compilers for C, C++, and Fortran are provided for SUSE Linux
Enterprise 15 SP4 and SP5, and provided in the "Development Tools" module.</p>
<p>The Go, D, Ada and Modula 2 language compiler parts are available
unsupported via the PackageHub repositories.</p>
<p>To use gcc13 compilers use:</p>
<ul>
<li>install "gcc13" or "gcc13-c++" or one of the other "gcc13-COMPILER" frontend packages.</li>
<li>override your Makefile to use CC=gcc-13, CXX=g++-13 and similar overrides for the other languages.</li>
</ul>
<p>For a full changelog with all new GCC13 features, check out</p>
<pre><code> https://gcc.gnu.org/gcc-13/changes.html
</code></pre>
<p>Detailed changes:</p>
<ul>
<li>
<p>CVE-2023-4039: Fixed -fstack-protector issues on aarch64 with variable
length stack allocations. (bsc#1214052)</p>
</li>
<li>
<p>Work around third party app crash during C++ standard library initialization. [bsc#1216664]</p>
</li>
<li>Fixed that GCC13 fails to compile some packages with error: unrecognizable insn (bsc#1215427)</li>
<li>Bump included newlib to version 4.3.0.</li>
<li>Update to GCC trunk head (r13-5254-g05b9868b182bb9)</li>
<li>Redo floatn fixinclude pick-up to simply keep what is there.</li>
<li>
<p>Turn cross compiler to s390x to a glibc cross. [bsc#1214460]</p>
</li>
<li>
<p>Also handle -static-pie in the default-PIE specs</p>
</li>
<li>Fixed missed optimization in Skia resulting in Firefox crashes when
building with LTO. [bsc#1212101]</li>
<li>Make libstdc++6-devel packages own their directories since they
can be installed standalone. [bsc#1211427]</li>
<li>Add new x86-related intrinsics (amxcomplexintrin.h).</li>
<li>RISC-V: Add support for inlining subword atomic operations</li>
<li>Use --enable-link-serialization rather that --enable-link-mutex,
the benefit of the former one is that the linker jobs are not
holding tokens of the make's jobserver.</li>
<li>Add cross-bpf packages. See https://gcc.gnu.org/wiki/BPFBackEnd
for the general state of BPF with GCC.</li>
<li>Add bootstrap conditional to allow --without=bootstrap to be
specified to speed up local builds for testing.</li>
<li>Bump included newlib to version 4.3.0. </li>
<li>Also package libhwasan_preinit.o on aarch64.</li>
<li>Configure external timezone database provided by the timezone
package. Make libstdc++6 recommend timezone to get a fully
working std::chrono. Install timezone when running the testsuite.</li>
<li>Package libhwasan_preinit.o on x86_64.</li>
<li>Fixed unwinding on aarch64 with pointer signing. [bsc#1206684]</li>
<li>Enable PRU flavour for gcc13</li>
<li>update floatn fixinclude pickup to check each header separately (bsc#1206480)</li>
<li>Redo floatn fixinclude pick-up to simply keep what is there. </li>
<li>Bump libgo SONAME to libgo22.</li>
<li>Do not package libhwasan for biarch (32-bit architecture)
as the extension depends on 64-bit pointers.</li>
<li>Adjust floatn fixincludes guard to work with SLE12 and earlier
SLE15.</li>
<li>Depend on at least LLVM 13 for GCN cross compiler.</li>
<li>Update embedded newlib to version 4.2.0</li>
<li>Allow cross-pru-gcc12-bootstrap for armv7l architecture.
PRU architecture is used for real-time MCUs embedded into TI
armv7l and aarch64 SoCs. We need to have cross-pru-gcc12 for
armv7l in order to build both host applications and PRU firmware
during the same build.</li>
</ul>
<h2>Patch Instructions:</h2>
<p>
To install this SUSE update use the SUSE recommended
installation methods like YaST online_update or "zypper patch".<br/>
Alternatively you can run the command listed for your product:
</p>
<ul class="list-group">
<li class="list-group-item">
SUSE Linux Enterprise Micro for Rancher 5.4
<br/>
<code>zypper in -t patch SUSE-SLE-Micro-5.4-2024-45=1</code>
</li>
<li class="list-group-item">
SUSE Linux Enterprise Micro 5.4
<br/>
<code>zypper in -t patch SUSE-SLE-Micro-5.4-2024-45=1</code>
</li>
<li class="list-group-item">
SUSE Linux Enterprise Micro 5.5
<br/>
<code>zypper in -t patch SUSE-SLE-Micro-5.5-2024-45=1</code>
</li>
<li class="list-group-item">
SUSE Linux Enterprise Micro for Rancher 5.3
<br/>
<code>zypper in -t patch SUSE-SLE-Micro-5.3-2024-45=1</code>
</li>
<li class="list-group-item">
SUSE Linux Enterprise Micro 5.3
<br/>
<code>zypper in -t patch SUSE-SLE-Micro-5.3-2024-45=1</code>
</li>
</ul>
<h2>Package List:</h2>
<ul>
<li>
SUSE Linux Enterprise Micro for Rancher 5.4 (aarch64 s390x x86_64)
<ul>
<li>gcc13-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>libatomic1-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>gcc13-debugsource-13.2.1+git7813-150000.1.6.1</li>
<li>libgcc_s1-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>libstdc++6-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>libgcc_s1-13.2.1+git7813-150000.1.6.1</li>
<li>libstdc++6-13.2.1+git7813-150000.1.6.1</li>
<li>libatomic1-13.2.1+git7813-150000.1.6.1</li>
</ul>
</li>
<li>
SUSE Linux Enterprise Micro 5.4 (aarch64 s390x x86_64)
<ul>
<li>gcc13-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>libatomic1-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>gcc13-debugsource-13.2.1+git7813-150000.1.6.1</li>
<li>libgcc_s1-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>libstdc++6-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>libgcc_s1-13.2.1+git7813-150000.1.6.1</li>
<li>libstdc++6-13.2.1+git7813-150000.1.6.1</li>
<li>libatomic1-13.2.1+git7813-150000.1.6.1</li>
</ul>
</li>
<li>
SUSE Linux Enterprise Micro 5.5 (aarch64 s390x x86_64)
<ul>
<li>gcc13-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>libatomic1-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>gcc13-debugsource-13.2.1+git7813-150000.1.6.1</li>
<li>libgcc_s1-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>libstdc++6-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>libgcc_s1-13.2.1+git7813-150000.1.6.1</li>
<li>libstdc++6-13.2.1+git7813-150000.1.6.1</li>
<li>libatomic1-13.2.1+git7813-150000.1.6.1</li>
</ul>
</li>
<li>
SUSE Linux Enterprise Micro for Rancher 5.3 (aarch64 s390x x86_64)
<ul>
<li>gcc13-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>libatomic1-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>gcc13-debugsource-13.2.1+git7813-150000.1.6.1</li>
<li>libgcc_s1-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>libstdc++6-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>libgcc_s1-13.2.1+git7813-150000.1.6.1</li>
<li>libstdc++6-13.2.1+git7813-150000.1.6.1</li>
<li>libatomic1-13.2.1+git7813-150000.1.6.1</li>
</ul>
</li>
<li>
SUSE Linux Enterprise Micro 5.3 (aarch64 s390x x86_64)
<ul>
<li>gcc13-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>libatomic1-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>gcc13-debugsource-13.2.1+git7813-150000.1.6.1</li>
<li>libgcc_s1-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>libstdc++6-debuginfo-13.2.1+git7813-150000.1.6.1</li>
<li>libgcc_s1-13.2.1+git7813-150000.1.6.1</li>
<li>libstdc++6-13.2.1+git7813-150000.1.6.1</li>
<li>libatomic1-13.2.1+git7813-150000.1.6.1</li>
</ul>
</li>
</ul>
<h2>References:</h2>
<ul>
<li>
<a href="https://www.suse.com/security/cve/CVE-2023-4039.html">https://www.suse.com/security/cve/CVE-2023-4039.html</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1206480">https://bugzilla.suse.com/show_bug.cgi?id=1206480</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1206684">https://bugzilla.suse.com/show_bug.cgi?id=1206684</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1210557">https://bugzilla.suse.com/show_bug.cgi?id=1210557</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1211427">https://bugzilla.suse.com/show_bug.cgi?id=1211427</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1212101">https://bugzilla.suse.com/show_bug.cgi?id=1212101</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1213915">https://bugzilla.suse.com/show_bug.cgi?id=1213915</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1214052">https://bugzilla.suse.com/show_bug.cgi?id=1214052</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1214460">https://bugzilla.suse.com/show_bug.cgi?id=1214460</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1215427">https://bugzilla.suse.com/show_bug.cgi?id=1215427</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1216664">https://bugzilla.suse.com/show_bug.cgi?id=1216664</a>
</li>
<li>
<a href="https://jira.suse.com/browse/PED-153">https://jira.suse.com/browse/PED-153</a>
</li>
<li>
<a href="https://jira.suse.com/browse/PED-2005">https://jira.suse.com/browse/PED-2005</a>
</li>
<li>
<a href="https://jira.suse.com/browse/PED-252">https://jira.suse.com/browse/PED-252</a>
</li>
<li>
<a href="https://jira.suse.com/browse/PED-253">https://jira.suse.com/browse/PED-253</a>
</li>
<li>
<a href="https://jira.suse.com/browse/PED-6584">https://jira.suse.com/browse/PED-6584</a>
</li>
</ul>
</div>