Patch review
cover Patch review
Hello,
(I'm back from holidays. This is a series prepared by Fabien. Thanks to him for handling things while I was away :) )
Please review this set of changes for wrynose and have comments back by end of day Wednesday, August 26.
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/4542
The following changes since commit ef022bf82d79015802309d14c28b13373ebe53f5:
build-appliance-image: Update to wrynose head revisions (2026-08-18 08:40:33 +0100)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/wrynose-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/wrynose-nut
for you to fetch changes up to f7397af248e1e338929d70a910b0fbc2341528ec:
mirrors: Disable YP mirrors on autobuilder (2026-08-21 18:06:46 +0200)
----------------------------------------------------------------
Adarsh Jagadish Kamini (1):
libssh2: fix CVE-2026-58050
Deepak Rathore (2):
curl: fix CVE-2026-4873
nghttp2: set status for CVE-2026-58055
Jaipaul Cheernam (6):
libssh2: fix CVE-2026-66032
libssh2: fix CVE-2026-66033
libssh2: fix CVE-2026-66034
libssh2: fix CVE-2026-66035
binutils: Patch for CVE-2026-15003
binutils: fix CVE-2026-18220
Michal Sieron (1):
rpcbind: Drop dependency on quota
Peter Marko (6):
busybox: patch CVE-2026-38754
libsndfile1: patch CVE-2026-37555
bison: patch CVE-2026-56389
cpio: patch CVE-2026-66485
cpio: patch CVE-2026-66484
cpio: patch CVE-2026-66486
Richard Purdie (3):
rpcbind: upgrade 1.2.8 -> 1.2.9
oeqa/maturin: Update dependency version
mirrors: Disable YP mirrors on autobuilder
meta/classes-global/mirrors.bbclass | 19 +-
.../yocto-autobuilder/autobuilder.conf | 1 +
.../files/maturin/guessing-game/Cargo.toml | 2 +-
.../busybox/busybox/CVE-2026-38754.patch | 155 ++++++
meta/recipes-core/busybox/busybox_1.37.0.bb | 1 +
.../binutils/binutils-2.46.inc | 2 +
.../binutils/binutils/CVE-2026-15003.patch | 402 ++++++++++++++
.../binutils/binutils/CVE-2026-18220.patch | 65 +++
.../bison/bison/CVE-2026-56389.patch | 56 ++
meta/recipes-devtools/bison/bison_3.8.2.bb | 1 +
meta/recipes-extended/cpio/cpio_2.15.bb | 3 +
.../cpio/files/CVE-2026-66484.patch | 28 +
.../cpio/files/CVE-2026-66485.patch | 210 ++++++++
.../cpio/files/CVE-2026-66486.patch | 497 ++++++++++++++++++
.../0001-systemd-use-EnvironmentFile.patch | 7 +-
...pcbind_add_option_to_fix_port_number.patch | 25 +-
.../{rpcbind_1.2.8.bb => rpcbind_1.2.9.bb} | 4 +-
.../libsndfile1/CVE-2026-37555.patch | 44 ++
.../libsndfile/libsndfile1_1.2.2.bb | 1 +
.../curl/curl/CVE-2026-4873.patch | 52 ++
meta/recipes-support/curl/curl_8.19.0.bb | 1 +
.../libssh2/libssh2/CVE-2026-58050.patch | 45 ++
.../libssh2/libssh2/CVE-2026-66032.patch | 36 ++
.../libssh2/libssh2/CVE-2026-66033.patch | 45 ++
.../libssh2/libssh2/CVE-2026-66034.patch | 40 ++
.../libssh2/libssh2/CVE-2026-66035.patch | 56 ++
.../recipes-support/libssh2/libssh2_1.11.1.bb | 5 +
.../recipes-support/nghttp2/nghttp2_1.68.1.bb | 2 +
28 files changed, 1776 insertions(+), 29 deletions(-)
create mode 100644 meta/recipes-core/busybox/busybox/CVE-2026-38754.patch
create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2026-15003.patch
create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2026-18220.patch
create mode 100644 meta/recipes-devtools/bison/bison/CVE-2026-56389.patch
create mode 100644 meta/recipes-extended/cpio/files/CVE-2026-66484.patch
create mode 100644 meta/recipes-extended/cpio/files/CVE-2026-66485.patch
create mode 100644 meta/recipes-extended/cpio/files/CVE-2026-66486.patch
rename meta/recipes-extended/rpcbind/{rpcbind_1.2.8.bb => rpcbind_1.2.9.bb} (95%)
create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-37555.patch
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-4873.patch
create mode 100644 meta/recipes-support/libssh2/libssh2/CVE-2026-58050.patch
create mode 100644 meta/recipes-support/libssh2/libssh2/CVE-2026-66032.patch
create mode 100644 meta/recipes-support/libssh2/libssh2/CVE-2026-66033.patch
create mode 100644 meta/recipes-support/libssh2/libssh2/CVE-2026-66034.patch
create mode 100644 meta/recipes-support/libssh2/libssh2/CVE-2026-66035.patchPATCH 1/19 busybox: patch CVE-2026-38754
From: Peter Marko <[email protected]>
Pick patch which fixes this CVE as discussed in [1].
[1] https://lists.busybox.net/pipermail/busybox/2026-July/092392.html
--- .../busybox/busybox/CVE-2026-38754.patch | 155 ++++++++++++++++++ meta/recipes-core/busybox/busybox_1.37.0.bb | 1 + 2 files changed, 156 insertions(+) create mode 100644 meta/recipes-core/busybox/busybox/CVE-2026-38754.patch
meta/recipes-core/busybox/busybox/CVE-2026-38754.patch new file +155 -0
@@ -0,0 +1,155 @@ +From a448b6d5b21e5b21249391389b6f0551d9bea136 Mon Sep 17 00:00:00 2001 +From: Sanghyun Park <[email protected]> +Date: Thu, 18 Jun 2026 17:04:20 +0900 +Subject: [PATCH] ash: fix out-of-bounds read in ifsbreakup() + +ifsfree() does not only release allocated ifsregion nodes; it also clears +the global IFS region state used by ifsbreakup(). If argstr() raises an +error while expanding an argument, ash longjmps out of expandarg() before +that cleanup runs, leaving stale IFS split offsets behind. + +A later expansion can reuse the stack for a shorter string. ifsbreakup() +then sees the stale IFS state, trusts the old offsets, and can walk past +the current stack block before dereferencing p. + +Follow dash's root-cause fix: when an expansion-related handler catches +EXERROR and continues, restore the handler and call ifsfree(). Apply +the cleanup to redirectsafe(), expandstr(), and evaltree(). + +Upstream commit: + + Date: Mon Dec 5 23:02:01 2022 +0800 + expand: Add ifsfree to expand to fix a logic error that causes a buffer over-read + + On Mon, Jun 20, 2022 at 02:27:10PM -0400, Alex Gorinson wrote: + > Due to a logic error in the ifsbreakup function in expand.c if a + > heredoc and normal command is run one after the other by means of a + > semi-colon, when the second command drops into ifsbreakup the command + > will be evaluated with the ifslastp/ifsfirst struct that was set when + > the here doc was evaluated. This results in a buffer over-read that + > can leak the program's heap, stack, and arena addresses which can be + > used to beat ASLR. + > + > Steps to Reproduce: + > First bug: + > cmd args: ~/exampleDir/example> dash + > $ M='AAAAAAAAAAAAAAAAA' <note: 17 A's> + > $ q00(){ + > $ <<000;echo + > $ ${D?$M$M$M$M$M$M} <note: 6 $M's> + > $ 000 + > $ } + > $ q00 <note: After the q00 is typed in, the leak + > should be echo'd out; this works with ash, busybox ash, and dash and + > with all option args.> + > + > Patch: + > Adding the following to expand.c will fix both bugs in one go. + > (Thank you to Harald van Dijk and Michael Greenberg for doing the + > heavy lifting for this patch!) + > ========================== + > --- a/src/expand.c + > +++ b/src/expand.c + > @@ -859,6 +859,7 @@ + > if (discard) + > return -1; + > + > +ifsfree(); + > sh_error("Bad substitution"); + > } + > + > @@ -1739,6 +1740,7 @@ + > } else + > msg = umsg; + > } + > +ifsfree(); + > sh_error("%.*s: %s%s", end - var - 1, var, msg, tail); + > } + > ========================== + + Thanks for the report! + + I think it's better to add the ifsfree() call to the exception + handling path as other sh_error calls may trigger this too. + +function old new delta +restore_handler_expandarg - 33 +33 +evaltree 725 711 -14 +static.redirectsafe 141 124 -17 +expandstr 262 242 -20 +------------------------------------------------------------------------------ +(add/remove: 1/0 grow/shrink: 0/3 up/down: 36/-45) Total: -18 bytes + +Signed-off-by: Sanghyun Park <[email protected]> +Signed-off-by: Denys Vlasenko <[email protected]> + +CVE: CVE-2026-38754 +Upstream-Status: Backport [https://github.com/vda-linux/busybox_mirror/commit/a448b6d5b21e5b21249391389b6f0551d9bea136] +Signed-off-by: Peter Marko <[email protected]> +--- + shell/ash.c | 24 +++++++++++++++--------- + 1 file changed, 15 insertions(+), 9 deletions(-) + +diff --git a/shell/ash.c b/shell/ash.c +index fb887f31b..b8ff67b16 100644 +--- a/shell/ash.c ++++ b/shell/ash.c +@@ -5472,6 +5472,7 @@ stoppedjobs(void) + */ + /* openhere needs this forward reference */ + static void expandhere(union node *arg); ++static void ifsfree(void); + static int + openhere(union node *redir) + { +@@ -5913,6 +5914,17 @@ redirect(union node *redir, int flags) + // preverrout_fd = copied_fd2; + } + ++static void ++restore_handler_expandarg(struct jmploc *savehandler, int err) ++{ ++ exception_handler = savehandler; ++ if (err) { ++ if (exception_type != EXERROR) ++ longjmp(exception_handler->loc, 1); ++ ifsfree(); ++ } ++} ++ + static int + redirectsafe(union node *redir, int flags) + { +@@ -5928,9 +5940,7 @@ redirectsafe(union node *redir, int flags) + exception_handler = &jmploc; + redirect(redir, flags); + } +- exception_handler = savehandler; +- if (err && exception_type != EXERROR) +- longjmp(exception_handler->loc, 1); ++ restore_handler_expandarg(savehandler, err); + RESTORE_INT(saveint); + return err; + } +@@ -9445,9 +9455,7 @@ evaltree(union node *n, int flags) + trap_depth--; + in_trap_ERR = 0; + +- exception_handler = savehandler; +- if (err && exception_type != EXERROR) +- longjmp(exception_handler->loc, 1); ++ restore_handler_expandarg(savehandler, err); + + exitstatus = savestatus; + } +@@ -13487,9 +13495,7 @@ expandstr(const char *ps, int syntax_type) + result = stackblock(); + + out: +- exception_handler = savehandler; +- if (err && exception_type != EXERROR) +- longjmp(exception_handler->loc, 1); ++ restore_handler_expandarg(savehandler, err); + + doprompt = saveprompt; + /* Try: PS1='`xxx(`' */
meta/recipes-core/busybox/busybox_1.37.0.bb +1 -0
@@ -66,6 +66,7 @@ SRC_URI = "https://busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://CVE-2024-58251.patch \ file://CVE-2026-29004-01.patch \ file://CVE-2026-29004-02.patch \ + file://CVE-2026-38754.patch \ " SRC_URI:append:libc-musl = " file://musl.cfg" SRC_URI:append:x86-64 = " file://sha_accel.cfg"
PATCH 2/19 curl: fix CVE-2026-4873
In reply to Yoann CongalFrom: Deepak Rathore <[email protected]>
This patch applies the upstream backport for CVE-2026-4873. The upstream fix commit is referenced in [1], and the public CVE advisory is referenced in [2].
[1] https://github.com/curl/curl/commit/507e7be573b0a76fca597b75ff7cb27a66e7d865
[2] https://curl.se/docs/CVE-2026-4873.html
--- .../curl/curl/CVE-2026-4873.patch | 52 +++++++++++++++++++ meta/recipes-support/curl/curl_8.19.0.bb | 1 + 2 files changed, 53 insertions(+) create mode 100644 meta/recipes-support/curl/curl/CVE-2026-4873.patch
meta/recipes-support/curl/curl/CVE-2026-4873.patch new file +52 -0
@@ -0,0 +1,52 @@ +From 4d13e431d26c3097e6dff49ba069061b588461af Mon Sep 17 00:00:00 2001 +From: Daniel Stenberg <[email protected]> +Date: Tue, 24 Mar 2026 08:35:08 +0100 +Subject: [PATCH] url: do not reuse a non-tls starttls connection if new + requires TLS + +Reported-by: Arkadi Vainbrand + +Closes #21082 + +CVE: CVE-2026-4873 +Upstream-Status: Backport [https://github.com/curl/curl/commit/507e7be573b0a76fca597b75ff7cb27a66e7d865] + +(cherry picked from commit 507e7be573b0a76fca597b75ff7cb27a66e7d865) +Signed-off-by: Deepak Rathore <[email protected]> +--- + lib/url.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/lib/url.c b/lib/url.c +index 7c24f1a002..4ebff50ef1 100644 +--- a/lib/url.c ++++ b/lib/url.c +@@ -745,7 +745,7 @@ struct url_conn_match { + BIT(want_proxy_ntlm_http); + BIT(want_nego_http); + BIT(want_proxy_nego_http); +- ++ BIT(req_tls); /* require TLS use from a clear-text start */ + BIT(wait_pipe); + BIT(force_reuse); + BIT(seen_pending_conn); +@@ -897,6 +897,9 @@ static bool url_match_ssl_use(struct connectdata *conn, + (get_protocol_family(conn->scheme) != m->needle->scheme->protocol)) + return FALSE; + } ++ else if(m->req_tls) ++ /* a clear-text STARTTLS protocol with required TLS */ ++ return FALSE; + return TRUE; + } + +@@ -1361,6 +1364,7 @@ static bool url_attach_existing(struct Curl_easy *data, + (needle->scheme->protocol & PROTO_FAMILY_HTTP); + #endif + #endif ++ match.req_tls = data->set.use_ssl >= CURLUSESSL_CONTROL; + + /* Find a connection in the pool that matches what "data + needle" + * requires. If a suitable candidate is found, it is attached to "data". */ +-- +2.35.6
meta/recipes-support/curl/curl_8.19.0.bb +1 -0
@@ -22,6 +22,7 @@ SRC_URI = " \ file://CVE-2026-6429-dependent.patch \ file://CVE-2026-6429.patch \ file://CVE-2026-7168.patch \ + file://CVE-2026-4873.patch \ " SRC_URI:append:class-nativesdk = " \
PATCH 3/19 libssh2: fix CVE-2026-66032
In reply to Yoann CongalFrom: Jaipaul Cheernam <[email protected]>
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-66032
https://github.com/libssh2/libssh2/commit/5e4776146552d898b9c0e1b313cd093fa8dc92d0
libssh2 ptest results (qemux86-64):
before: PASSED: 1 FAILED: 0 SKIPPED: 0
after: PASSED: 1 FAILED: 0 SKIPPED: 0
--- .../libssh2/libssh2/CVE-2026-66032.patch | 36 +++++++++++++++++++ .../recipes-support/libssh2/libssh2_1.11.1.bb | 1 + 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-support/libssh2/libssh2/CVE-2026-66032.patch
meta/recipes-support/libssh2/libssh2/CVE-2026-66032.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 352341aaebcf91ab16e7fcff158fef4a3b8c32f6 Mon Sep 17 00:00:00 2001 +From: Jaipaul Cheernam <[email protected]> +Date: Tue, 4 Aug 2026 12:32:31 +0000 +Subject: [PATCH] Prevent dangling pointer by nullifying data (#2180) + +Set data to NULL after freeing it to avoid dangling pointer. fixes +GHSA-px3w-7g75-hg7w. + +Credit: VladimirEliTokarev + +CVE: CVE-2026-66032 +Upstream-Status: Backport [https://github.com/libssh2/libssh2/commit/5e4776146552d898b9c0e1b313cd093fa8dc92d0] + +Backport adaptations: +- The upstream fix uses SSH2_FREE() which was renamed from + LIBSSH2_FREE() in newer libssh2. Context adjusted to match + the 1.11.1 codebase (different line numbers and surrounding + function/macro names). + +Signed-off-by: Jaipaul Cheernam <[email protected]> +--- + src/sftp.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/sftp.c b/src/sftp.c +index 6ede3111..793f267c 100644 +--- a/src/sftp.c ++++ b/src/sftp.c +@@ -1279,6 +1279,7 @@ sftp_open(LIBSSH2_SFTP *sftp, const char *filename, + "got HANDLE FXOK")); + + LIBSSH2_FREE(session, data); ++ data = NULL; + + /* silly situation, but check for a HANDLE */ + rc = sftp_packet_require(sftp, SSH_FXP_HANDLE,
meta/recipes-support/libssh2/libssh2_1.11.1.bb +1 -0
@@ -16,6 +16,7 @@ SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz \ file://CVE-2025-15661-1.patch \ file://CVE-2025-15661-2.patch \ file://CVE-2025-15661-3.patch \ + file://CVE-2026-66032.patch \ " SRC_URI[sha256sum] = "d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7"
PATCH 4/19 libssh2: fix CVE-2026-66033
In reply to Yoann CongalFrom: Jaipaul Cheernam <[email protected]>
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-66033
https://github.com/libssh2/libssh2/commit/a2ed82d40964bbc0d64cd717aa0a5a892117d2e6
libssh2 ptest results (qemux86-64):
before: PASSED: 1 FAILED: 0 SKIPPED: 0
after: PASSED: 1 FAILED: 0 SKIPPED: 0
--- .../libssh2/libssh2/CVE-2026-66033.patch | 45 +++++++++++++++++++ .../recipes-support/libssh2/libssh2_1.11.1.bb | 1 + 2 files changed, 46 insertions(+) create mode 100644 meta/recipes-support/libssh2/libssh2/CVE-2026-66033.patch
meta/recipes-support/libssh2/libssh2/CVE-2026-66033.patch new file +45 -0
@@ -0,0 +1,45 @@ +From d1b6996c3b31ce6b60d5a820ecc33880e61ef0ae Mon Sep 17 00:00:00 2001 +From: Viktor Szakats <[email protected]> +Date: Thu, 23 Jul 2026 10:32:04 +0200 +Subject: [PATCH] openssl: fix potential OOB read/write with AES-GCM in + `ssh2_cipher_crypt()` + +By applying two bounds checks to non-debug builds. + +Reported-by: Vladimir Eli Tokarev +Fixes GHSA-c4f7-cvfc-33j7 +Follow-up to 3c953c05d67eb1ebcfd3316f279f12c4b1d600b4 #797 + +Closes #2401 + +CVE: CVE-2026-66033 +Upstream-Status: Backport [https://github.com/libssh2/libssh2/commit/a2ed82d40964bbc0d64cd717aa0a5a892117d2e6] +Signed-off-by: Jaipaul Cheernam <[email protected]> +--- + src/openssl.c | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +diff --git a/src/openssl.c b/src/openssl.c +index eba05031..28ae1cc0 100644 +--- a/src/openssl.c ++++ b/src/openssl.c +@@ -1042,13 +1042,15 @@ _libssh2_cipher_crypt(_libssh2_cipher_ctx * ctx, + const int aadlen = (is_aesgcm && IS_FIRST(firstlast)) ? 4 : 0; + /* size of AT, if present */ + const int authenticationtag = IS_LAST(firstlast) ? authlen : 0; +- /* length to encrypt */ +- const int cryptlen = (unsigned int)blocksize - aadlen - authenticationtag; ++ unsigned int cryptlen; /* length to encrypt */ + + (void)algo; + +- assert(blocksize <= sizeof(buf)); +- assert(cryptlen >= 0); ++ if(blocksize > sizeof(buf) || ++ blocksize < (size_t)(aadlen + authenticationtag)) ++ return 1; ++ ++ cryptlen = (unsigned int)blocksize - aadlen - authenticationtag; + + #if LIBSSH2_AES_GCM + /* First block */
meta/recipes-support/libssh2/libssh2_1.11.1.bb +1 -0
@@ -17,6 +17,7 @@ SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz \ file://CVE-2025-15661-2.patch \ file://CVE-2025-15661-3.patch \ file://CVE-2026-66032.patch \ + file://CVE-2026-66033.patch \ " SRC_URI[sha256sum] = "d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7"
PATCH 5/19 libssh2: fix CVE-2026-66034
In reply to Yoann CongalFrom: Jaipaul Cheernam <[email protected]>
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-66034
https://github.com/libssh2/libssh2/commit/a13bb6c773f0d55ad1628cede57e99804cd898d9
libssh2 ptest results (qemux86-64):
before: PASSED: 1 FAILED: 0 SKIPPED: 0
after: PASSED: 1 FAILED: 0 SKIPPED: 0
--- .../libssh2/libssh2/CVE-2026-66034.patch | 40 +++++++++++++++++++ .../recipes-support/libssh2/libssh2_1.11.1.bb | 1 + 2 files changed, 41 insertions(+) create mode 100644 meta/recipes-support/libssh2/libssh2/CVE-2026-66034.patch
meta/recipes-support/libssh2/libssh2/CVE-2026-66034.patch new file +40 -0
@@ -0,0 +1,40 @@ +From 16720054e0b3f02e36f31dd04add534d73d4a18d Mon Sep 17 00:00:00 2001 +From: Viktor Szakats <[email protected]> +Date: Sat, 4 Jul 2026 11:19:49 +0200 +Subject: [PATCH] publickey: fix potential OOB read in + `libssh2_publickey_list_fetch()` + +Reported-by: Vladimir Eli Tokarev +Fixes GHSA-w6g9-cpfp-22gc + +Closes #2202 + +Backport adaptations: +- The upstream fix uses ssh2_err() which is not available in libssh2 + 1.11.1. Replace with the equivalent _libssh2_error() call. + +CVE: CVE-2026-66034 +Upstream-Status: Backport [https://github.com/libssh2/libssh2/commit/a13bb6c773f0d55ad1628cede57e99804cd898d9] +Signed-off-by: Jaipaul Cheernam <[email protected]> +--- + src/publickey.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/src/publickey.c b/src/publickey.c +index 9c9fa618..f3776d2d 100644 +--- a/src/publickey.c ++++ b/src/publickey.c +@@ -988,6 +988,13 @@ libssh2_publickey_list_fetch(LIBSSH2_PUBLICKEY * pkey, unsigned long *num_keys, + } + + if(comment_len) { ++ if(pkey->listFetch_s + comment_len > ++ pkey->listFetch_data + pkey->listFetch_data_len) { ++ _libssh2_error(session, LIBSSH2_ERROR_BUFFER_TOO_SMALL, ++ "ListFetch data too short"); ++ goto err_exit; ++ } ++ + list[keys].num_attrs = 1; + list[keys].attrs = + LIBSSH2_ALLOC(session,
meta/recipes-support/libssh2/libssh2_1.11.1.bb +1 -0
@@ -18,6 +18,7 @@ SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz \ file://CVE-2025-15661-3.patch \ file://CVE-2026-66032.patch \ file://CVE-2026-66033.patch \ + file://CVE-2026-66034.patch \ " SRC_URI[sha256sum] = "d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7"
PATCH 6/19 libssh2: fix CVE-2026-66035
In reply to Yoann CongalFrom: Jaipaul Cheernam <[email protected]>
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-66035
https://github.com/libssh2/libssh2/commit/42e33d81577ed4b95d4b4f6f845e5ee8efe5eeb4
libssh2 ptest results (qemux86-64):
before: PASSED: 1 FAILED: 0 SKIPPED: 0
after: PASSED: 1 FAILED: 0 SKIPPED: 0
--- .../libssh2/libssh2/CVE-2026-66035.patch | 56 +++++++++++++++++++ .../recipes-support/libssh2/libssh2_1.11.1.bb | 1 + 2 files changed, 57 insertions(+) create mode 100644 meta/recipes-support/libssh2/libssh2/CVE-2026-66035.patch
meta/recipes-support/libssh2/libssh2/CVE-2026-66035.patch new file +56 -0
@@ -0,0 +1,56 @@ +From 6671019836476649792eea12868a370133be1abe Mon Sep 17 00:00:00 2001 +From: Viktor Szakats <[email protected]> +Date: Fri, 3 Jul 2026 18:22:55 +0200 +Subject: [PATCH] transport: fix potential heap overflow on ETM decrypt + +Reported-by: Vladimir Eli Tokarev +Fixes GHSA-6c79-444r-wx26 + +Closes #2198 + +Backport adaptations: +- The upstream fix uses SSH2_SAFEFREE() to safely release allocated + memory and reset the pointer. Since SSH2_SAFEFREE() is not available + in libssh2 1.11.1, replace its usage with the equivalent NULL check, + LIBSSH2_FREE(), and pointer reset sequence. +- The upstream fix renames decrypt() to transport_decrypt(). Since this + rename is not present in libssh2 1.11.1, retain the original + decrypt() function name. + +CVE: CVE-2026-66035 +Upstream-Status: Backport [https://github.com/libssh2/libssh2/commit/42e33d81577ed4b95d4b4f6f845e5ee8efe5eeb4] +Signed-off-by: Jaipaul Cheernam <[email protected]> +--- + src/transport.c | 12 +++++++++++- + 1 file changed, 11 insertions(+), 1 deletion(-) + +diff --git a/src/transport.c b/src/transport.c +index d147505b..9f386e75 100644 +--- a/src/transport.c ++++ b/src/transport.c +@@ -242,6 +242,17 @@ fullpacket(LIBSSH2_SESSION * session, int encrypted /* 1 or 0 */ ) + unsigned char *decrypt_buffer; + int blocksize = session->remote.crypt->blocksize; + ++ if(p->total_num < mac_len + 4 + (size_t)blocksize) { ++ if(p->payload) { ++ LIBSSH2_FREE(session, p->payload); ++ p->payload = NULL; ++ } ++ return LIBSSH2_ERROR_DECRYPT; ++ } ++ decrypt_size = (ssize_t)(p->total_num - mac_len - 4); ++ ++ first_block[0] = 0; ++ + rc = decrypt(session, p->payload + 4, + first_block, blocksize, FIRST_BLOCK); + if(rc) { +@@ -249,7 +260,6 @@ fullpacket(LIBSSH2_SESSION * session, int encrypted /* 1 or 0 */ ) + } + + /* we need buffer for decrypt */ +- decrypt_size = p->total_num - mac_len - 4; + decrypt_buffer = LIBSSH2_ALLOC(session, decrypt_size); + if(!decrypt_buffer) { + return LIBSSH2_ERROR_ALLOC;
meta/recipes-support/libssh2/libssh2_1.11.1.bb +1 -0
@@ -19,6 +19,7 @@ SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz \ file://CVE-2026-66032.patch \ file://CVE-2026-66033.patch \ file://CVE-2026-66034.patch \ + file://CVE-2026-66035.patch \ " SRC_URI[sha256sum] = "d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7"
PATCH 7/19 libsndfile1: patch CVE-2026-37555
In reply to Yoann CongalFrom: Peter Marko <[email protected]>
Pick patch per [1].
[1] https://security-tracker.debian.org/tracker/CVE-2026-37555
--- .../libsndfile1/CVE-2026-37555.patch | 44 +++++++++++++++++++ .../libsndfile/libsndfile1_1.2.2.bb | 1 + 2 files changed, 45 insertions(+) create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-37555.patch
meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-37555.patch new file +44 -0
@@ -0,0 +1,44 @@ +From c32c090ff9bb45e1dae637957c9c9b47b3967623 Mon Sep 17 00:00:00 2001 +From: Alb3e3 <[email protected]> +Date: Sat, 27 Jun 2026 14:34:16 +0200 +Subject: [PATCH] sds: avoid divide-by-zero in sds_byterate for zero-frame + files + +sds_read_header() sets psf->sf.frames directly from the file's 3-byte +data-length field without a lower bound, so a crafted .sds file can +leave psf->sf.frames == 0. SDS never sets psf->bytewidth, so +sf_current_byterate() falls through to psf->byterate (sds_byterate), +which computes + + (psf->datalength * psf->sf.samplerate) / psf->sf.frames + +dividing by zero -> SIGFPE crash (denial of service) when an +application calls the public sf_current_byterate() on such a file. + +Guard the division with psf->sf.frames > 0, returning -1 (the same +'unknown' value already used for the write path) otherwise. + +Reproduced with a 21-byte crafted .sds (data-length field = 0) under +AddressSanitizer: 'FPE ... in sds_byterate src/sds.c:761' before the +fix; returns -1 cleanly after. + +CVE: CVE-2026-37555 +Upstream-Status: Backport [https://github.com/libsndfile/libsndfile/commit/c32c090ff9bb45e1dae637957c9c9b47b3967623] +Signed-off-by: Peter Marko <[email protected]> +--- + src/sds.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/sds.c b/src/sds.c +index 2a0f164c..1070e653 100644 +--- a/src/sds.c ++++ b/src/sds.c +@@ -757,7 +757,7 @@ sds_seek (SF_PRIVATE *psf, int mode, sf_count_t seek_from_start) + static int + sds_byterate (SF_PRIVATE * psf) + { +- if (psf->file.mode == SFM_READ) ++ if (psf->file.mode == SFM_READ && psf->sf.frames > 0) + return (psf->datalength * psf->sf.samplerate) / psf->sf.frames ; + + return -1 ;
meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb +1 -0
@@ -14,6 +14,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \ file://0001-Include-stdbool.h-instead-of-redefining-bool-true-an.patch \ file://CVE-2025-56226-01.patch \ file://CVE-2025-56226-02.patch \ + file://CVE-2026-37555.patch \ " GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/"
PATCH 8/19 nghttp2: set status for CVE-2026-58055
In reply to Yoann CongalFrom: Deepak Rathore <[email protected]>
CVE-2026-58055 affects the nghttpx proxy when forwarding HTTP/1.1 Upgrade requests with a Content-Length header and body.
The default recipe does not build nghttpx. Add a conditional CVE_STATUS entry so the CVE remains unpatched if app support is enabled, while default builds are marked not-applicable-config.
References:
https://nvd.nist.gov/vuln/detail/CVE-2026-58055
--- meta/recipes-support/nghttp2/nghttp2_1.68.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-support/nghttp2/nghttp2_1.68.1.bb +2 -0
@@ -17,4 +17,6 @@ PACKAGECONFIG[manpages] = "-DENABLE_DOC=ON,-DENABLE_DOC=OFF" EXTRA_OECMAKE = "-DENABLE_LIB_ONLY=ON -DENABLE_PYTHON_BINDINGS=OFF" +CVE_STATUS[CVE-2026-58055] = "${@bb.utils.contains('EXTRA_OECMAKE', '-DENABLE_LIB_ONLY=ON', 'not-applicable-config: nghttpx proxy is not built in the default nghttp2 configuration', 'unpatched', d)}" + BBCLASSEXTEND = "native nativesdk"
PATCH 9/19 binutils: Patch for CVE-2026-15003
In reply to Yoann CongalFrom: Jaipaul Cheernam <[email protected]>
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-15003
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=23acf2f003f81b2f8d9d1997ea45d822d33d386c
Test results:
binutils-testsuite 2.46.1 (x86_64-oe-linux) - All tests PASSED
binutils: 327 passed, 5 untested, 9 unsupported
gas: 2091 passed, 4 unsupported
ld: 1899 passed, 7 expected failures, 20 untested, 109 unsupported
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=23acf2f003f81b2f8d9d1997ea45d822d33d386c]
--- .../binutils/binutils-2.46.inc | 1 + .../binutils/binutils/CVE-2026-15003.patch | 402 ++++++++++++++++++ 2 files changed, 403 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2026-15003.patch
meta/recipes-devtools/binutils/binutils-2.46.inc +1 -0
@@ -40,4 +40,5 @@ SRC_URI = "\ file://0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \ file://CVE-2026-4647.patch \ file://CVE-2026-6846.patch \ + file://CVE-2026-15003.patch \ "
meta/recipes-devtools/binutils/binutils/CVE-2026-15003.patch new file +402 -0
402 lines not on this page · raw message
PATCH 10/19 binutils: fix CVE-2026-18220
In reply to Yoann CongalFrom: Jaipaul Cheernam <[email protected]>
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-18220
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=114e3aae2b7e34057c8909301eaf78c15687e8e5
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=114e3aae2b7e34057c8909301eaf78c15687e8e5]
Test results:
binutils-testsuite 2.46.1 (x86_64-oe-linux) - All tests PASSED
binutils: 327 passed, 5 untested, 9 unsupported
gas: 2091 passed, 4 unsupported
ld: 1899 passed, 7 expected failures, 20 untested, 109 unsupported
--- .../binutils/binutils-2.46.inc | 1 + .../binutils/binutils/CVE-2026-18220.patch | 65 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2026-18220.patch
meta/recipes-devtools/binutils/binutils-2.46.inc +1 -0
@@ -41,4 +41,5 @@ SRC_URI = "\ file://CVE-2026-4647.patch \ file://CVE-2026-6846.patch \ file://CVE-2026-15003.patch \ + file://CVE-2026-18220.patch \ "
meta/recipes-devtools/binutils/binutils/CVE-2026-18220.patch new file +65 -0
65 lines not on this page · raw message
PATCH 11/19 libssh2: fix CVE-2026-58050
In reply to Yoann CongalFrom: Adarsh Jagadish Kamini <[email protected]>
Backport patch to fix CVE-2026-58050.
References:
https://nvd.nist.gov/vuln/detail/CVE-2026-58050
Upstream fix:
https://github.com/libssh2/libssh2/commit/34497525929b9a47f03dfb81887ac896202b7e12
--- .../libssh2/libssh2/CVE-2026-58050.patch | 45 +++++++++++++++++++ .../recipes-support/libssh2/libssh2_1.11.1.bb | 1 + 2 files changed, 46 insertions(+) create mode 100644 meta/recipes-support/libssh2/libssh2/CVE-2026-58050.patch
meta/recipes-support/libssh2/libssh2/CVE-2026-58050.patch new file +45 -0
@@ -0,0 +1,45 @@ +From 05b2fb4ec89d75235dbd97c5965dc0e46b405a7c Mon Sep 17 00:00:00 2001 +From: Viktor Szakats <[email protected]> +Date: Sun, 28 Jun 2026 02:12:52 +0200 +Subject: [PATCH] publickey: fix potential multiplication overflow in 32-bit + `libssh2_publickey_list_fetch()` + +Cap list size at 1024 elements. + +Reported-and-initial-patch-by: Mateusz Gierblinski +Reported-and-initial-patch-by: Behzod Abdullayev +Reported-by: Sharique Raza + +Follow-up to e15f5d97a04cc676ce117dd324fef85b046207a9 + +Closes #2128 + +src/publickey.c: replaced ssh2_err() with _libssh2_error() to match +the stable branch's error-reporting convention. + +Assisted-by: kiro:claude-sonnet-5 + +CVE: CVE-2026-58050 +Upstream-Status: Backport [https://github.com/libssh2/libssh2/commit/34497525929b9a47f03dfb81887ac896202b7e12] + +Signed-off-by: Adarsh Jagadish Kamini <[email protected]> +--- + src/publickey.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/publickey.c b/src/publickey.c +index 9c9fa618..196d2f9f 100644 +--- a/src/publickey.c ++++ b/src/publickey.c +@@ -1114,6 +1114,11 @@ libssh2_publickey_list_fetch(LIBSSH2_PUBLICKEY * pkey, unsigned long *num_keys, + } + + if(list[keys].num_attrs) { ++ if(list[keys].num_attrs > 1024) { ++ _libssh2_error(session, LIBSSH2_ERROR_OUT_OF_BOUNDARY, ++ "Too many publickey attributes"); ++ goto err_exit; ++ } + list[keys].attrs = + LIBSSH2_ALLOC(session, + list[keys].num_attrs *
meta/recipes-support/libssh2/libssh2_1.11.1.bb +1 -0
@@ -20,6 +20,7 @@ SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz \ file://CVE-2026-66033.patch \ file://CVE-2026-66034.patch \ file://CVE-2026-66035.patch \ + file://CVE-2026-58050.patch \ " SRC_URI[sha256sum] = "d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7"
PATCH 12/19 bison: patch CVE-2026-56389
In reply to Yoann CongalFrom: Peter Marko <[email protected]>
Pick patch mentioned in NVD CVE report.
(From OE-Core rev: 6c99410bd7f0bc4e2ed41ef5afe7d6b5fcb99837)
--- .../bison/bison/CVE-2026-56389.patch | 56 +++++++++++++++++++ meta/recipes-devtools/bison/bison_3.8.2.bb | 1 + 2 files changed, 57 insertions(+) create mode 100644 meta/recipes-devtools/bison/bison/CVE-2026-56389.patch
meta/recipes-devtools/bison/bison/CVE-2026-56389.patch new file +56 -0
@@ -0,0 +1,56 @@ +From 3169c1e7a2c6acc4c59dfcf8b089896d6881925b Mon Sep 17 00:00:00 2001 +From: Paul Eggert <[email protected]> +Date: Thu, 23 Apr 2026 09:20:43 -0700 +Subject: [PATCH] html: use xsltproc from PATH +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +* src/print-xml.c (print_html): +* src/reader.c (prepare_percent_define_front_end_variables): +Drop undocumented support for lines like ‘%define tool.xsltproc +"whatever"’, as this can cause more trouble than it cures. + +CVE: CVE-2026-56389 +Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=3169c1e7a2c6acc4c59dfcf8b089896d6881925b] +Signed-off-by: Peter Marko <[email protected]> +--- + src/print-xml.c | 4 +--- + src/reader.c | 1 - + 2 files changed, 1 insertion(+), 4 deletions(-) + +diff --git a/src/print-xml.c b/src/print-xml.c +index 8da6da0d..79bfa88d 100644 +--- a/src/print-xml.c ++++ b/src/print-xml.c +@@ -543,10 +543,9 @@ print_html (void) + assert (xml_flag); + + char *xml2html = xpath_join (pkgdatadir (), "xslt/xml2xhtml.xsl"); +- char *xsltproc = muscle_percent_define_get ("tool.xsltproc"); + char const *argv[11]; + int i = 0; +- argv[i++] = xsltproc; ++ argv[i++] = "xsltproc"; + argv[i++] = "-o"; + argv[i++] = spec_html_file; + argv[i++] = xml2html; +@@ -572,6 +571,5 @@ print_html (void) + /* termsigp */ NULL); + if (status) + complain (NULL, complaint, _("%s failed with status %d"), argv[0], status); +- free (xsltproc); + free (xml2html); + } +diff --git a/src/reader.c b/src/reader.c +index 862d7293..cb2a7f69 100644 +--- a/src/reader.c ++++ b/src/reader.c +@@ -788,7 +788,6 @@ prepare_percent_define_front_end_variables (void) + muscle_percent_define_default ("lr.default-reduction", "accepting"); + free (lr_type); + } +- muscle_percent_define_default ("tool.xsltproc", "xsltproc"); + + /* Check %define front-end variables. */ + {
meta/recipes-devtools/bison/bison_3.8.2.bb +1 -0
@@ -12,6 +12,7 @@ DEPENDS = "bison-native flex-native" SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.xz \ file://autoconf-2.73.patch \ file://add-with-bisonlocaledir.patch \ + file://CVE-2026-56389.patch \ " SRC_URI[sha256sum] = "9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2"
PATCH 13/19 cpio: patch CVE-2026-66485
In reply to Yoann CongalFrom: Peter Marko <[email protected]>
Pick patch mentioned in NVD CVE description.
(From OE-Core rev: c105fbf82e2f50b05dc680e0601bf0ea3198e58c)
--- meta/recipes-extended/cpio/cpio_2.15.bb | 1 + .../cpio/files/CVE-2026-66485.patch | 210 ++++++++++++++++++ 2 files changed, 211 insertions(+) create mode 100644 meta/recipes-extended/cpio/files/CVE-2026-66485.patch
meta/recipes-extended/cpio/cpio_2.15.bb +1 -0
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" SRC_URI = "${GNU_MIRROR}/cpio/cpio-${PV}.tar.gz \ file://run-ptest \ file://test.sh \ + file://CVE-2026-66485.patch \ " SRC_URI[sha256sum] = "efa50ef983137eefc0a02fdb51509d624b5e3295c980aa127ceee4183455499e"
meta/recipes-extended/cpio/files/CVE-2026-66485.patch new file +210 -0
210 lines not on this page · raw message
PATCH 14/19 cpio: patch CVE-2026-66484
In reply to Yoann CongalFrom: Peter Marko <[email protected]>
Pick patch mentioned in NVD CVE description.
(From OE-Core rev: a49025d54fe7723df999710e7a385aaeb42303a2)
--- meta/recipes-extended/cpio/cpio_2.15.bb | 1 + .../cpio/files/CVE-2026-66484.patch | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 meta/recipes-extended/cpio/files/CVE-2026-66484.patch
meta/recipes-extended/cpio/cpio_2.15.bb +1 -0
@@ -10,6 +10,7 @@ SRC_URI = "${GNU_MIRROR}/cpio/cpio-${PV}.tar.gz \ file://run-ptest \ file://test.sh \ file://CVE-2026-66485.patch \ + file://CVE-2026-66484.patch \ " SRC_URI[sha256sum] = "efa50ef983137eefc0a02fdb51509d624b5e3295c980aa127ceee4183455499e"
meta/recipes-extended/cpio/files/CVE-2026-66484.patch new file +28 -0
@@ -0,0 +1,28 @@ +From e2b9cbdd3354d2b1569b7390d1bc15c1930559ad Mon Sep 17 00:00:00 2001 +From: Sergey Poznyakoff <[email protected]> +Date: Thu, 23 Jul 2026 15:55:46 +0300 +Subject: [PATCH] The --no-absolute-filenames option affects hard link targets + too. + +* src/tar.c (stash_tar_linkname): Apply cpio_safer_name_suffix. + +CVE: CVE-2026-66485 +Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=e2b9cbdd3354d2b1569b7390d1bc15c1930559ad] +Signed-off-by: Peter Marko <[email protected]> +--- + src/tar.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/tar.c b/src/tar.c +index 493f299..a1fc60a 100644 +--- a/src/tar.c ++++ b/src/tar.c +@@ -37,6 +37,8 @@ stash_tar_linkname (char *linkname) + + strncpy (hold_tar_linkname, linkname, TARLINKNAMESIZE); + hold_tar_linkname[TARLINKNAMESIZE] = '\0'; ++ cpio_safer_name_suffix (hold_tar_linkname, true, !no_abs_paths_flag, ++ false); + return hold_tar_linkname; + } +
PATCH 15/19 cpio: patch CVE-2026-66486
In reply to Yoann CongalFrom: Peter Marko <[email protected]>
Pick patch mentioned in NVD CVE description.
Resolve trivial conflicts.
(From OE-Core rev: e70183674aacaef32e4fd34277ce2482a89a44a7)
--- meta/recipes-extended/cpio/cpio_2.15.bb | 1 + .../cpio/files/CVE-2026-66486.patch | 497 ++++++++++++++++++ 2 files changed, 498 insertions(+) create mode 100644 meta/recipes-extended/cpio/files/CVE-2026-66486.patch
meta/recipes-extended/cpio/cpio_2.15.bb +1 -0
@@ -11,6 +11,7 @@ SRC_URI = "${GNU_MIRROR}/cpio/cpio-${PV}.tar.gz \ file://test.sh \ file://CVE-2026-66485.patch \ file://CVE-2026-66484.patch \ + file://CVE-2026-66486.patch \ " SRC_URI[sha256sum] = "efa50ef983137eefc0a02fdb51509d624b5e3295c980aa127ceee4183455499e"
meta/recipes-extended/cpio/files/CVE-2026-66486.patch new file +497 -0
497 lines not on this page · raw message
PATCH 16/19 rpcbind: upgrade 1.2.8 -> 1.2.9
In reply to Yoann CongalFrom: Richard Purdie <[email protected]>
Includes fix for CVE-2026-16277
[1] https://nvd.nist.gov/vuln/detail/CVE-2026-16277
[2] https://security-tracker.debian.org/tracker/CVE-2026-16277
---
.../0001-systemd-use-EnvironmentFile.patch | 7 ++----
...pcbind_add_option_to_fix_port_number.patch | 25 ++++++++-----------
.../{rpcbind_1.2.8.bb => rpcbind_1.2.9.bb} | 2 +-
3 files changed, 14 insertions(+), 20 deletions(-)
rename meta/recipes-extended/rpcbind/{rpcbind_1.2.8.bb => rpcbind_1.2.9.bb} (96%)meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch +2 -5
@@ -1,4 +1,4 @@ -From 87a9931e4aa97d7b6eb3b25f26444e30e45e3e41 Mon Sep 17 00:00:00 2001 +From 43908891b9344054e23a7d9f4d6fc5b34b2406cf Mon Sep 17 00:00:00 2001 From: Stefan Agner <[email protected]> Date: Wed, 27 Aug 2025 11:30:48 +0800 Subject: [PATCH] systemd: use EnvironmentFile
@@ -14,7 +14,7 @@ Signed-off-by: Hongxu Jia <[email protected]> 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac -index 6ede0af..d1ae5e4 100644 +index c46294c..1566386 100644 --- a/configure.ac +++ b/configure.ac @@ -86,5 +86,7 @@ AC_CHECK_HEADERS([nss.h])
@@ -42,6 +42,3 @@ index 771b944..5992098 100644 ExecStart=@_sbindir@/rpcbind $RPCBIND_OPTIONS @warmstarts_opt@ -f [Install] --- -2.34.1 -
meta/recipes-extended/rpcbind/rpcbind/rpcbind_add_option_to_fix_port_number.patch +11 -14
@@ -1,4 +1,4 @@ -From 285c193dc94b53763ac8d6f91229eaab37d45fc6 Mon Sep 17 00:00:00 2001 +From fc77df5fed834dd1cffc8c58adb4a13a9b97f5cf Mon Sep 17 00:00:00 2001 From: Roy Li <[email protected]> Date: Wed, 27 Aug 2025 11:24:53 +0800 Subject: [PATCH] add option to make users able to use fixed port number
@@ -38,18 +38,18 @@ index 15b70f9..4a6ffbc 100644 .Fl h option is specified, diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c -index 1743dad..07a1c75 100644 +index 6d0d72d..2f10dac 100644 --- a/src/rpcb_svc_com.c +++ b/src/rpcb_svc_com.c -@@ -48,6 +48,7 @@ - #include <rpc/rpc.h> +@@ -49,6 +49,7 @@ + #include <rpc/rpc_com.h> #include <rpc/rpcb_prot.h> #include <rpc/svc_dg.h> +#include <rpc/rpc_com.h> #include <netconfig.h> #include <errno.h> #include <syslog.h> -@@ -497,6 +498,7 @@ xdr_opaque_parms(XDR *xdrs, struct r_rmtcall_args *cap) +@@ -499,6 +500,7 @@ xdr_opaque_parms(XDR *xdrs, struct r_rmtcall_args *cap) static struct rmtcallfd_list *rmthead; static struct rmtcallfd_list *rmttail;
@@ -57,7 +57,7 @@ index 1743dad..07a1c75 100644 int create_rmtcall_fd(struct netconfig *nconf) -@@ -504,6 +506,8 @@ create_rmtcall_fd(struct netconfig *nconf) +@@ -506,6 +508,8 @@ create_rmtcall_fd(struct netconfig *nconf) int fd; struct rmtcallfd_list *rmt; SVCXPRT *xprt;
@@ -66,7 +66,7 @@ index 1743dad..07a1c75 100644 if ((fd = __rpc_nconf2fd(nconf)) == -1) { if (debugging) -@@ -512,6 +516,19 @@ create_rmtcall_fd(struct netconfig *nconf) +@@ -514,6 +518,19 @@ create_rmtcall_fd(struct netconfig *nconf) nconf->nc_device, errno); return (-1); }
@@ -87,7 +87,7 @@ index 1743dad..07a1c75 100644 if (xprt == NULL) { if (debugging) diff --git a/src/rpcbind.c b/src/rpcbind.c -index bf7b499..7268907 100644 +index 4212377..7e7f79d 100644 --- a/src/rpcbind.c +++ b/src/rpcbind.c @@ -112,6 +112,7 @@ int runasdaemon = 0;
@@ -98,7 +98,7 @@ index bf7b499..7268907 100644 char **hosts = NULL; int nhosts = 0; -@@ -959,7 +960,7 @@ parseargs(int argc, char *argv[]) +@@ -963,7 +964,7 @@ parseargs(int argc, char *argv[]) { int c; oldstyle_local = 1;
@@ -107,7 +107,7 @@ index bf7b499..7268907 100644 switch (c) { case 'a': doabort = 1; /* when debugging, do an abort on */ -@@ -977,6 +978,9 @@ parseargs(int argc, char *argv[]) +@@ -981,6 +982,9 @@ parseargs(int argc, char *argv[]) if (hosts[nhosts - 1] == NULL) errx(1, "Out of memory"); break;
@@ -117,7 +117,7 @@ index bf7b499..7268907 100644 case 'i': insecure = 1; break; -@@ -999,7 +1003,7 @@ parseargs(int argc, char *argv[]) +@@ -1003,7 +1007,7 @@ parseargs(int argc, char *argv[]) break; #endif default: /* error */
@@ -126,6 +126,3 @@ index bf7b499..7268907 100644 exit (1); } } --- -2.34.1 -
meta/recipes-extended/rpcbind/rpcbind_1.2.9.bb renamed from meta/recipes-extended/rpcbind/rpcbind_1.2.8.bb +1 -1
@@ -18,7 +18,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2 \ file://rpcbind_add_option_to_fix_port_number.patch \ file://0001-systemd-use-EnvironmentFile.patch \ " -SRC_URI[sha256sum] = "964132c389918e8964d7334936b6dd10ef025b300c6b29e693ba0f29550e3de5" +SRC_URI[sha256sum] = "ce5f1a87c566ef0b2897a28f50a75c1dc23fec413a46a7f4183423b6b6aa991b" inherit autotools update-rc.d systemd pkgconfig update-alternatives sourceforge-releases
PATCH 17/19 rpcbind: Drop dependency on quota
In reply to Yoann CongalFrom: Michal Sieron <[email protected]>
Originally added to provide rpcsvc/rquota.h header [1], it is no longer needed since at least v1.2.6 where [2] was merged.
Not sure why, but distros like Arch and Ubuntu (possibly others too) did not have this dependency at any point from what I could find. Anyway, this builds just fine without quota present.
[1]: https://git.openembedded.org/openembedded-core/commit/?h=4771f4af5926d724958ba7cf46b937c53babfc7c
[2]: git://linux-nfs.org/~steved/rpcbind
8bf0ce4a1858b5cd00440e416ecfe0fd74662a01
rpcbind: always use inline rpcsvc constants
--- meta/recipes-extended/rpcbind/rpcbind_1.2.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/rpcbind/rpcbind_1.2.9.bb +1 -1
@@ -4,7 +4,7 @@ DESCRIPTION = "The rpcbind utility is a server that converts RPC \ SECTION = "console/network" HOMEPAGE = "http://sourceforge.net/projects/rpcbind/" BUGTRACKER = "http://sourceforge.net/tracker/?group_id=201237&atid=976751" -DEPENDS = "libtirpc quota" +DEPENDS = "libtirpc" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=b46486e4c4a416602693a711bb5bfa39 \
PATCH 18/19 oeqa/maturin: Update dependency version
In reply to Yoann CongalFrom: Richard Purdie <[email protected]>
There are security issues in earlier versions of pyo3, update the minimum version to avoid security warnings.
--- meta/lib/oeqa/files/maturin/guessing-game/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/files/maturin/guessing-game/Cargo.toml +1 -1
@@ -14,7 +14,7 @@ crate-type = ["cdylib"] rand = "0.9.0" [dependencies.pyo3] -version = "0.27.2" +version = "0.29.0" # "abi3-py39" tells pyo3 (and maturin) to build using the stable ABI with minimum Python version 3.9 features = ["abi3-py39"]
PATCH 19/19 mirrors: Disable YP mirrors on autobuilder
In reply to Yoann CongalFrom: Richard Purdie <[email protected]>
The YP mirrors (and hence some bits of kernel.org) are initially populated by the autobuilder, so having it reference itself creates a log of stress and delay when things go wrong (such as a missing kernel revision).
Trying to remove those but not the others is hard to maintain, so add a variable specifically to allow it. Use that variable from the autobuilder configuration.
--- meta/classes-global/mirrors.bbclass | 19 ++++++++++++------- .../yocto-autobuilder/autobuilder.conf | 1 + 2 files changed, 13 insertions(+), 7 deletions(-)
meta/classes-global/mirrors.bbclass +12 -7
@@ -5,6 +5,7 @@ # MIRRORS += "\ +${YOCTO_MIRRORS} \ ${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian/20180310T215105Z/pool \ ${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian/20250101T023759Z/pool \ ${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool \
@@ -29,14 +30,18 @@ ${SAVANNAH_NONGNU_MIRROR} http://download-mirror.savannah.nongnu.org/releases \ ftp://sourceware.org/pub http://mirrors.edge.kernel.org/sourceware \ ftp://sourceware.org/pub http://gd.tuwien.ac.at/gnu/sourceware \ ftp://sourceware.org/pub http://ftp.gwdg.de/pub/linux/sources.redhat.com/sourceware \ -svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \ -git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \ -gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \ -hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \ -https?://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \ -ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \ -npm://.*/?.* http://downloads.yoctoproject.org/mirror/sources/ \ ${CPAN_MIRROR} https://cpan.metacpan.org/ \ +" + +# Having a way to disable the Yocto Project related mirrors for YP CI purposes is valuable. +YOCTO_MIRRORS ??= "\ +svn://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \ +git://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \ +gitsm://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \ +hg://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \ +https?://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \ +ftp://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \ +npm://.*/?.* https://downloads.yoctoproject.org/mirror/sources/ \ https?://downloads.yoctoproject.org/releases/uninative/ https://mirrors.edge.kernel.org/yocto/uninative/ \ https?://downloads.yoctoproject.org/mirror/sources/ https://mirrors.edge.kernel.org/yocto-sources/ \ "
meta/conf/fragments/yocto-autobuilder/autobuilder.conf +1 -0
@@ -11,4 +11,5 @@ SDK_INCLUDE_TOOLCHAIN = '1' ESDK_LOCALCONF_REMOVE:append = 'BB_HASHSERVE' SDK_TOOLCHAIN_LANGS += 'go rust' PTEST_EXPECT_FAILURE = '1' +YOCTO_MIRRORS = ""