diff options
author | Ross Burton <ross.burton@arm.com> | 2023-09-12 18:24:34 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-09-29 04:29:01 -1000 |
commit | d32656ac2425c5d0394b61e2dd684179bd8c9ca4 (patch) | |
tree | 8d5f272f6e0d71b6682019ede9dc004e6e5a1f9b /meta/recipes-devtools/gcc/gcc-9.5.inc | |
parent | 669079e7c0a64f36720bea2d256bd60496713300 (diff) | |
download | poky-d32656ac2425c5d0394b61e2dd684179bd8c9ca4.tar.gz |
gcc: Fix -fstack-protector issue on aarch64
This series of patches fixes deficiencies in GCC's -fstack-protector
implementation for AArch64 when using dynamically allocated stack space.
This is CVE-2023-4039. See:
https://developer.arm.com/Arm%20Security%20Center/GCC%20Stack%20Protector%20Vulnerability%20AArch64
https://github.com/metaredteam/external-disclosures/security/advisories/GHSA-x7ch-h5rf-w2mf
for more details.
(From OE-Core rev: d411ef9f660c443c00eee9bfbbc8c60c3cd0e92d)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-9.5.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-9.5.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-9.5.inc b/meta/recipes-devtools/gcc/gcc-9.5.inc index 23bfb1a9db..9bb41bbe24 100644 --- a/meta/recipes-devtools/gcc/gcc-9.5.inc +++ b/meta/recipes-devtools/gcc/gcc-9.5.inc | |||
@@ -70,6 +70,7 @@ SRC_URI = "\ | |||
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://0002-libstdc-Fix-inconsistent-noexcept-specific-for-valar.patch \ | 72 | file://0002-libstdc-Fix-inconsistent-noexcept-specific-for-valar.patch \ |
73 | file://CVE-2023-4039.patch \ | ||
73 | " | 74 | " |
74 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" | 75 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" |
75 | SRC_URI[sha256sum] = "27769f64ef1d4cd5e2be8682c0c93f9887983e6cfd1a927ce5a0a2915a95cf8f" | 76 | SRC_URI[sha256sum] = "27769f64ef1d4cd5e2be8682c0c93f9887983e6cfd1a927ce5a0a2915a95cf8f" |