summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorYash Shinde <Yash.Shinde@windriver.com>2025-12-19 01:50:15 -0800
committerSteve Sakoman <steve@sakoman.com>2025-12-31 07:49:31 -0800
commita247883e38bb77c6d5d703de2cf344b6e9e9cd38 (patch)
treecf85055c99548aaf9f7bae27afcd5fa2676af946 /meta
parentc65b128458b108c5ec14ca91f693fd41ba521c22 (diff)
downloadpoky-a247883e38bb77c6d5d703de2cf344b6e9e9cd38.tar.gz
binutils: fix CVE-2025-11839
CVE-2025-11839 PR 33448 [BUG] Aborted in tg_tag_type at prdbg.c:2452 Remove call to abort in the DGB debug format printing code, thus allowing the display of a fuzzed input file to complete without triggering an abort. https://sourceware.org/bugzilla/show_bug.cgi?id=33448 Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=12ef7d5b7b02d0023db645d86eb9d0797bc747fe] (From OE-Core rev: d60c144e082d6e6db4f9971bb886751199cd433f) Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.42.inc1
-rw-r--r--meta/recipes-devtools/binutils/binutils/0029-CVE-2025-11839.patch32
2 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.42.inc b/meta/recipes-devtools/binutils/binutils-2.42.inc
index 69c5eddefb..e045ccf00d 100644
--- a/meta/recipes-devtools/binutils/binutils-2.42.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.42.inc
@@ -67,5 +67,6 @@ SRC_URI = "\
67 file://CVE-2025-11412.patch \ 67 file://CVE-2025-11412.patch \
68 file://CVE-2025-11413.patch \ 68 file://CVE-2025-11413.patch \
69 file://0028-CVE-2025-11494.patch \ 69 file://0028-CVE-2025-11494.patch \
70 file://0029-CVE-2025-11839.patch \
70" 71"
71S = "${WORKDIR}/git" 72S = "${WORKDIR}/git"
diff --git a/meta/recipes-devtools/binutils/binutils/0029-CVE-2025-11839.patch b/meta/recipes-devtools/binutils/binutils/0029-CVE-2025-11839.patch
new file mode 100644
index 0000000000..7f2f6d553d
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0029-CVE-2025-11839.patch
@@ -0,0 +1,32 @@
1From 12ef7d5b7b02d0023db645d86eb9d0797bc747fe Mon Sep 17 00:00:00 2001
2From: Nick Clifton <nickc@redhat.com>
3Date: Mon, 3 Nov 2025 11:49:02 +0000
4Subject: [PATCH] Remove call to abort in the DGB debug format printing code,
5 thus allowing the display of a fuzzed input file to complete without
6 triggering an abort.
7
8PR 33448
9---
10 binutils/prdbg.c | 1 -
11 1 file changed, 1 deletion(-)
12
13Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=12ef7d5b7b02d0023db645d86eb9d0797bc747fe]
14CVE: CVE-2025-11839
15
16Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
17
18diff --git a/binutils/prdbg.c b/binutils/prdbg.c
19index c239aeb1a79..5d405c48e3d 100644
20--- a/binutils/prdbg.c
21+++ b/binutils/prdbg.c
22@@ -2449,7 +2449,6 @@ tg_tag_type (void *p, const char *name, unsigned int id,
23 t = "union class ";
24 break;
25 default:
26- abort ();
27 return false;
28 }
29
30--
312.43.7
32