Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)" <dkelaiya@cisco.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [wrynose][PATCH 2/3] expat: fix CVE-2026-117610
Date: Tue, 24 Nov 2026 09:20:18 -0800	[thread overview]
Message-ID: <1247346.1795540818998642938@lists.openembedded.org> (raw)
In-Reply-To: <DN2MPL18V9TU.1A57UGBE3IOUM@smile.fr>

[-- Attachment #1: Type: text/plain, Size: 3274 bytes --]

Hello Yoann,

Thanks for the review. I'll retain the regression test in Wrynose and
submit a test-only follow-up for Blacksail as soon as possible.

Regards,
Darsh

On Mon, Nov 23, 2026 at 07:06 PM, Yoann Congal wrote:

> 
> On Thu Nov 5, 2026 at 10:17 AM CET, Darsh Kelaiya -X (dkelaiya - E
> INFOCHIPS PRIVATE LIMITED at Cisco) via openembedded-core wrote:
> 
>> From: Darsh Kelaiya <dkelaiya@cisco.com>
>> 
>> Backport the merged upstream fix [1] identified by the release
>> announcement [2], together with its regression test [3]. An initial
>> empty, non-final external-entity parse must remain in the correct
>> initialization state instead of reaching a handler with invalid state.
>> 
>> Use the final merged PR 1444 commits; the earlier advisory reference
>> 7b0d50e4b1d16fafd55876260701e04279a7489d was superseded during review.
>> The regression test uses Expat 2.8.3's existing XCS literals and
>> xcstrcmp helper, so no string-helper refactoring is required.
>> 
>> The focused external-entity case crashes the unpatched native library
>> and passes with this fix. The full native unit suite also passes.
>> BitBake was not run.
>> 
>> [1] https://github.com/libexpat/libexpat/commit/bfc28346fa3efeb8ca56c17437d24a7344e5feab
>> 
>> [2] https://www.openwall.com/lists/oss-security/2026/11/02/6
>> [3] https://github.com/libexpat/libexpat/commit/cedb704d2cad9d6ef77f8f172104d3e751eccfd2
>> 
>> 
>> Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
>> ---
>> .../expat/expat/CVE-2026-117610_p1.patch | 30 ++++++
>> .../expat/expat/CVE-2026-117610_p2.patch | 92 +++++++++++++++++++
>> meta/recipes-core/expat/expat_2.8.3.bb | 2 +
>> 3 files changed, 124 insertions(+)
>> create mode 100644 meta/recipes-core/expat/expat/CVE-2026-117610_p1.patch
>> create mode 100644 meta/recipes-core/expat/expat/CVE-2026-117610_p2.patch
>> 
>> diff --git a/meta/recipes-core/expat/expat/CVE-2026-117610_p2.patch
>> b/meta/recipes-core/expat/expat/CVE-2026-117610_p2.patch
>> new file mode 100644
>> index 0000000000..2ebe6446c4
>> --- /dev/null
>> +++ b/meta/recipes-core/expat/expat/CVE-2026-117610_p2.patch
>> @@ -0,0 +1,92 @@
>> +From cedb704d2cad9d6ef77f8f172104d3e751eccfd2 Mon Sep 17 00:00:00 2001
>> +From: Sebastian Pipping <sebastian@pipping.org>
>> +Date: Mon, 26 Oct 2026 17:17:57 +0100
>> +Subject: [PATCH] tests: Add a test for a initial non-final empty
>> subparser
>> + parse
>> +
>> +.. with a handler call
>> +
>> +CVE: CVE-2026-117610
>> +Upstream-Status: Backport [ https://github.com/libexpat/libexpat/commit/cedb704d2cad9d6ef77f8f172104d3e751eccfd2
>> ]
>> +
>> +Backport Changes:
>> +- Compare handler data with the existing XCS macro and xcstrcmp test
>> + helper in Expat 2.8.3. This replaces xcsdup_str allocations,
>> + allocation assertions and frees, avoiding the newer xcs helpers.
>> +
>> +Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
> 
> Hello,
> 
> Blacksail backport does not have this _p2 adding the test. Can you
> either:
> * resent this without the test, or
> * send the patch adding the test to blacksail? (Since the recipe has
> ptest, adding a test for the non regression of a CVE fix is
> acceptable)
> 
> Regards,
> --
> Yoann Congal
> Smile ECS

[-- Attachment #2: Type: text/html, Size: 3972 bytes --]

  reply	other threads:[~2026-11-24 17:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-05  9:17 [OE-core][wrynose][PATCH 1/3] expat: fix CVE-2026-113351 Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-11-05  9:17 ` [OE-core][wrynose][PATCH 2/3] expat: fix CVE-2026-117610 Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-11-23 13:36   ` Yoann Congal
2026-11-24 17:20     ` Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco) [this message]
2026-11-05  9:17 ` [OE-core][wrynose][PATCH 3/3] expat: fix CVE-2026-118370 Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-11-23 11:41   ` Yoann Congal
2026-11-23 12:48     ` Joao Marcos Costa
2026-11-23 13:08       ` Yoann Congal
2026-11-24 17:17         ` [wrynose][PATCH " Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-11-14 13:40 ` [OE-core][wrynose][PATCH 1/3] expat: fix CVE-2026-113351 Yoann Congal
2026-11-17 12:44   ` [wrynose][PATCH " Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-11-20 23:47 ` [OE-core][wrynose][PATCH " Yoann Congal
2026-11-24 18:19   ` [wrynose][PATCH " Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)

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=1247346.1795540818998642938@lists.openembedded.org \
    --to=dkelaiya@cisco.com \
    --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