PT-2020-1001 · Gnu · Gcc
Published
2020-04-07
·
Updated
2020-04-07
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions
GCC Toolset (affected versions not specified)
Description
The issue concerns certain Intel CPUs affected by the Jump Conditional Code (JCC) bug, causing machine instructions to be executed incorrectly. This can lead to improper program execution on affected CPUs. A workaround is available in the assembler to mitigate performance loss, but it is not enabled by default. The full fix requires updating the microcode of vulnerable CPUs, which can cause performance degradation.
Recommendations
To apply the workaround, recompile a program using GCC with the "-Wa,-mbranches-within-32B-boundaries" command-line option.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Gcc