Subject: Re: [wrynose][PATCH] sudo: fix CVE-2026-82474 To: openembedded-core@lists.openembedded.org From: "Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)" X-Originating-Location: Mumbai, Maharashtra, IN (151.186.177.21) X-Originating-Platform: Windows Edge 158 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 24 Nov 2026 03:19:16 -0800 References: <20261016065612.3926487-1-dkelaiya@cisco.com> <897588.1794919051663404605@lists.openembedded.org> In-Reply-To: <897588.1794919051663404605@lists.openembedded.org> Message-ID: <1226682.1795519156912562061@lists.openembedded.org> Content-Type: multipart/alternative; boundary="ILTJuim9iiaD1hw52lvS" List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Tue, 24 Nov 2026 11:19:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251021 --ILTJuim9iiaD1hw52lvS Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Yoann, I've sent a Blacksail patch: https://lists.openembedded.org/g/openembedded-core/message/251001 I'll also send the master patch to add regression patches as soon as possib= le. Thanks, Darsh On Tue, Nov 17, 2026 at 06:07 PM, Darsh Kelaiya -X (dkelaiya - E INFOCHIPS = PRIVATE LIMITED at Cisco) wrote: >=20 > Hi Yoann, >=20 > I'm preparing a backport patch for Blacksail also. Will send as soon as > possible. >=20 > Thanks, > Darsh >=20 > On Sat, Nov 14, 2026 at 02:51 PM, Yoann Congal wrote: >=20 >> On Mon Oct 19, 2026 at 4:56 PM CEST, Yoann Congal wrote: >>=20 >>> On Fri Oct 16, 2026 at 8:56 AM CEST, Darsh Kelaiya -X (dkelaiya - E >>> INFOCHIPS PRIVATE LIMITED at Cisco) via lists.openembedded.org wrote: >>>=20 >>>> From: Darsh Kelaiya >>>>=20 >>>> This patch applies the upstream fix as referenced in [2], >>>> using the commit shown in [1]. >>>>=20 >>>> The recipe enables Linux intercept support. Check execveat commands >>>> and log subcommands instead of allowing this syscall unconditionally. >>>> Resolve directory file descriptors and AT_EMPTY_PATH to paths for >>>> sudoers policy checks. >>>>=20 >>>> Apply prerequisites [3] and [4] for proc_read_link() and fexecve paths= . >>>> Include follow-ups [5] and [6] to reject failed pathname rewrites and >>>> correct relative-path moves. Keep the upstream source changes intact. >>>>=20 >>>> [1] https://github.com/sudo-project/sudo/commit/71fbe42dcd5a1c8f799540= 583a2dfb2ae6221edf >>>>=20 >>>> [2] https://nvd.nist.gov/vuln/detail/CVE-2026-82474 >>>> [3] https://github.com/sudo-project/sudo/commit/1a312af6348594df371e60= 88aeed99685977f575 >>>>=20 >>>> [4] https://github.com/sudo-project/sudo/commit/e822b729da31baf9154946= 329a9d6ef569f0d182 >>>>=20 >>>> [5] https://github.com/sudo-project/sudo/commit/d1121181a87b2b47b4dfbb= 2af42399fcc5f1e3cd >>>>=20 >>>> [6] https://github.com/sudo-project/sudo/commit/02b14c043825b52be6cd53= 7b7f11bd5e7e10512e >>>>=20 >>>>=20 >>>> Signed-off-by: Darsh Kelaiya >>>> --- >>>> .../files/CVE-2026-82474-dependent_p1.patch | 94 +++ >>>> .../files/CVE-2026-82474-dependent_p2.patch | 34 + >>>> .../files/CVE-2026-82474-regression_p1.patch | 39 ++ >>>> .../files/CVE-2026-82474-regression_p2.patch | 33 + >>>> .../sudo/files/CVE-2026-82474.patch | 617 ++++++++++++++++++ >>>> meta/recipes-extended/sudo/sudo_1.9.17p2.bb | 5 + >>>> 6 files changed, 822 insertions(+) >>>> create mode 100644 >>>> meta/recipes-extended/sudo/files/CVE-2026-82474-dependent_p1.patch >>>> create mode 100644 >>>> meta/recipes-extended/sudo/files/CVE-2026-82474-dependent_p2.patch >>>> create mode 100644 >>>> meta/recipes-extended/sudo/files/CVE-2026-82474-regression_p1.patch >>>> create mode 100644 >>>> meta/recipes-extended/sudo/files/CVE-2026-82474-regression_p2.patch >>>> create mode 100644 meta/recipes-extended/sudo/files/CVE-2026-82474.pat= ch >>>=20 >>> Hello, >>>=20 >>> I think this fix is also needed for blacksail and master. Can you send >>> the relevant upgrade/backports so I can merge this on wrynose? >>=20 >> Hello, >>=20 >> This CVE is now fixed on master but the cherry-pick does not apply >> cleanly for blacksail. Can you send this fix for blacksail as well? >>=20 >> Thanks! >> -- >> Yoann Congal >> Smile ECS >=20 >=20 > --ILTJuim9iiaD1hw52lvS Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hi Yoann,

