From patchwork Tue Dec 1 15:56:54 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Jo=C3=A3o_Marcos_Costa_=28Schneider_Electric=29?= X-Patchwork-Id: 106833 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.14370.1796141339078836458 for ; Tue, 01 Dec 2026 08:08:59 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@bootlin.com header.s=dkim header.b=vKjYCJpF; spf=pass (domain: bootlin.com, ip: 185.246.84.56, mailfrom: joaomarcos.costa@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 3BF8A1A18AF for ; Tue, 1 Dec 2026 16:08:57 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 0B344603CB; Tue, 1 Dec 2026 16:08:57 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 2459311EA26FD; Tue, 01 Dec 2026 17:08:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796141332; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=0a6SfH5XPvo3Um/GIXNU4flK3VVrtOVrdUmDqeBBoZs=; b=vKjYCJpFUwZTMzcj5++hlZJAUN7un2BTC64Lyjbi8I7BNiYN7758H+W4vOSuzsby2bu5JL mDg5Msw9fY6T9DkaAGTO8zsLhGq9BQ5iDXJ01VqfaAA7TAEoYCKquwau0AUEtD/EIS//BT zH0V3ipqPvT2Mp9JqGmAKlD/xTQnpcWyF4W1zFL6s89ZbMnpXTFStoFuPXOdE2QiNaJdcy XlBWk0K0xkqCkSZuiuD8VdroTGyFzOysG5QuGoL7+BcQV83OLEUjHMGQx3CLTdUNxmvVpH 2t1FWzjmB9Q6N1k0rzLruHCsuZve0ylzbWp5j8+qAxiRLYJoTuryklO/LYaeuA== From: =?utf-8?q?Jo=C3=A3o_Marcos_Costa_=28Schneider_Electric=29?= To: openembedded-core@lists.openembedded.org Cc: thomas.petazzoni@bootlin.com, yoann.congal@smile.fr, =?utf-8?q?Jo=C3=A3o?= =?utf-8?q?_Marcos_Costa_=28Schneider_Electric=29?= Subject: [scarthgap][PATCH 1/3] busybox: fix CVE-2026-38752 Date: Tue, 1 Dec 2026 16:56:54 +0100 Message-ID: <20261201155656.839273-2-joaomarcos.costa@bootlin.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261201155656.839273-1-joaomarcos.costa@bootlin.com> References: <20261201155656.839273-1-joaomarcos.costa@bootlin.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 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, 01 Dec 2026 16:09:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251750 A patch [1] to fix this vulnerability, marked as High [2], was submitted to Busybox's mailing list, but not yet merged. Backport the fix to busybox 1.36.1, and mark it as 'Pending'. [1] https://lists.busybox.net/pipermail/busybox/2026-June/092351.html [2] https://nvd.nist.gov/vuln/detail/cve-2026-38752 Signed-off-by: João Marcos Costa (Schneider Electric) --- .../busybox/busybox/CVE-2026-38752.patch | 85 +++++++++++++++++++ meta/recipes-core/busybox/busybox_1.36.1.bb | 1 + 2 files changed, 86 insertions(+) create mode 100644 meta/recipes-core/busybox/busybox/CVE-2026-38752.patch diff --git a/meta/recipes-core/busybox/busybox/CVE-2026-38752.patch b/meta/recipes-core/busybox/busybox/CVE-2026-38752.patch new file mode 100644 index 0000000000..618c80e75a --- /dev/null +++ b/meta/recipes-core/busybox/busybox/CVE-2026-38752.patch @@ -0,0 +1,85 @@ +From e06931d982c4e681fe4dac9da94f34f09c95e137 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20Costa?= +Date: Tue, 1 Dec 2026 16:00:24 +0100 +Subject: [PATCH] awk: fix stack overflow in evaluate() +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Recursive awk functions can keep re-entering evaluate() until the +process stack is exhausted. Track active function-call depth and report a +normal awk error once the limit is reached instead of overflowing the +stack. + +Signed-off-by: Sanghyun Park + +CVE: CVE-2026-38752 +Upstream-Status: Pending [https://lists.busybox.net/pipermail/busybox/2026-June/092351.html] + +Signed-off-by: João Marcos Costa (Schneider Electric) +--- + editors/awk.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/editors/awk.c b/editors/awk.c +index a53b1933f..137e9d194 100644 +--- a/editors/awk.c ++++ b/editors/awk.c +@@ -591,6 +591,7 @@ struct globals2 { + smalluint exitcode; + + unsigned evaluate__seed; ++ unsigned evaluate__func_depth; + var *evaluate__fnargs; + regex_t evaluate__sreg; + +@@ -661,6 +662,7 @@ static const char EMSG_UNEXP_TOKEN[] ALIGN1 = "Unexpected token"; + static const char EMSG_DIV_BY_ZERO[] ALIGN1 = "Division by zero"; + static const char EMSG_INV_FMT[] ALIGN1 = "Invalid format specifier"; + static const char EMSG_TOO_FEW_ARGS[] ALIGN1 = "Too few arguments"; ++static const char EMSG_RECURSION[] ALIGN1 = "Recursion limit exceeded"; + static const char EMSG_NOT_ARRAY[] ALIGN1 = "Not an array"; + static const char EMSG_POSSIBLE_ERROR[] ALIGN1 = "Possible syntax error"; + static const char EMSG_UNDEF_FUNC[] ALIGN1 = "Call to undefined function"; +@@ -2899,6 +2901,7 @@ static var *evaluate(node *op, var *res) + #define fnargs (G.evaluate__fnargs) + /* seed is initialized to 1 */ + #define seed (G.evaluate__seed) ++#define func_depth (G.evaluate__func_depth) + #define sreg (G.evaluate__sreg) + + var *tmpvars; +@@ -3211,13 +3214,17 @@ static var *evaluate(node *op, var *res) + var *argvars, *sv_fnargs; + const char *sv_progname; + int nargs, i; ++ enum { MAX_AWK_FUNC_DEPTH = 1000 }; + + debug_printf_eval("FUNC\n"); + + if (!op->r.f->defined) + syntax_error(EMSG_UNDEF_FUNC); ++ if (func_depth >= MAX_AWK_FUNC_DEPTH) ++ syntax_error(EMSG_RECURSION); + + /* The body might be empty, still has to eval the args */ ++ func_depth++; + nargs = op->r.f->nargs; + argvars = nvalloc(nargs); + i = 0; +@@ -3245,6 +3252,7 @@ static var *evaluate(node *op, var *res) + + g_progname = sv_progname; + fnargs = sv_fnargs; ++ func_depth--; + + break; + } +@@ -3600,6 +3608,7 @@ static var *evaluate(node *op, var *res) + return res; + #undef fnargs + #undef seed ++#undef func_depth + #undef sreg + } + diff --git a/meta/recipes-core/busybox/busybox_1.36.1.bb b/meta/recipes-core/busybox/busybox_1.36.1.bb index 70d984b7c6..629fe758f6 100644 --- a/meta/recipes-core/busybox/busybox_1.36.1.bb +++ b/meta/recipes-core/busybox/busybox_1.36.1.bb @@ -68,6 +68,7 @@ SRC_URI = "https://busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://CVE-2026-29004-02.patch \ file://CVE-2026-38754.patch \ file://CVE-2024-58251.patch \ + file://CVE-2026-38752.patch \ " SRC_URI:append:libc-musl = " file://musl.cfg " # TODO http://lists.busybox.net/pipermail/busybox/2023-January/090078.html From patchwork Tue Dec 1 15:56:55 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Jo=C3=A3o_Marcos_Costa_=28Schneider_Electric=29?= X-Patchwork-Id: 106834 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.14375.1796141344980114564 for ; Tue, 01 Dec 2026 08:09:05 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@bootlin.com header.s=dkim header.b=ROwMaAYd; spf=pass (domain: bootlin.com, ip: 185.246.84.56, mailfrom: joaomarcos.costa@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 516521A18AF; Tue, 1 Dec 2026 16:09:03 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 1EC08603CB; Tue, 1 Dec 2026 16:09:03 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id BB03311EA2694; Tue, 01 Dec 2026 17:08:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796141338; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=/2sIG8duTeXfBHx3OWsgXra6bTzF6qiT1WJ9S4i14wI=; b=ROwMaAYdMy+saepTbKHF5CEovSdxmKDO4v3cl4KkTKkfOwksgYyPLIScmuJ/VaSwV4CxJM SKJkryyMDbFylEIv8YC53PlrSqoSVabBUy3aRoyEa8r9ClJ0yU8MVale+vHpT9RG3nMogU NjLi7x0fvZxx+G9lYs0R9wi4jMmtMuScLQ2USFLc/08YdjTdfB5T7qNKMmBamFZycL7te0 oAF4T9l9Mw89Gy7cpftbQszNbTLwfjXtR1VO9V6raAckJVfRdVXohKa9E4R2uPrnrJxVij UY9HaHl0j3OZq0HQThYgRN2OE2YwPXItTNUXeyApRi0cMDNPAY8p7qZu3eyv+w== From: =?utf-8?q?Jo=C3=A3o_Marcos_Costa_=28Schneider_Electric=29?= To: openembedded-core@lists.openembedded.org Cc: thomas.petazzoni@bootlin.com, yoann.congal@smile.fr, =?utf-8?q?Jo=C3=A3o?= =?utf-8?q?_Marcos_Costa_=28Schneider_Electric=29?= Subject: [scarthgap][PATCH 2/3] busybox: fix CVE-2026-38753 Date: Tue, 1 Dec 2026 16:56:55 +0100 Message-ID: <20261201155656.839273-3-joaomarcos.costa@bootlin.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261201155656.839273-1-joaomarcos.costa@bootlin.com> References: <20261201155656.839273-1-joaomarcos.costa@bootlin.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 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, 01 Dec 2026 16:09:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251751 A patch [1] to fix this vulnerability, marked as High [2], was submitted to Busybox's mailing list, but not yet merged. Backport the fix to busybox 1.36.1, and mark it as 'Pending'. [1] https://lists.busybox.net/pipermail/busybox/2026-June/092352.html [2] https://nvd.nist.gov/vuln/detail/cve-2026-38753 Signed-off-by: João Marcos Costa (Schneider Electric) --- .../busybox/busybox/CVE-2026-38753.patch | 57 +++++++++++++++++++ meta/recipes-core/busybox/busybox_1.36.1.bb | 1 + 2 files changed, 58 insertions(+) create mode 100644 meta/recipes-core/busybox/busybox/CVE-2026-38753.patch diff --git a/meta/recipes-core/busybox/busybox/CVE-2026-38753.patch b/meta/recipes-core/busybox/busybox/CVE-2026-38753.patch new file mode 100644 index 0000000000..2a4d25cbed --- /dev/null +++ b/meta/recipes-core/busybox/busybox/CVE-2026-38753.patch @@ -0,0 +1,57 @@ +From bab483171876d2e46630519df7d6bec4327f073d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20Costa?= +Date: Tue, 1 Dec 2026 16:12:42 +0100 +Subject: [PATCH] awk: fix use-after-free in awk_sub() +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +awk_sub() receives the replacement text as a pointer into awk variable +storage. Evaluating the regular expression argument can change that +storage through as_regex(), leaving the replacement pointer dangling +before strlen() and the replacement loop use it. + +Copy the replacement string before calling as_regex() so substitution +uses stable storage for the duration of the operation. + +Signed-off-by: Sanghyun Park + +CVE: CVE-2026-38753 +Upstream-Status: Pending [https://lists.busybox.net/pipermail/busybox/2026-June/092352.html] + +Signed-off-by: João Marcos Costa (Schneider Electric) +--- + editors/awk.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/editors/awk.c b/editors/awk.c +index 137e9d194..1b60c9288 100644 +--- a/editors/awk.c ++++ b/editors/awk.c +@@ -2498,6 +2498,7 @@ static char *awk_printf(node *n, size_t *len) + static int awk_sub(node *rn, const char *repl, int nm, var *src, var *dest, int subexp) + { + char *resbuf; ++ char *repl_copy; + const char *sp; + int match_no, residx, replen, resbufsize; + int regexec_flags; +@@ -2507,8 +2508,10 @@ static int awk_sub(node *rn, const char *repl, int nm, var *src, var *dest, int + resbuf = NULL; + residx = 0; + match_no = 0; ++ repl_copy = xstrdup(repl); + regexec_flags = 0; + regex = as_regex(rn, &sreg); ++ repl = repl_copy; + sp = getvar_s(src ? src : intvar[F0]); + replen = strlen(repl); + while (regexec(regex, sp, 10, pmatch, regexec_flags) == 0) { +@@ -2583,6 +2586,7 @@ static int awk_sub(node *rn, const char *repl, int nm, var *src, var *dest, int + setvar_p(dest ? dest : intvar[F0], resbuf); + if (regex == &sreg) + regfree(regex); ++ free(repl_copy); + return match_no; + } + diff --git a/meta/recipes-core/busybox/busybox_1.36.1.bb b/meta/recipes-core/busybox/busybox_1.36.1.bb index 629fe758f6..68dea62557 100644 --- a/meta/recipes-core/busybox/busybox_1.36.1.bb +++ b/meta/recipes-core/busybox/busybox_1.36.1.bb @@ -69,6 +69,7 @@ SRC_URI = "https://busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://CVE-2026-38754.patch \ file://CVE-2024-58251.patch \ file://CVE-2026-38752.patch \ + file://CVE-2026-38753.patch \ " SRC_URI:append:libc-musl = " file://musl.cfg " # TODO http://lists.busybox.net/pipermail/busybox/2023-January/090078.html From patchwork Tue Dec 1 15:56:56 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Jo=C3=A3o_Marcos_Costa_=28Schneider_Electric=29?= X-Patchwork-Id: 106835 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.14822.1796141351114198215 for ; Tue, 01 Dec 2026 08:09:11 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@bootlin.com header.s=dkim header.b=TV6hAZqh; spf=pass (domain: bootlin.com, ip: 185.246.85.4, mailfrom: joaomarcos.costa@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 4A9964E417A5; Tue, 1 Dec 2026 16:09:09 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 21945603CB; Tue, 1 Dec 2026 16:09:09 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id C153611EA26FD; Tue, 01 Dec 2026 17:09:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796141344; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=TgSjbwJG5XR2p5IWT3NOW1zeijScGUyKOhKxOEy2uCM=; b=TV6hAZqhWtULRg2wetx1hCUzPR47RJTyO+WLBtvTsJF2wUG1w20w/gf/MPtY2i/4bU1DVw GZRLCK2sbep9iJQzUmXWGJ7z2NISiHIVDAc+sqtmMVsuO3SKNt8hKYXfLJbUu7YiKtx2gO cE5yO7hLAd8uK9reyZU1SJgAK0q1e2daCj+5Qg+mcjYup9Z6MqFhjPJno8Nqm3tPmDRMXs NMKyeF3fmTtlWavC54/dbVHktXR2AiTCB3O/25U0Ox2MuVL0IqMzEiPiDlGFpV5JguQDzG WcFICEm2zyA4q8P+7C9I0t93trwgNW9yWsrt2ZIV70bxMSFtkOgGk4/8t76yjA== From: =?utf-8?q?Jo=C3=A3o_Marcos_Costa_=28Schneider_Electric=29?= To: openembedded-core@lists.openembedded.org Cc: thomas.petazzoni@bootlin.com, yoann.congal@smile.fr, =?utf-8?q?Jo=C3=A3o?= =?utf-8?q?_Marcos_Costa_=28Schneider_Electric=29?= Subject: [scarthgap][PATCH 3/3] busybox: fix CVE-2026-38753 Date: Tue, 1 Dec 2026 16:56:56 +0100 Message-ID: <20261201155656.839273-4-joaomarcos.costa@bootlin.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261201155656.839273-1-joaomarcos.costa@bootlin.com> References: <20261201155656.839273-1-joaomarcos.costa@bootlin.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 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, 01 Dec 2026 16:09:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251752 A patch [1] to fix this vulnerability, marked as High [2], was submitted to Busybox's mailing list, but not yet merged. Backport the fix to busybox 1.36.1, and mark it as 'Pending'. [1] https://lists.busybox.net/pipermail/busybox/2026-June/092354.html [2] https://nvd.nist.gov/vuln/detail/cve-2026-38755 Signed-off-by: João Marcos Costa (Schneider Electric) --- .../busybox/busybox/CVE-2026-38755.patch | 72 +++++++++++++++++++ meta/recipes-core/busybox/busybox_1.36.1.bb | 1 + 2 files changed, 73 insertions(+) create mode 100644 meta/recipes-core/busybox/busybox/CVE-2026-38755.patch diff --git a/meta/recipes-core/busybox/busybox/CVE-2026-38755.patch b/meta/recipes-core/busybox/busybox/CVE-2026-38755.patch new file mode 100644 index 0000000000..95a6303591 --- /dev/null +++ b/meta/recipes-core/busybox/busybox/CVE-2026-38755.patch @@ -0,0 +1,72 @@ +From cb2e18a92ca873780bf9a31f2070c4a4c8aa0f0a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20Costa?= +Date: Tue, 1 Dec 2026 16:20:37 +0100 +Subject: [PATCH] ash: fix stack overflow in evalfun() +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Recursive shell functions can repeatedly enter evalfun() until the +process stack is exhausted. Track active shell function calls and raise a +normal shell error when the recursion limit is reached. + +The counter is decremented through the existing funcdone cleanup path so +errors raised from inside the function body unwind it correctly. + +Signed-off-by: Sanghyun Park + +CVE: CVE-2026-38755 +Upstream-Status: Pending [https://lists.busybox.net/pipermail/busybox/2026-June/092354.html] + +Signed-off-by: João Marcos Costa (Schneider Electric) +--- + shell/ash.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/shell/ash.c b/shell/ash.c +index e77c8d19a..917798f0f 100644 +--- a/shell/ash.c ++++ b/shell/ash.c +@@ -402,6 +402,7 @@ struct globals_misc { + int shlvl; + #define rootshell (!shlvl) + int errlinno; ++ unsigned func_depth; + + char *minusc; /* argument to -c option */ + +@@ -489,6 +490,7 @@ extern struct globals_misc *BB_GLOBAL_CONST ash_ptr_to_globals_misc; + #define rootpid (G_misc.rootpid ) + #define shlvl (G_misc.shlvl ) + #define errlinno (G_misc.errlinno ) ++#define func_depth (G_misc.func_depth ) + #define minusc (G_misc.minusc ) + #define curdir (G_misc.curdir ) + #define physdir (G_misc.physdir ) +@@ -9918,6 +9920,10 @@ evalfun(struct funcnode *func, int argc, char **argv, int flags) + int savefuncline; + char *savefuncname; + char *savetrap = NULL; ++ enum { MAX_ASH_FUNC_DEPTH = 1000 }; ++ ++ if (func_depth >= MAX_ASH_FUNC_DEPTH) ++ ash_msg_and_raise_error("function recursion limit exceeded"); + + if (!Eflag) { + savetrap = trap[NTRAP_ERR]; +@@ -9936,6 +9942,7 @@ evalfun(struct funcnode *func, int argc, char **argv, int flags) + exception_handler = &jmploc; + shellparam.malloced = 0; + func->count++; ++ func_depth++; + funcname = func->n.ndefun.text; + funcline = func->n.ndefun.linno; + INT_ON; +@@ -9957,6 +9964,7 @@ evalfun(struct funcnode *func, int argc, char **argv, int flags) + } + funcline = savefuncline; + lineno = savelineno; ++ func_depth--; + freefunc(func); + freeparam(&shellparam); + shellparam = saveparam; diff --git a/meta/recipes-core/busybox/busybox_1.36.1.bb b/meta/recipes-core/busybox/busybox_1.36.1.bb index 68dea62557..606fe23375 100644 --- a/meta/recipes-core/busybox/busybox_1.36.1.bb +++ b/meta/recipes-core/busybox/busybox_1.36.1.bb @@ -70,6 +70,7 @@ SRC_URI = "https://busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://CVE-2024-58251.patch \ file://CVE-2026-38752.patch \ file://CVE-2026-38753.patch \ + file://CVE-2026-38755.patch \ " SRC_URI:append:libc-musl = " file://musl.cfg " # TODO http://lists.busybox.net/pipermail/busybox/2023-January/090078.html