ALBA-2020:1713 gcc-toolset-9-binutils bug fix and enhancement update

Not scored Published

An assembler workaround mitigates Intel JCC bug performance loss, requiring recompilation with specific flags to avoid incorrect instruction execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
Available

What is ALBA-2020:1713?

ALBA-2020:1713 is a vulnerability in gcc-toolset-9-binutils, published on 28 Apr 2020.

Official description

GCC Toolset is a compiler toolset that provides recent versions of development tools. GCC Toolset is an Application Stream packaged as a Software Collection.

For instructions on usage, see Using GCC Toolset linked from the References section. Components and specifics of this version are documented in the GCC Toolset 9 chapter.

For detailed changes in this release, see the AlmaLinux Release Notes.

Bug Fix(es):

  • Certain Intel CPUs are affected by the Jump Conditional Code (JCC) bug causing machine instructions to be executed incorrectly. Consequently, the affected CPUs might not execute programs properly. The full fix involves updating the microcode of vulnerable CPUs, which can cause a performance degradation. This update enables a workaround in the assembler that helps to mitigate the performance loss. The workaround is not enabled by default.

To apply the workaround, recompile a program using GCC with the "-Wa,-mbranches-within-32B-boundaries" command-line option. A program recompiled with this command-line option will not be affected by JCC flaw, but the microcode update is still necessary in order to fully protect a system.

Note that applying the workaround will increase the size of the program and there can still be a slight performance decrease, although it should be less than it would have been without the recompilation. (BZ#1779417)

Which versions are affected by ALBA-2020:1713?

Linux distribution packages (2)
gcc-toolset-9-binutils AlmaLinux:8All versions2.32-17.el8_1
gcc-toolset-9-binutils-devel AlmaLinux:8All versions2.32-17.el8_1

How do I fix ALBA-2020:1713?

Apply the vendor's patch.

Is ALBA-2020:1713 being exploited?

There is no known exploitation of ALBA-2020:1713 in the wild and no public exploit code.

Sources

Is ALBA-2020:1713 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free