gcc: Fix -fstack-protector issue on aarch64
PATCH 1/1 gcc: Fix -fstack-protector issue on aarch64
From: Ross Burton <[email protected]>
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.
Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-devtools/gcc/gcc-9.5.inc | 1 + .../gcc/gcc-9.5/CVE-2023-4039.patch | 1506 +++++++++++++++++ 2 files changed, 1507 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-9.5/CVE-2023-4039.patch
meta/recipes-devtools/gcc/gcc-9.5.inc +1 -0
@@ -70,6 +70,7 @@ SRC_URI = "\ file://0038-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch \ file://0039-process_alt_operands-Don-t-match-user-defined-regs-o.patch \ file://0002-libstdc-Fix-inconsistent-noexcept-specific-for-valar.patch \ + file://CVE-2023-4039.patch \ " S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" SRC_URI[sha256sum] = "27769f64ef1d4cd5e2be8682c0c93f9887983e6cfd1a927ce5a0a2915a95cf8f"
meta/recipes-devtools/gcc/gcc-9.5/CVE-2023-4039.patch new file +1506 -0
1,506 lines not on this page · raw message
Signature · 1 line
2.34.1