diff options
| author | Harish Sadineni <Harish.Sadineni@windriver.com> | 2025-06-10 02:53:54 -0700 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-06-20 09:21:26 -0700 |
| commit | 6ed58415ba1484e115b1f48aa34c3744f01bd5b4 (patch) | |
| tree | 562e92905189e1ec6b2b28c1ca62219f7f2d4714 | |
| parent | 62d68e4866a639b9c13e0684c54ec18e7dfe02d5 (diff) | |
| download | poky-6ed58415ba1484e115b1f48aa34c3744f01bd5b4.tar.gz | |
binutils: Fix for CVE-2025-3198
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=ba6ad3a18cb26b79e0e3b84c39f707535bbc344d]
CVE: CVE-2025-3198
(From OE-Core rev: 3516188a077bd27e1de3bb42bd5630dba0b3b07f)
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -rw-r--r-- | meta/recipes-devtools/binutils/binutils-2.44.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/binutils/binutils/0016-CVE-2025-3198.patch | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.44.inc b/meta/recipes-devtools/binutils/binutils-2.44.inc index 0b8a298be0..e5df62b14e 100644 --- a/meta/recipes-devtools/binutils/binutils-2.44.inc +++ b/meta/recipes-devtools/binutils/binutils-2.44.inc | |||
| @@ -41,5 +41,6 @@ SRC_URI = "\ | |||
| 41 | file://0016-CVE-2025-1181-1.patch \ | 41 | file://0016-CVE-2025-1181-1.patch \ |
| 42 | file://0017-CVE-2025-1181-2.patch \ | 42 | file://0017-CVE-2025-1181-2.patch \ |
| 43 | file://0016-CVE-2025-5244.patch \ | 43 | file://0016-CVE-2025-5244.patch \ |
| 44 | file://0016-CVE-2025-3198.patch \ | ||
| 44 | " | 45 | " |
| 45 | S = "${WORKDIR}/git" | 46 | S = "${WORKDIR}/git" |
diff --git a/meta/recipes-devtools/binutils/binutils/0016-CVE-2025-3198.patch b/meta/recipes-devtools/binutils/binutils/0016-CVE-2025-3198.patch new file mode 100644 index 0000000000..49d7c94b9f --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils/0016-CVE-2025-3198.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From ba6ad3a18cb26b79e0e3b84c39f707535bbc344d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alan Modra <amodra@gmail.com> | ||
| 3 | Date: Wed, 19 Feb 2025 07:58:54 +1030 | ||
| 4 | Subject: [PATCH] PR32716, objdump -i memory leak | ||
| 5 | |||
| 6 | PR binutils/32716 | ||
| 7 | * bucomm.c (display_info): Free arg.info. | ||
| 8 | |||
| 9 | Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=ba6ad3a18cb26b79e0e3b84c39f707535bbc344d] | ||
| 10 | CVE: CVE-2025-3198 | ||
| 11 | |||
| 12 | Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com> | ||
| 13 | --- | ||
| 14 | binutils/bucomm.c | 1 + | ||
| 15 | 1 file changed, 1 insertion(+) | ||
| 16 | |||
| 17 | diff --git a/binutils/bucomm.c b/binutils/bucomm.c | ||
| 18 | index ccf54099154..d4554737db1 100644 | ||
| 19 | --- a/binutils/bucomm.c | ||
| 20 | +++ b/binutils/bucomm.c | ||
| 21 | @@ -435,6 +435,7 @@ display_info (void) | ||
| 22 | if (!arg.error) | ||
| 23 | display_target_tables (&arg); | ||
| 24 | |||
| 25 | + free (arg.info); | ||
| 26 | return arg.error; | ||
| 27 | } | ||
| 28 | |||
