Skip to contentSkip to conversation

gcc: Fix -fstack-protector issue on aarch64

PATCH New [email protected] 1 participant 1 message Sep 12, 2023

lore
Share & tools
lore
#0 lore raw

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.

---
 meta/recipes-devtools/gcc/gcc-13.2.inc        |    1 +
 .../gcc/gcc/CVE-2023-4039.patch               | 3093 +++++++++++++++++
 2 files changed, 3094 insertions(+)
 create mode 100644 meta/recipes-devtools/gcc/gcc/CVE-2023-4039.patch
meta/recipes-devtools/gcc/gcc-13.2.inc +1 -0
index 7f97ecc3329..0922251e18e 100644
@@ -65,6 +65,7 @@ SRC_URI = "${BASEURI} \
            file://0023-Fix-install-path-of-linux64.h.patch \
            file://0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch \
            file://0025-gcc-testsuite-mips.patch \
+           file://CVE-2023-4039.patch \
 "
 SRC_URI[sha256sum] = "e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da"
 
meta/recipes-devtools/gcc/gcc/CVE-2023-4039.patch new file +3093 -0

2,993 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.34.1

Part of the diff is not shown here. View the raw message.