diff options
author | Ross Burton <ross@burtonini.com> | 2020-10-23 09:39:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-30 17:23:19 +0000 |
commit | f3be15a8a0e3c53d9d9edde3bdc2caa6431c1b67 (patch) | |
tree | dfe807990f6ffc50bed314121e7522caeb54d233 /meta/recipes-devtools/gcc/gcc-9.3.inc | |
parent | 13936f5f35fcb36d23f45f9fedebf0b115c99db0 (diff) | |
download | poky-f3be15a8a0e3c53d9d9edde3bdc2caa6431c1b67.tar.gz |
gcc: mitigate the Straight-line Speculation attack
Straight-line Speculation is a SPECTRE-like attack on Armv8-A, further
details can be found in the white paper here:
https://developer.arm.com/support/arm-security-updates/speculative-processor-vulnerability/downloads/straight-line-speculation
Backport the GCC patches to mitigate the attack.
CVE: CVE-2020-13844
(From OE-Core rev: 406a1636e1111729e3bb0fe804ef28c8a51c22e3)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-9.3.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-9.3.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-9.3.inc b/meta/recipes-devtools/gcc/gcc-9.3.inc index 38dee001d4..4c54ba250a 100644 --- a/meta/recipes-devtools/gcc/gcc-9.3.inc +++ b/meta/recipes-devtools/gcc/gcc-9.3.inc | |||
@@ -69,6 +69,9 @@ SRC_URI = "\ | |||
69 | file://0037-CVE-2019-14250-Check-zero-value-in-simple_object_elf.patch \ | 69 | file://0037-CVE-2019-14250-Check-zero-value-in-simple_object_elf.patch \ |
70 | file://0038-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch \ | 70 | file://0038-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch \ |
71 | file://0039-process_alt_operands-Don-t-match-user-defined-regs-o.patch \ | 71 | file://0039-process_alt_operands-Don-t-match-user-defined-regs-o.patch \ |
72 | file://0001-aarch64-New-Straight-Line-Speculation-SLS-mitigation.patch \ | ||
73 | file://0002-aarch64-Introduce-SLS-mitigation-for-RET-and-BR-inst.patch \ | ||
74 | file://0003-aarch64-Mitigate-SLS-for-BLR-instruction.patch \ | ||
72 | " | 75 | " |
73 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" | 76 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" |
74 | SRC_URI[sha256sum] = "71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1" | 77 | SRC_URI[sha256sum] = "71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1" |