I've sent a Blacksail patch:
https://lists.openembedded.org/g/openembedded-core/m= essage/251001

I'll also send the master patch to add regress= ion patches as soon as possible.

Thanks,
Darsh
 
On Tue, Nov 17, 2026 at 06:07 PM, Darsh Kelaiya -X (dkelaiya - E INFOC= HIPS PRIVATE LIMITED at Cisco) wrote:
Hi Yoann,

I'm preparing a backport patch for Blacksail also= . Will send as soon as possible.

Thanks,
Darsh

O= n Sat, Nov 14, 2026 at 02:51 PM, Yoann Congal wrote:
On Mon Oct 19, 2026 at 4:56 PM CEST, Yoann Congal wrote:
On Fri Oct 16, 2026 at 8:56 AM CEST, Darsh Kelaiya -X (dkelaiya= - E INFOCHIPS PRIVATE LIMITED at Cisco) via lists.openembedded.org wrote:<= br />
From: Darsh Kelaiya <dkelaiya@cisco.com>

This = patch applies the upstream fix as referenced in [2],
using the commit = shown in [1].

The recipe enables Linux intercept support. Check = execveat commands
and log subcommands instead of allowing this syscall= unconditionally.
Resolve directory file descriptors and AT_EMPTY_PATH= to paths for
sudoers policy checks.

Apply prerequisites [3= ] and [4] for proc_read_link() and fexecve paths.
Include follow-ups [= 5] and [6] to reject failed pathname rewrites and
correct relative-pat= h moves. Keep the upstream source changes intact.

[1] https://github.com/sudo-proj= ect/sudo/commit/71fbe42dcd5a1c8f799540583a2dfb2ae6221edf
[2] https://nvd.nist.gov/vuln/detail/CVE-2026-82474
[3]= https://github.co= m/sudo-project/sudo/commit/1a312af6348594df371e6088aeed99685977f575
[4] https://gith= ub.com/sudo-project/sudo/commit/e822b729da31baf9154946329a9d6ef569f0d182
[5]
https:/= /github.com/sudo-project/sudo/commit/d1121181a87b2b47b4dfbb2af42399fcc5f1e3= cd
[6] ht= tps://github.com/sudo-project/sudo/commit/02b14c043825b52be6cd537b7f11bd5e7= e10512e

Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com&= gt;
---
.../files/CVE-2026-82474-dependent_p1.patch | 94 +++
.../files/CVE-2026-82474-dependent_p2.patch | 34 +
.../files/CVE-2026= -82474-regression_p1.patch | 39 ++
.../files/CVE-2026-82474-regression= _p2.patch | 33 +
.../sudo/files/CVE-2026-82474.patch | 617 +++++++++++= +++++++
meta/recipes-extended/sudo/sudo_1.9.17p2.bb | 5 +
6 files= changed, 822 insertions(+)
create mode 100644 meta/recipes-extended/s= udo/files/CVE-2026-82474-dependent_p1.patch
create mode 100644 meta/re= cipes-extended/sudo/files/CVE-2026-82474-dependent_p2.patch
create mod= e 100644 meta/recipes-extended/sudo/files/CVE-2026-82474-regression_p1.patc= h
create mode 100644 meta/recipes-extended/sudo/files/CVE-2026-82474-r= egression_p2.patch
create mode 100644 meta/recipes-extended/sudo/files= /CVE-2026-82474.patch
Hello,

I think this fix is also needed for blacksail and master.= Can you send
the relevant upgrade/backports so I can merge this on wr= ynose?
Hello,

This CVE is now fixed on master but the cherry-pick does = not apply
cleanly for blacksail. Can you send this fix for blacksail a= s well?

Thanks!
--
Yoann Congal
Smile ECS
--ILTJuim9iiaD1hw52lvS--