binutils: fix CVE-2025-11081
PATCH 1/1 binutils: fix CVE-2025-11081
From: Yash Shinde <[email protected]>
CVE: CVE-2025-11081
Trying to dump .sframe in a PE file results in a segfault accessing elf_section_data.
* objdump (dump_sframe_section, dump_dwarf_section): Don't access elf_section_type without first checking the file is ELF.
PR 33406 SEGV in dump_dwarf_section
[https://sourceware.org/bugzilla/show_bug.cgi?id=33406]
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=f87a66db645caf8cc0e6fc87b0c28c78a38af59b]
Signed-off-by Yash Shinde <[email protected]>
--- .../binutils/binutils-2.45.inc | 1 + .../binutils/0015-CVE-2025-11081.patch | 51 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/0015-CVE-2025-11081.patch
meta/recipes-devtools/binutils/binutils-2.45.inc +1 -0
@@ -36,4 +36,5 @@ 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://0015-CVE-2025-11081.patch \ "
meta/recipes-devtools/binutils/binutils/0015-CVE-2025-11081.patch new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
2.49.0