From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/3] binutils: Patch for CVE-2026-90828
Date: Wed, 18 Nov 2026 16:20:10 +0100 [thread overview]
Message-ID: <20261118152011.24213-3-jaipaul.cheernam@est.tech> (raw)
In-Reply-To: <20261118152011.24213-1-jaipaul.cheernam@est.tech>
backport [3] fix mentioned in [2] for CVE [1]
References:
[1] https://nvd.nist.gov/vuln/detail/cve-2026-90828
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=34450
[3] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=123e4a5eab2db300b44288dcc1a29c903f9622f9
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
.../binutils/binutils-2.47.inc | 1 +
.../binutils/binutils/CVE-2026-90828.patch | 29 +++++++++++++++++++
2 files changed, 30 insertions(+)
create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2026-90828.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.47.inc b/meta/recipes-devtools/binutils/binutils-2.47.inc
index 5b57380a48a..2807ab84e8b 100644
--- a/meta/recipes-devtools/binutils/binutils-2.47.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.47.inc
@@ -39,4 +39,5 @@ SRC_URI = "\
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://CVE-2026-91781.patch \
+ file://CVE-2026-90828.patch \
"
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2026-90828.patch b/meta/recipes-devtools/binutils/binutils/CVE-2026-90828.patch
new file mode 100644
index 00000000000..a84e1fb8472
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/CVE-2026-90828.patch
@@ -0,0 +1,29 @@
+From a8d25ed8b1ac9d8e47fcce90cb901bacf863074c Mon Sep 17 00:00:00 2001
+From: Alan Modra <amodra@gmail.com>
+Date: Tue, 22 Sep 2026 21:27:03 +0930
+Subject: [PATCH] PR 34450 SEGV in elf_orphan_compatible
+
+Don't trust that SHF_LINK_ORDER set means linked_to is non-NULL.
+
+ * ldelf.c (elf_orphan_compatible): Sanity check linked_to before
+ dereferencing.
+
+CVE: CVE-2026-90828
+Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=123e4a5eab2db300b44288dcc1a29c903f9622f9]
+Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
+---
+ ld/ldelf.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/ld/ldelf.c b/ld/ldelf.c
+index 3d36e033b0c..50eb8d18799 100644
+--- a/ld/ldelf.c
++++ b/ld/ldelf.c
+@@ -2087,6 +2087,7 @@ elf_orphan_compatible (asection *in, asection *out)
+ || ((elf_section_flags (in) & SHF_LINK_ORDER) != 0
+ && (elf_section_flags (out) & SHF_LINK_ORDER) != 0
+ && elf_linked_to_section (in) != NULL
++ && elf_linked_to_section (out) != NULL
+ && (elf_linked_to_section (in)->output_section
+ != elf_linked_to_section (out)->output_section))
+ || ((elf_section_flags (out) ^ elf_section_flags (in))
next prev parent reply other threads:[~2026-11-18 15:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 15:20 [PATCH 0/3] binutils CVE fixes for CVE-2026-91781, CVE-2026-91782 and CVE-2026-90828 Jaipaul Cheernam
2026-11-18 15:20 ` [PATCH 1/3] binutils: Patch CVE-2026-91781 Jaipaul Cheernam
2026-11-18 15:20 ` Jaipaul Cheernam [this message]
2026-11-18 15:20 ` [PATCH 3/3] binutils: Patch for CVE-2026-91782 Jaipaul Cheernam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261118152011.24213-3-jaipaul.cheernam@est.tech \
--to=jaipaul.cheernam@est.tech \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox