binutils: Fix CVE-2025-11494
PATCH 1/1 binutils: Fix CVE-2025-11494
From: Deepesh Varatharajan <[email protected]>
Since x86 .eh_frame section may reference _GLOBAL_OFFSET_TABLE_, keep _GLOBAL_OFFSET_TABLE_ if there is dynamic section and the output .eh_frame section is non-empty.
Backport a patch from upstream to fix CVE-2025-11494
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=b6ac5a8a5b82f0ae6a4642c8d7149b325f4cc60a]
Signed-off-by Deepesh Varatharajan <[email protected]>
--- .../binutils/binutils-2.45.inc | 3 +- .../binutils/0018-CVE-2025-11494.patch | 43 +++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/binutils/binutils/0018-CVE-2025-11494.patch
meta/recipes-devtools/binutils/binutils-2.45.inc +2 -1
@@ -36,7 +36,7 @@ SRC_URI = "\ file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ file://0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ file://0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \ - file://0001-aarch64-constify-BTI-and-GCS-report-functions.patch \ + file://0001-aarch64-constify-BTI-and-GCS-report-functions.patch \ file://0015-CVE-2025-11081.patch \ file://0016-CVE-2025-11082.patch \ file://0017-CVE-2025-11083.patch \
@@ -44,4 +44,5 @@ SRC_URI = "\ file://CVE-2025-11412.patch \ file://CVE-2025-11413.patch \ file://CVE-2025-11495.patch \ + file://0018-CVE-2025-11494.patch \ "
meta/recipes-devtools/binutils/binutils/0018-CVE-2025-11494.patch new file +43 -0
43 lines not on this page · raw message
Signature · 1 line
2.49.0