* [OE-core][wrynose 00/17] Patch review
@ 2026-07-18 8:52 Yoann Congal
0 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-07-18 8:52 UTC (permalink / raw)
To: openembedded-core
Please review this set of changes for wrynose and have comments back by
end of day Tuesday, July 21.
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/4229
* qemux86-world and qemux86-64-ptest got impacted by 16316 – AB-INT: tar failure: got *at() syscall for unknown directory, fd 4
retried as
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/4062
https://autobuilder.yoctoproject.org/valkyrie/#/builders/59/builds/4182
* qemuarmv5 got impacted by 16217 – AB-INT: boot hang in qemu (amba chip errors?)
retried as https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/3992
The following changes since commit 6f5681afb324aed2cba4e5b819ffc878f74a2bac:
gnutls: fix CVE-2026-33846 (2026-07-16 20:54:12 +0200)
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 551eade6c83483616ea6172336a4cf6c994ce90d:
openssh: set status for CVE-2026-3497 (2026-07-18 01:31:03 +0200)
----------------------------------------------------------------
Adrian Freihofer (1):
oe-selftest: fitimage: Do not expect kernel property in DTBO config
subnodes
Alexander Kanavin (1):
wic: upgrade 0.3.0 -> 0.3.1
Deepak Rathore (1):
util-linux: fix CVE-2026-13595
Gustavo Henrique Nihei (1):
u-boot: re-enable RISC-V compressed (c) ISA extension
Jaipaul Cheernam (2):
gzip: fix CVE-2026-41992
bzip2: Fix CVE-2026-42250
Marek Vasut (2):
kernel-fit-image.bbclass: Do not include kernel property in DTBO
config subnodes
kernel-fit-image.bbclass: Fix operation with KERNEL_DTBVENDORED = "1"
Peter Marko (5):
go: upgrade 1.26.4 -> 1.26.5
vex: remove obsolete semicolon
rootfs: move tasks using image_list_installed_packages to
postuninstall
flac: fix buildpaths with doxygen enabled
flac: make documentation build deterministic
Ryan Eatmon (1):
kernel-fit-image: Add KERNEL_DTBVENDORED support for
FIT_CONF_DEFAULT_DTB
Sudhir Dumbhare (1):
openssh: set status for CVE-2026-3497
Vijay Anusuri (1):
tzdata/tzcode-native: upgrade 2026b -> 2026c
Yoann Congal (1):
scripts/install-buildtools: Update to 6.0.2
meta/classes-recipe/kernel-fit-image.bbclass | 22 ++-
meta/classes-recipe/license_image.bbclass | 2 +-
meta/classes/vex.bbclass | 2 +-
meta/lib/oe/fitimage.py | 7 +-
meta/lib/oeqa/selftest/cases/fitimage.py | 4 +-
meta/recipes-bsp/u-boot/u-boot_2026.01.bb | 1 +
.../openssh/openssh_10.3p1.bb | 1 +
meta/recipes-core/util-linux/util-linux.inc | 1 +
.../util-linux/CVE-2026-13595.patch | 148 ++++++++++++++++++
.../go/{go-1.26.4.inc => go-1.26.5.inc} | 2 +-
...e_1.26.4.bb => go-binary-native_1.26.5.bb} | 6 +-
..._1.26.4.bb => go-cross-canadian_1.26.5.bb} | 0
...{go-cross_1.26.4.bb => go-cross_1.26.5.bb} | 0
...osssdk_1.26.4.bb => go-crosssdk_1.26.5.bb} | 0
...runtime_1.26.4.bb => go-runtime_1.26.5.bb} | 0
.../go/{go_1.26.4.bb => go_1.26.5.bb} | 0
.../bzip2/bzip2/CVE-2026-42250.patch | 35 +++++
meta/recipes-extended/bzip2/bzip2_1.0.8.bb | 1 +
.../gzip/gzip-1.14/CVE-2026-41992.patch | 64 ++++++++
meta/recipes-extended/gzip/gzip_1.14.bb | 1 +
meta/recipes-extended/timezone/timezone.inc | 6 +-
meta/recipes-multimedia/flac/flac_1.5.0.bb | 5 +-
.../wic/{wic_0.3.0.bb => wic_0.3.1.bb} | 2 +-
scripts/install-buildtools | 4 +-
24 files changed, 296 insertions(+), 18 deletions(-)
create mode 100644 meta/recipes-core/util-linux/util-linux/CVE-2026-13595.patch
rename meta/recipes-devtools/go/{go-1.26.4.inc => go-1.26.5.inc} (90%)
rename meta/recipes-devtools/go/{go-binary-native_1.26.4.bb => go-binary-native_1.26.5.bb} (80%)
rename meta/recipes-devtools/go/{go-cross-canadian_1.26.4.bb => go-cross-canadian_1.26.5.bb} (100%)
rename meta/recipes-devtools/go/{go-cross_1.26.4.bb => go-cross_1.26.5.bb} (100%)
rename meta/recipes-devtools/go/{go-crosssdk_1.26.4.bb => go-crosssdk_1.26.5.bb} (100%)
rename meta/recipes-devtools/go/{go-runtime_1.26.4.bb => go-runtime_1.26.5.bb} (100%)
rename meta/recipes-devtools/go/{go_1.26.4.bb => go_1.26.5.bb} (100%)
create mode 100644 meta/recipes-extended/bzip2/bzip2/CVE-2026-42250.patch
create mode 100644 meta/recipes-extended/gzip/gzip-1.14/CVE-2026-41992.patch
rename meta/recipes-support/wic/{wic_0.3.0.bb => wic_0.3.1.bb} (90%)
^ permalink raw reply [flat|nested] 20+ messages in thread
* [OE-core][wrynose 00/17] Patch review
@ 2026-08-13 15:21 Fabien Thomas
0 siblings, 0 replies; 20+ messages in thread
From: Fabien Thomas @ 2026-08-13 15:21 UTC (permalink / raw)
To: openembedded-core
Please review this set of changes for wrynose and have comments back by
end of day Monday, August 17.
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/4467
* meta-qcom has a known issue: https://github.com/qualcomm-linux/meta-qcom/issues/2457
The following changes since commit f09a0f28aeb54ddd90415dd458338e1565bb5a49:
build-appliance-image: Update to wrynose head revisions (2026-07-30 13:29:32 +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 d75e9cc17035bcd403b101298be1503697a6f929:
oe-selftest: fitimage: Add tests for KERNEL_DTBVENDORED (2026-08-13 12:14:52 +0200)
----------------------------------------------------------------
Adarsh Jagadish Kamini (1):
glibc: CVE-2026-5358 add CVE_STATUS
Adrian Freihofer (1):
oe-selftest: fitimage: Do not expect kernel property in DTBO config
subnodes
Daniel Turull (1):
libarchive: fix CVE-2026-14164
Himanshu Jadon (1):
python3-pip: set CVE_PRODUCT
Jaipaul Cheernam (1):
bind: upgrade 9.20.23 -> 9.20.26
Marek Vasut (2):
kernel-fit-image.bbclass: Do not include kernel property in DTBO
config subnodes
kernel-fit-image.bbclass: Fix operation with KERNEL_DTBVENDORED = "1"
Peter Marko (1):
gstreamer1.0: set status for CVE-2026-5056
Ryan Eatmon (2):
kernel-fit-image: Add KERNEL_DTBVENDORED support for
FIT_CONF_DEFAULT_DTB
oe-selftest: fitimage: Add tests for KERNEL_DTBVENDORED
Wes Malone (1):
cpan_build: disable .packlist and html doc
Yoann Congal (1):
selftest: uboot: remove duplicated KVM presence test
mark.yang (5):
python3-pyopenssl: set CVE_PRODUCT
python3-pyyaml: set CVE_PRODUCT
python3-xmltodict: set CVE_PRODUCT
python3-certifi: set CVE_PRODUCT
python3-idna: set CVE_PRODUCT
meta/classes-recipe/cpan_build.bbclass | 7 +++
meta/classes-recipe/kernel-fit-image.bbclass | 22 ++++++-
meta/lib/oe/fitimage.py | 7 ++-
meta/lib/oeqa/selftest/cases/fitimage.py | 59 ++++++++++++++++++-
meta/lib/oeqa/selftest/cases/uboot.py | 6 +-
...1-avoid-start-failure-with-bind-user.patch | 2 +-
...kport-ax_prog_cc_for_build.m4-macros.patch | 2 +-
...d-V-and-start-log-hide-build-options.patch | 4 +-
...ching-for-json-headers-searches-sysr.patch | 6 +-
.../recipes-connectivity/bind/bind/conf.patch | 2 +-
...t.d-add-support-for-read-only-rootfs.patch | 2 +-
.../bind/make-etc-initd-bind-stop-work.patch | 2 +-
.../bind/{bind_9.20.23.bb => bind_9.20.26.bb} | 2 +-
meta/recipes-core/glibc/glibc_2.43.bb | 2 +-
.../perl/libmodule-build-perl_0.4234.bb | 2 -
.../python/python3-certifi_2026.2.25.bb | 2 +
.../python/python3-idna_3.11.bb | 2 +
.../python/python3-pip_26.0.1.bb | 2 +
.../python/python3-pyopenssl_26.0.0.bb | 2 +
.../python/python3-pyyaml_6.0.3.bb | 2 +
.../python/python3-xmltodict_1.0.4.bb | 2 +
.../libarchive/CVE-2026-14164.patch | 53 +++++++++++++++++
.../libarchive/libarchive_3.8.7.bb | 1 +
.../gstreamer/gstreamer1.0_1.28.2.bb | 2 +
24 files changed, 171 insertions(+), 24 deletions(-)
rename meta/recipes-connectivity/bind/{bind_9.20.23.bb => bind_9.20.26.bb} (97%)
create mode 100644 meta/recipes-extended/libarchive/libarchive/CVE-2026-14164.patch
^ permalink raw reply [flat|nested] 20+ messages in thread
* [OE-core][wrynose 00/17] Patch review
@ 2026-11-17 18:20 Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 01/17] pseudo: Upgrade 1.9.11 -> 1.9.12+git Yoann Congal
` (16 more replies)
0 siblings, 17 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
Please review this set of changes for wrynose and have comments back by
end of day Thursday, November 19.
Highlighted patches: this series upgrades rsync 3.4.1 -> 3.5.1: This is
an exception to the stable rules to handle the otherwise very difficult
to patch CVEs.
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/5137
The following changes since commit 33a6bd6cc8a9a976902081642414bd67adc74879:
populate_sdk_ext: Fix locale error handling in SDK (2026-11-11 00:22:27 +0100)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/wrynose-review
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/wrynose-review
for you to fetch changes up to dcc87a051b64f2643b94bdb1a703aa50e8dccb26:
perl: upgrade 5.42.0 -> 5.42.3 (2026-11-17 11:03:28 +0100)
----------------------------------------------------------------
Adarsh Jagadish Kamini (3):
curl: fix CVE-2026-87864
curl: fix CVE-2026-92388
curl: fix CVE-2026-92389
Ashishkumar Parmar (1):
bluez5: fix CVE-2026-19774
Darsh Kelaiya (4):
curl: fix CVE-2026-82208
curl: fix CVE-2026-86409
curl: set CVE_STATUS for CVE-2026-19931
curl: fix CVE-2026-18924
Jaipaul Cheernam (4):
rsync: upgrade 3.4.4 -> 3.5.0
rsync: upgrade 3.5.0 -> 3.5.1
perl-cross: add patches for perl-5.42.3
perl: upgrade 5.42.0 -> 5.42.3
KAZUYOSHI AKIYAMA (秋山 和慶) (1):
spdx30_tasks: Fix duplicated revision in Git PURLs
Richard Purdie (2):
rsync: upgrade 3.4.1 -> 3.4.2
rsync: upgrade 3.4.2 -> 3.4.4
Shuai Zhang (1):
bluez5: Abort continuing response on fragmented CT replies
Yoann Congal (1):
pseudo: Upgrade 1.9.11 -> 1.9.12+git
meta/lib/oe/spdx30_tasks.py | 7 +-
meta/recipes-connectivity/bluez5/bluez5.inc | 3 +
...inuing-response-on-fragmented-CT-rep.patch | 62 ++++++++
.../bluez5/bluez5/CVE-2026-19774_p1.patch | 63 ++++++++
.../bluez5/bluez5/CVE-2026-19774_p2.patch | 62 ++++++++
...rl-cross-add-patches-for-perl-5.42.3.patch | 114 ++++++++++++++
.../perl-cross/perlcross_1.6.4.bb | 1 +
.../perl/files/CVE-2026-13221.patch | 75 ---------
.../perl/files/CVE-2026-42496.patch | 99 ------------
.../perl/files/CVE-2026-57432-01.patch | 52 -------
.../perl/files/CVE-2026-57432-02.patch | 34 -----
.../perl/files/CVE-2026-57433.patch | 32 ----
.../perl/files/CVE-2026-8376-01.patch | 62 --------
.../perl/files/CVE-2026-8376-02.patch | 49 ------
.../perl/{perl_5.42.0.bb => perl_5.42.3.bb} | 9 +-
meta/recipes-devtools/pseudo/pseudo_git.bb | 6 +-
...-prototypes-to-function-declarations.patch | 78 ++--------
.../rsync/files/CVE-2025-10158.patch | 36 -----
.../rsync/files/determism.patch | 6 +-
.../rsync/files/makefile-no-rebuild.patch | 6 +-
.../rsync/{rsync_3.4.1.bb => rsync_3.5.1.bb} | 4 +-
.../curl/curl/CVE-2026-18924.patch | 57 +++++++
.../curl/curl/CVE-2026-82208.patch | 54 +++++++
.../curl/curl/CVE-2026-86409.patch | 88 +++++++++++
.../curl/curl/CVE-2026-87864.patch | 52 +++++++
.../curl/curl/CVE-2026-92388-1.patch | 142 ++++++++++++++++++
.../curl/curl/CVE-2026-92388-2.patch | 31 ++++
.../curl/curl/CVE-2026-92389.patch | 53 +++++++
meta/recipes-support/curl/curl_8.19.0.bb | 8 +
29 files changed, 822 insertions(+), 523 deletions(-)
create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0001-avrcp-Abort-continuing-response-on-fragmented-CT-rep.patch
create mode 100644 meta/recipes-connectivity/bluez5/bluez5/CVE-2026-19774_p1.patch
create mode 100644 meta/recipes-connectivity/bluez5/bluez5/CVE-2026-19774_p2.patch
create mode 100644 meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-patches-for-perl-5.42.3.patch
delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-13221.patch
delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-42496.patch
delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-57432-01.patch
delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-57432-02.patch
delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-57433.patch
delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-8376-01.patch
delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-8376-02.patch
rename meta/recipes-devtools/perl/{perl_5.42.0.bb => perl_5.42.3.bb} (98%)
delete mode 100644 meta/recipes-devtools/rsync/files/CVE-2025-10158.patch
rename meta/recipes-devtools/rsync/{rsync_3.4.1.bb => rsync_3.5.1.bb} (95%)
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-18924.patch
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-82208.patch
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-86409.patch
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-87864.patch
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-92388-1.patch
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-92388-2.patch
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-92389.patch
^ permalink raw reply [flat|nested] 20+ messages in thread
* [OE-core][wrynose 01/17] pseudo: Upgrade 1.9.11 -> 1.9.12+git
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 02/17] rsync: upgrade 3.4.1 -> 3.4.2 Yoann Congal
` (15 subsequent siblings)
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Yoann Congal <yoann.congal@smile.fr>
Switch from master to the pseudo-1.9 stable branch.
Changelog:
* pseudo_client: Fix xattr/rename handling with empty paths
* ports/linux/guts: Add open_tree wrapper
* test: Add open_tree test
* ports/linux/pseudo_wrappers.c: Add syscall support for open_tree() wrapper
* test: Add open_tree syscall test
* test: Add open_tree_attr syscall test
* ports/linux/guts: Add open_tree_attr wrapper
* ports/linux/pseudo_wrappers: forward pre-init syscall/prctl to the real function
* pseudo_util: bound pseudo_get_value()'s recovery re-init
* Makefile.in: Bump to 1.9.12
* ports/linux: Add missing header
* ports/linux: Fix header ordering for Ubuntu 22.04
* ports/linux/guts: Fix uninitialized pseudo_path in open_tree wrappers
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/recipes-devtools/pseudo/pseudo_git.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb
index d8466b018e1..02e86799f7b 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -1,6 +1,6 @@
require pseudo.inc
-SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https;tag=pseudo-${PV} \
+SRC_URI = "git://git.yoctoproject.org/pseudo;branch=pseudo-1.9;protocol=https \
file://fallback-passwd \
file://fallback-group \
"
@@ -12,8 +12,8 @@ SRC_URI:append:class-nativesdk = " \
file://older-glibc-symbols.patch"
SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
-SRCREV = "ba8887e5f1e922f866681ec7dec1a00b602a9328"
-PV = "1.9.11"
+SRCREV = "e627b0dcb639f387db935fae1f9b93b30cded5e1"
+PV = "1.9.12+git"
# largefile and 64bit time_t support adds these macros via compiler flags globally
# remove them for pseudo since pseudo intercepts some of the functions which will be
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 02/17] rsync: upgrade 3.4.1 -> 3.4.2
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 01/17] pseudo: Upgrade 1.9.11 -> 1.9.12+git Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 03/17] rsync: upgrade 3.4.2 -> 3.4.4 Yoann Congal
` (14 subsequent siblings)
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported CVE patch included in this release.
Parts of the prototypes patch were fixed upstream (in zlib) but some sections
were not, drop the merged sections of the patch.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7ae818a6c3635bff7701c339174b6d281a507462)
Suggested-by: Darsh Kelaiya <dkelaiya@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
[YC: NEWS: https://download.samba.org/pub/rsync/NEWS#3.4.2
Compare log: https://github.com/RsyncProject/rsync/compare/v3.4.1...v3.4.2
The Yocto Project TSC granted an exemption to the stable release
policy for this rsync version upgrade, see:
https://lists.openembedded.org/g/openembedded-core/message/248203]
---
...-prototypes-to-function-declarations.patch | 68 +++----------------
.../rsync/files/CVE-2025-10158.patch | 36 ----------
.../rsync/files/determism.patch | 4 +-
.../rsync/files/makefile-no-rebuild.patch | 6 +-
.../rsync/{rsync_3.4.1.bb => rsync_3.4.2.bb} | 3 +-
5 files changed, 16 insertions(+), 101 deletions(-)
delete mode 100644 meta/recipes-devtools/rsync/files/CVE-2025-10158.patch
rename meta/recipes-devtools/rsync/{rsync_3.4.1.bb => rsync_3.4.2.bb} (95%)
diff --git a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
index 3011308c61a..e6d3578e85c 100644
--- a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
+++ b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
@@ -1,4 +1,4 @@
-From 073caa67f2aa221de113a21f8105940421a2da90 Mon Sep 17 00:00:00 2001
+From 46cbe5b70b5cbf981cf693137ac081cacbbb2e2a Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 29 Aug 2022 19:53:28 -0700
Subject: [PATCH] Add missing prototypes to function declarations
@@ -17,20 +17,17 @@ Upstream-Status: Submitted [https://lists.samba.org/archive/rsync/2022-August/03
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
---
- checksum.c | 2 +-
- exclude.c | 2 +-
- log.c | 2 +-
- main.c | 2 +-
- zlib/crc32.c | 2 +-
- zlib/trees.c | 2 +-
- zlib/zutil.c | 4 ++--
- 7 files changed, 8 insertions(+), 8 deletions(-)
+ checksum.c | 2 +-
+ exclude.c | 2 +-
+ log.c | 2 +-
+ main.c | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/checksum.c b/checksum.c
-index 66e8089..b24b202 100644
+index 24e46bf..6ae3178 100644
--- a/checksum.c
+++ b/checksum.c
-@@ -779,7 +779,7 @@ static void verify_digest(struct name_num_item *nni, BOOL check_auth_list)
+@@ -778,7 +778,7 @@ static void verify_digest(struct name_num_item *nni, BOOL check_auth_list)
}
#endif
@@ -40,7 +37,7 @@ index 66e8089..b24b202 100644
#if defined SUPPORT_XXH3 || defined USE_OPENSSL
struct name_num_item *nni;
diff --git a/exclude.c b/exclude.c
-index 87edbcf..ae0de2f 100644
+index 24de64f..a787488 100644
--- a/exclude.c
+++ b/exclude.c
@@ -363,7 +363,7 @@ void implied_include_partial_string(const char *s_start, const char *s_end)
@@ -66,7 +63,7 @@ index e4ba1cc..8482b71 100644
int options = LOG_PID;
diff --git a/main.c b/main.c
-index 4f070ac..f59eaec 100644
+index ccad28a..bbb09ba 100644
--- a/main.c
+++ b/main.c
@@ -246,7 +246,7 @@ void read_del_stats(int f)
@@ -78,48 +75,3 @@ index 4f070ac..f59eaec 100644
{
char *gname;
uid_t uid;
-diff --git a/zlib/crc32.c b/zlib/crc32.c
-index 05733f4..50c6c02 100644
---- a/zlib/crc32.c
-+++ b/zlib/crc32.c
-@@ -187,7 +187,7 @@ local void write_table(out, table)
- /* =========================================================================
- * This function can be used by asm versions of crc32()
- */
--const z_crc_t FAR * ZEXPORT get_crc_table()
-+const z_crc_t FAR * ZEXPORT get_crc_table(void)
- {
- #ifdef DYNAMIC_CRC_TABLE
- if (crc_table_empty)
-diff --git a/zlib/trees.c b/zlib/trees.c
-index 9c66770..0d9047e 100644
---- a/zlib/trees.c
-+++ b/zlib/trees.c
-@@ -231,7 +231,7 @@ local void send_bits(s, value, length)
- /* ===========================================================================
- * Initialize the various 'constant' tables.
- */
--local void tr_static_init()
-+local void tr_static_init(void)
- {
- #if defined(GEN_TREES_H) || !defined(STDC)
- static int static_init_done = 0;
-diff --git a/zlib/zutil.c b/zlib/zutil.c
-index bbba7b2..61f8dc9 100644
---- a/zlib/zutil.c
-+++ b/zlib/zutil.c
-@@ -27,12 +27,12 @@ z_const char * const z_errmsg[10] = {
- ""};
-
-
--const char * ZEXPORT zlibVersion()
-+const char * ZEXPORT zlibVersion(void)
- {
- return ZLIB_VERSION;
- }
-
--uLong ZEXPORT zlibCompileFlags()
-+uLong ZEXPORT zlibCompileFlags(void)
- {
- uLong flags;
-
diff --git a/meta/recipes-devtools/rsync/files/CVE-2025-10158.patch b/meta/recipes-devtools/rsync/files/CVE-2025-10158.patch
deleted file mode 100644
index 1c5661d35b5..00000000000
--- a/meta/recipes-devtools/rsync/files/CVE-2025-10158.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From c2ff1647b1d9a0b92b73af106ce133490306e886 Mon Sep 17 00:00:00 2001
-From: Andrew Tridgell <andrew@tridgell.net>
-Date: Sat, 23 Aug 2025 17:26:53 +1000
-Subject: [PATCH] fixed an invalid access to files array
-
-this was found by Calum Hutton from Rapid7. It is a real bug, but
-analysis shows it can't be leverged into an exploit. Worth fixing
-though.
-
-Many thanks to Calum and Rapid7 for finding and reporting this
-
-CVE: CVE-2025-10158
-
-Upstream-Status: Backport [https://github.com/RsyncProject/rsync/commit/797e17fc4a6f15e3b1756538a9f812b63942686f]
-
-Signed-off-by: Liyin Zhang <liyin.zhang.cn@windriver.com>
----
- sender.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/sender.c b/sender.c
-index a4d46c39..b1588b70 100644
---- a/sender.c
-+++ b/sender.c
-@@ -262,6 +262,8 @@ void send_files(int f_in, int f_out)
-
- if (ndx - cur_flist->ndx_start >= 0)
- file = cur_flist->files[ndx - cur_flist->ndx_start];
-+ else if (cur_flist->parent_ndx < 0)
-+ exit_cleanup(RERR_PROTOCOL);
- else
- file = dir_flist->files[cur_flist->parent_ndx];
- if (F_PATHNAME(file)) {
---
-2.51.2
-
diff --git a/meta/recipes-devtools/rsync/files/determism.patch b/meta/recipes-devtools/rsync/files/determism.patch
index f915d658c88..fd96b873c85 100644
--- a/meta/recipes-devtools/rsync/files/determism.patch
+++ b/meta/recipes-devtools/rsync/files/determism.patch
@@ -1,4 +1,4 @@
-From 41b859a9df9611b7b3f6cbe28af47118d947080f Mon Sep 17 00:00:00 2001
+From b810d78a9327b5b313ebc0aa1a0b155de7c10afd Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Sun, 21 Feb 2021 09:45:48 +0000
Subject: [PATCH] rsync: Fix a file sorting determinism issue
@@ -25,7 +25,7 @@ https://github.com/WayneD/rsync/commit/d3085f7add38a5cf833a0b31cb0637ff46c80f8d
1 file changed, 5 insertions(+)
diff --git a/Makefile.in b/Makefile.in
-index 1d13e8c..2c5cf99 100644
+index 80e9d72..a7d313c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -27,6 +27,11 @@ MKDIR_P=@MKDIR_P@
diff --git a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
index 42af4c55d00..fb195b1e685 100644
--- a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
+++ b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
@@ -1,4 +1,4 @@
-From 603e5862cca832ae925d0c92a8654a57caff5910 Mon Sep 17 00:00:00 2001
+From 0608f5ebb26e2e474867bec6c3d67dfd0a7663f0 Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Tue, 12 Apr 2016 15:51:54 +0100
Subject: [PATCH] rsync: remove upstream's rebuild logic
@@ -13,10 +13,10 @@ Signed-off-by: Ross Burton <ross.burton@intel.com>
1 file changed, 54 deletions(-)
diff --git a/Makefile.in b/Makefile.in
-index 7c75c26..1d13e8c 100644
+index c2fe775..80e9d72 100644
--- a/Makefile.in
+++ b/Makefile.in
-@@ -184,60 +184,6 @@ conf: configure.sh config.h.in
+@@ -185,60 +185,6 @@ conf: configure.sh config.h.in
.PHONY: gen
gen: conf proto.h man git-version.h
diff --git a/meta/recipes-devtools/rsync/rsync_3.4.1.bb b/meta/recipes-devtools/rsync/rsync_3.4.2.bb
similarity index 95%
rename from meta/recipes-devtools/rsync/rsync_3.4.1.bb
rename to meta/recipes-devtools/rsync/rsync_3.4.2.bb
index 509be486b87..5fe1bc2c2b3 100644
--- a/meta/recipes-devtools/rsync/rsync_3.4.1.bb
+++ b/meta/recipes-devtools/rsync/rsync_3.4.2.bb
@@ -15,9 +15,8 @@ SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \
file://makefile-no-rebuild.patch \
file://determism.patch \
file://0001-Add-missing-prototypes-to-function-declarations.patch \
- file://CVE-2025-10158.patch \
"
-SRC_URI[sha256sum] = "2924bcb3a1ed8b551fc101f740b9f0fe0a202b115027647cf69850d65fd88c52"
+SRC_URI[sha256sum] = "ff10aa2c151cd4b2dbbe6135126dbc854046113d2dfb49572a348233267eb315"
# Out-of-tree builds don't install the documentation currently
# https://github.com/RsyncProject/rsync/issues/846
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 03/17] rsync: upgrade 3.4.2 -> 3.4.4
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 01/17] pseudo: Upgrade 1.9.11 -> 1.9.12+git Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 02/17] rsync: upgrade 3.4.1 -> 3.4.2 Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 04/17] rsync: upgrade 3.4.4 -> 3.5.0 Yoann Congal
` (13 subsequent siblings)
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3f583855eece3b022dec3703e6622eedac0159e9)
Suggested-by: Darsh Kelaiya <dkelaiya@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
[YC: NEWS: https://download.samba.org/pub/rsync/NEWS#3.4.3
NEWS: https://download.samba.org/pub/rsync/NEWS#3.4.4
Compare log: https://github.com/RsyncProject/rsync/compare/v3.4.2...v3.4.4
The Yocto Project TSC granted an exemption to the stable release
policy for this rsync version upgrade, see:
https://lists.openembedded.org/g/openembedded-core/message/248203]
---
...-Add-missing-prototypes-to-function-declarations.patch | 8 ++++----
meta/recipes-devtools/rsync/files/determism.patch | 4 ++--
.../rsync/files/makefile-no-rebuild.patch | 6 +++---
.../rsync/{rsync_3.4.2.bb => rsync_3.4.4.bb} | 2 +-
4 files changed, 10 insertions(+), 10 deletions(-)
rename meta/recipes-devtools/rsync/{rsync_3.4.2.bb => rsync_3.4.4.bb} (97%)
diff --git a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
index e6d3578e85c..ede0238b2ef 100644
--- a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
+++ b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
@@ -1,4 +1,4 @@
-From 46cbe5b70b5cbf981cf693137ac081cacbbb2e2a Mon Sep 17 00:00:00 2001
+From c05cc113f925bda645c8e51b83e9dc30b0543bad Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 29 Aug 2022 19:53:28 -0700
Subject: [PATCH] Add missing prototypes to function declarations
@@ -50,7 +50,7 @@ index 24de64f..a787488 100644
if (partial_string_buf) {
if (partial_string_len)
diff --git a/log.c b/log.c
-index e4ba1cc..8482b71 100644
+index b948f16..afca81d 100644
--- a/log.c
+++ b/log.c
@@ -131,7 +131,7 @@ static void logit(int priority, const char *buf)
@@ -63,11 +63,11 @@ index e4ba1cc..8482b71 100644
int options = LOG_PID;
diff --git a/main.c b/main.c
-index ccad28a..bbb09ba 100644
+index 229a889..aa158ad 100644
--- a/main.c
+++ b/main.c
@@ -246,7 +246,7 @@ void read_del_stats(int f)
- stats.deleted_files += stats.deleted_specials = read_varint(f);
+ stats.deleted_files += stats.deleted_specials = read_varint_bounded(f, 0, MAX_WIRE_DEL_STAT, "deleted_specials");
}
-static void become_copy_as_user()
diff --git a/meta/recipes-devtools/rsync/files/determism.patch b/meta/recipes-devtools/rsync/files/determism.patch
index fd96b873c85..a8fee5ba0af 100644
--- a/meta/recipes-devtools/rsync/files/determism.patch
+++ b/meta/recipes-devtools/rsync/files/determism.patch
@@ -1,4 +1,4 @@
-From b810d78a9327b5b313ebc0aa1a0b155de7c10afd Mon Sep 17 00:00:00 2001
+From 32852028e95cdf78d09f1bd867f3b46b4728f9e3 Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Sun, 21 Feb 2021 09:45:48 +0000
Subject: [PATCH] rsync: Fix a file sorting determinism issue
@@ -25,7 +25,7 @@ https://github.com/WayneD/rsync/commit/d3085f7add38a5cf833a0b31cb0637ff46c80f8d
1 file changed, 5 insertions(+)
diff --git a/Makefile.in b/Makefile.in
-index 80e9d72..a7d313c 100644
+index 0ba2d5c..b9c5438 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -27,6 +27,11 @@ MKDIR_P=@MKDIR_P@
diff --git a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
index fb195b1e685..914b50a7b7e 100644
--- a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
+++ b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
@@ -1,4 +1,4 @@
-From 0608f5ebb26e2e474867bec6c3d67dfd0a7663f0 Mon Sep 17 00:00:00 2001
+From 50ef5ccd9149cee27bae29e767ff1c2e76bdc879 Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Tue, 12 Apr 2016 15:51:54 +0100
Subject: [PATCH] rsync: remove upstream's rebuild logic
@@ -13,10 +13,10 @@ Signed-off-by: Ross Burton <ross.burton@intel.com>
1 file changed, 54 deletions(-)
diff --git a/Makefile.in b/Makefile.in
-index c2fe775..80e9d72 100644
+index 79060b3..0ba2d5c 100644
--- a/Makefile.in
+++ b/Makefile.in
-@@ -185,60 +185,6 @@ conf: configure.sh config.h.in
+@@ -200,60 +200,6 @@ conf: configure.sh config.h.in
.PHONY: gen
gen: conf proto.h man git-version.h
diff --git a/meta/recipes-devtools/rsync/rsync_3.4.2.bb b/meta/recipes-devtools/rsync/rsync_3.4.4.bb
similarity index 97%
rename from meta/recipes-devtools/rsync/rsync_3.4.2.bb
rename to meta/recipes-devtools/rsync/rsync_3.4.4.bb
index 5fe1bc2c2b3..fa9a61778f6 100644
--- a/meta/recipes-devtools/rsync/rsync_3.4.2.bb
+++ b/meta/recipes-devtools/rsync/rsync_3.4.4.bb
@@ -16,7 +16,7 @@ SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \
file://determism.patch \
file://0001-Add-missing-prototypes-to-function-declarations.patch \
"
-SRC_URI[sha256sum] = "ff10aa2c151cd4b2dbbe6135126dbc854046113d2dfb49572a348233267eb315"
+SRC_URI[sha256sum] = "bd88cf82fa653da32314fb229136407c5c90f80d1758d8f4b091767877d8fa96"
# Out-of-tree builds don't install the documentation currently
# https://github.com/RsyncProject/rsync/issues/846
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 04/17] rsync: upgrade 3.4.4 -> 3.5.0
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
` (2 preceding siblings ...)
2026-11-17 18:20 ` [OE-core][wrynose 03/17] rsync: upgrade 3.4.2 -> 3.4.4 Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 05/17] rsync: upgrade 3.5.0 -> 3.5.1 Yoann Congal
` (12 subsequent siblings)
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
NEWS: https://download.samba.org/pub/rsync/NEWS#3.5.0
CVE:
CVE-2026-53802
CVE-2026-53803
CVE-2026-53785
CVE-2026-53784
CVE-2026-53793
CVE-2026-53795
CVE-2026-53796
CVE-2026-53797
CVE-2026-53799
CVE-2026-53800
CVE-2026-53801
CVE-2026-53783
CVE-2026-53786
CVE-2026-53798
CVE-2026-53788
CVE-2026-53789
CVE-2026-53791
CVE-2026-53790
CVE-2026-53792
CVE-2026-53794
CVE-2026-70461
CVE-2026-70458
CVE-2026-70456
CVE-2026-70457
CVE-2026-70459
CVE-2026-70464
CVE-2026-70455
CVE-2026-70453
CVE-2026-70452
CVE-2026-70463
CVE-2026-70460
CVE-2026-70462
CVE-2026-70454
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5a5de1c212718d3918dfbe9b6ab770dd76316d6f)
Suggested-by: Darsh Kelaiya <dkelaiya@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
[YC: Compare log: https://github.com/RsyncProject/rsync/compare/v3.4.4...v3.5.0
The Yocto Project TSC granted an exemption to the stable release
policy for this rsync version upgrade, see:
https://lists.openembedded.org/g/openembedded-core/message/248203]
---
...g-prototypes-to-function-declarations.patch | 18 +++++++++---------
.../rsync/files/determism.patch | 4 ++--
.../rsync/files/makefile-no-rebuild.patch | 6 +++---
.../rsync/{rsync_3.4.4.bb => rsync_3.5.0.bb} | 2 +-
4 files changed, 15 insertions(+), 15 deletions(-)
rename meta/recipes-devtools/rsync/{rsync_3.4.4.bb => rsync_3.5.0.bb} (97%)
diff --git a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
index ede0238b2ef..5aed93e458d 100644
--- a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
+++ b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
@@ -1,4 +1,4 @@
-From c05cc113f925bda645c8e51b83e9dc30b0543bad Mon Sep 17 00:00:00 2001
+From 64e62c659649593239ed39ed40a3ae689bf2d593 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 29 Aug 2022 19:53:28 -0700
Subject: [PATCH] Add missing prototypes to function declarations
@@ -24,10 +24,10 @@ Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/checksum.c b/checksum.c
-index 24e46bf..6ae3178 100644
+index 4c91c2b..b3635a0 100644
--- a/checksum.c
+++ b/checksum.c
-@@ -778,7 +778,7 @@ static void verify_digest(struct name_num_item *nni, BOOL check_auth_list)
+@@ -796,7 +796,7 @@ static void verify_digest(struct name_num_item *nni, BOOL check_auth_list)
}
#endif
@@ -37,10 +37,10 @@ index 24e46bf..6ae3178 100644
#if defined SUPPORT_XXH3 || defined USE_OPENSSL
struct name_num_item *nni;
diff --git a/exclude.c b/exclude.c
-index 24de64f..a787488 100644
+index 7476f6a..b939a0c 100644
--- a/exclude.c
+++ b/exclude.c
-@@ -363,7 +363,7 @@ void implied_include_partial_string(const char *s_start, const char *s_end)
+@@ -460,7 +460,7 @@ void implied_include_partial_string(const char *s_start, const char *s_end)
memcpy(partial_string_buf, s_start, partial_string_len);
}
@@ -50,10 +50,10 @@ index 24de64f..a787488 100644
if (partial_string_buf) {
if (partial_string_len)
diff --git a/log.c b/log.c
-index b948f16..afca81d 100644
+index 889b57b..19e5e98 100644
--- a/log.c
+++ b/log.c
-@@ -131,7 +131,7 @@ static void logit(int priority, const char *buf)
+@@ -140,7 +140,7 @@ static void logit(int priority, const char *buf)
}
}
@@ -63,10 +63,10 @@ index b948f16..afca81d 100644
int options = LOG_PID;
diff --git a/main.c b/main.c
-index 229a889..aa158ad 100644
+index 6050d0e..45722c4 100644
--- a/main.c
+++ b/main.c
-@@ -246,7 +246,7 @@ void read_del_stats(int f)
+@@ -250,7 +250,7 @@ void read_del_stats(int f)
stats.deleted_files += stats.deleted_specials = read_varint_bounded(f, 0, MAX_WIRE_DEL_STAT, "deleted_specials");
}
diff --git a/meta/recipes-devtools/rsync/files/determism.patch b/meta/recipes-devtools/rsync/files/determism.patch
index a8fee5ba0af..2eea267bb2d 100644
--- a/meta/recipes-devtools/rsync/files/determism.patch
+++ b/meta/recipes-devtools/rsync/files/determism.patch
@@ -1,4 +1,4 @@
-From 32852028e95cdf78d09f1bd867f3b46b4728f9e3 Mon Sep 17 00:00:00 2001
+From c4c9b52a864c3b9ff67771b9d881a78276448100 Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Sun, 21 Feb 2021 09:45:48 +0000
Subject: [PATCH] rsync: Fix a file sorting determinism issue
@@ -25,7 +25,7 @@ https://github.com/WayneD/rsync/commit/d3085f7add38a5cf833a0b31cb0637ff46c80f8d
1 file changed, 5 insertions(+)
diff --git a/Makefile.in b/Makefile.in
-index 0ba2d5c..b9c5438 100644
+index 91807d6..c18b4be 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -27,6 +27,11 @@ MKDIR_P=@MKDIR_P@
diff --git a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
index 914b50a7b7e..4ff070ea3c6 100644
--- a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
+++ b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
@@ -1,4 +1,4 @@
-From 50ef5ccd9149cee27bae29e767ff1c2e76bdc879 Mon Sep 17 00:00:00 2001
+From bab7abb3c7c1c1db8ef6c3084c1ffb5152f5bf1e Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Tue, 12 Apr 2016 15:51:54 +0100
Subject: [PATCH] rsync: remove upstream's rebuild logic
@@ -13,10 +13,10 @@ Signed-off-by: Ross Burton <ross.burton@intel.com>
1 file changed, 54 deletions(-)
diff --git a/Makefile.in b/Makefile.in
-index 79060b3..0ba2d5c 100644
+index 801e864..91807d6 100644
--- a/Makefile.in
+++ b/Makefile.in
-@@ -200,60 +200,6 @@ conf: configure.sh config.h.in
+@@ -265,60 +265,6 @@ conf: configure.sh config.h.in
.PHONY: gen
gen: conf proto.h man git-version.h
diff --git a/meta/recipes-devtools/rsync/rsync_3.4.4.bb b/meta/recipes-devtools/rsync/rsync_3.5.0.bb
similarity index 97%
rename from meta/recipes-devtools/rsync/rsync_3.4.4.bb
rename to meta/recipes-devtools/rsync/rsync_3.5.0.bb
index fa9a61778f6..d9a4884d96e 100644
--- a/meta/recipes-devtools/rsync/rsync_3.4.4.bb
+++ b/meta/recipes-devtools/rsync/rsync_3.5.0.bb
@@ -16,7 +16,7 @@ SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \
file://determism.patch \
file://0001-Add-missing-prototypes-to-function-declarations.patch \
"
-SRC_URI[sha256sum] = "bd88cf82fa653da32314fb229136407c5c90f80d1758d8f4b091767877d8fa96"
+SRC_URI[sha256sum] = "c7ffd1ef653e99540f661e47cb00b7f9cad1ee6b972399b16f93d672656e0d33"
# Out-of-tree builds don't install the documentation currently
# https://github.com/RsyncProject/rsync/issues/846
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 05/17] rsync: upgrade 3.5.0 -> 3.5.1
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
` (3 preceding siblings ...)
2026-11-17 18:20 ` [OE-core][wrynose 04/17] rsync: upgrade 3.4.4 -> 3.5.0 Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 06/17] curl: fix CVE-2026-82208 Yoann Congal
` (11 subsequent siblings)
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
NEWS: https://download.samba.org/pub/rsync/NEWS#3.5.1
Compare log: https://github.com/RsyncProject/rsync/compare/v3.5.0...v3.5.1
- Refresh existing patches
- ldn support added [1] and add packageconfig to support
[1] https://github.com/RsyncProject/rsync/commit/f0177d82a8fcbbebaac2bdf556f983160ae03988
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6367a867b6a6079bf83eeffcc8bca5f5ec22b7ab)
Suggested-by: Darsh Kelaiya <dkelaiya@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
[YC: The Yocto Project TSC granted an exemption to the stable release
policy for this rsync version upgrade, see:
https://lists.openembedded.org/g/openembedded-core/message/248203]
---
...01-Add-missing-prototypes-to-function-declarations.patch | 4 ++--
meta/recipes-devtools/rsync/files/determism.patch | 6 +++---
meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch | 6 +++---
.../rsync/{rsync_3.5.0.bb => rsync_3.5.1.bb} | 3 ++-
4 files changed, 10 insertions(+), 9 deletions(-)
rename meta/recipes-devtools/rsync/{rsync_3.5.0.bb => rsync_3.5.1.bb} (95%)
diff --git a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
index 5aed93e458d..1f1fc3f3b3e 100644
--- a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
+++ b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
@@ -1,4 +1,4 @@
-From 64e62c659649593239ed39ed40a3ae689bf2d593 Mon Sep 17 00:00:00 2001
+From 56a785a7d964f797a786b2d5b75d9cee51b530b1 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 29 Aug 2022 19:53:28 -0700
Subject: [PATCH] Add missing prototypes to function declarations
@@ -63,7 +63,7 @@ index 889b57b..19e5e98 100644
int options = LOG_PID;
diff --git a/main.c b/main.c
-index 6050d0e..45722c4 100644
+index ed6e554..b5f9448 100644
--- a/main.c
+++ b/main.c
@@ -250,7 +250,7 @@ void read_del_stats(int f)
diff --git a/meta/recipes-devtools/rsync/files/determism.patch b/meta/recipes-devtools/rsync/files/determism.patch
index 2eea267bb2d..890275f6d7c 100644
--- a/meta/recipes-devtools/rsync/files/determism.patch
+++ b/meta/recipes-devtools/rsync/files/determism.patch
@@ -1,4 +1,4 @@
-From c4c9b52a864c3b9ff67771b9d881a78276448100 Mon Sep 17 00:00:00 2001
+From e784131e4ccbaf8ad7107d1f7a7f13da8c675827 Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Sun, 21 Feb 2021 09:45:48 +0000
Subject: [PATCH] rsync: Fix a file sorting determinism issue
@@ -25,10 +25,10 @@ https://github.com/WayneD/rsync/commit/d3085f7add38a5cf833a0b31cb0637ff46c80f8d
1 file changed, 5 insertions(+)
diff --git a/Makefile.in b/Makefile.in
-index 91807d6..c18b4be 100644
+index de24949..bb9bb27 100644
--- a/Makefile.in
+++ b/Makefile.in
-@@ -27,6 +27,11 @@ MKDIR_P=@MKDIR_P@
+@@ -28,6 +28,11 @@ MKDIR_P=@MKDIR_P@
VPATH=$(srcdir)
SHELL=/bin/sh
diff --git a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
index 4ff070ea3c6..59255d15e72 100644
--- a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
+++ b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
@@ -1,4 +1,4 @@
-From bab7abb3c7c1c1db8ef6c3084c1ffb5152f5bf1e Mon Sep 17 00:00:00 2001
+From 0e1f2aec0dbfc150013860b42b41645cebe236b7 Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Tue, 12 Apr 2016 15:51:54 +0100
Subject: [PATCH] rsync: remove upstream's rebuild logic
@@ -13,10 +13,10 @@ Signed-off-by: Ross Burton <ross.burton@intel.com>
1 file changed, 54 deletions(-)
diff --git a/Makefile.in b/Makefile.in
-index 801e864..91807d6 100644
+index 716171d..de24949 100644
--- a/Makefile.in
+++ b/Makefile.in
-@@ -265,60 +265,6 @@ conf: configure.sh config.h.in
+@@ -267,60 +267,6 @@ conf: configure.sh config.h.in
.PHONY: gen
gen: conf proto.h man git-version.h
diff --git a/meta/recipes-devtools/rsync/rsync_3.5.0.bb b/meta/recipes-devtools/rsync/rsync_3.5.1.bb
similarity index 95%
rename from meta/recipes-devtools/rsync/rsync_3.5.0.bb
rename to meta/recipes-devtools/rsync/rsync_3.5.1.bb
index d9a4884d96e..6b121ab1a87 100644
--- a/meta/recipes-devtools/rsync/rsync_3.5.0.bb
+++ b/meta/recipes-devtools/rsync/rsync_3.5.1.bb
@@ -16,7 +16,7 @@ SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \
file://determism.patch \
file://0001-Add-missing-prototypes-to-function-declarations.patch \
"
-SRC_URI[sha256sum] = "c7ffd1ef653e99540f661e47cb00b7f9cad1ee6b972399b16f93d672656e0d33"
+SRC_URI[sha256sum] = "c55f9c9dc10fb8bec397b399a0fdded53cc9a2d8e30891bb0d63724d25c37bef"
# Out-of-tree builds don't install the documentation currently
# https://github.com/RsyncProject/rsync/issues/846
@@ -28,6 +28,7 @@ PACKAGECONFIG ??= "acl attr \
PACKAGECONFIG[acl] = "--enable-acl-support,--disable-acl-support,acl,"
PACKAGECONFIG[attr] = "--enable-xattr-support,--disable-xattr-support,attr,"
+PACKAGECONFIG[idn] = "--enable-idn,--disable-idn,libidn2"
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4"
PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 06/17] curl: fix CVE-2026-82208
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
` (4 preceding siblings ...)
2026-11-17 18:20 ` [OE-core][wrynose 05/17] rsync: upgrade 3.5.0 -> 3.5.1 Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 07/17] curl: fix CVE-2026-87864 Yoann Congal
` (10 subsequent siblings)
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Darsh Kelaiya <dkelaiya@cisco.com>
This patch applies the upstream fix as referenced in [2],
using the commit shown in [1].
[1] https://github.com/curl/curl/commit/ed0338befd1d865a8ea1fbaa90013a096dedd07a
[2] https://curl.se/docs/CVE-2026-82208.html
Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../curl/curl/CVE-2026-82208.patch | 54 +++++++++++++++++++
meta/recipes-support/curl/curl_8.19.0.bb | 1 +
2 files changed, 55 insertions(+)
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-82208.patch
diff --git a/meta/recipes-support/curl/curl/CVE-2026-82208.patch b/meta/recipes-support/curl/curl/CVE-2026-82208.patch
new file mode 100644
index 00000000000..1ff3794c176
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2026-82208.patch
@@ -0,0 +1,54 @@
+From ed0338befd1d865a8ea1fbaa90013a096dedd07a Mon Sep 17 00:00:00 2001
+From: Stefan Eissing <stefan@eissing.org>
+Date: Wed, 26 Aug 2026 13:46:13 +0200
+Subject: [PATCH] wolfssl: do not run Curl_wssl_setup_x509_store() twice
+
+The flag preventing a rerun was not set when a cached_store
+was used.
+
+CURL_UNCONST an ech string for my old wolfssl version
+
+Closes #22689
+
+CVE: CVE-2026-82208
+Upstream-Status: Backport [https://github.com/curl/curl/commit/ed0338befd1d865a8ea1fbaa90013a096dedd07a]
+
+Backport Changes:
+- Omitted CURL_UNCONST(b64val) in wolfSSL_SetEchConfigsBase64(). In
+ curl 8.19.0, b64val is already char * from
+ data->set.str[STRING_ECH_CONFIG]; upstream uses const char * from
+ CURL_EASY_STR. The old pointer already matches the wolfSSL argument
+ type, so the ECH call and error handling need no change.
+
+(cherry picked from commit ed0338befd1d865a8ea1fbaa90013a096dedd07a)
+Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
+---
+ lib/vtls/wolfssl.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/lib/vtls/wolfssl.c b/lib/vtls/wolfssl.c
+index 74bd247..fdf33a8 100644
+--- a/lib/vtls/wolfssl.c
++++ b/lib/vtls/wolfssl.c
+@@ -597,9 +597,6 @@ static CURLcode wssl_populate_x509_store(struct Curl_cfilter *cf,
+ bool imported_native_ca = FALSE;
+ bool imported_ca_info_blob = FALSE;
+
+- /* We do not want to do this again, no matter the outcome */
+- wssl->x509_store_setup = TRUE;
+-
+ #ifndef NO_FILESYSTEM
+ /* load native CA certificates */
+ if(ssl_config->native_ca_store) {
+@@ -802,6 +799,9 @@ CURLcode Curl_wssl_setup_x509_store(struct Curl_cfilter *cf,
+ WOLFSSL_X509_STORE *cached_store;
+ bool cache_criteria_met;
+
++ /* We do not want to do this again, no matter the outcome */
++ wssl->x509_store_setup = TRUE;
++
+ /* Consider the X509 store cacheable if it comes exclusively from a CAfile,
+ or no source is provided and we are falling back to wolfSSL's built-in
+ default. */
+--
+2.35.6
diff --git a/meta/recipes-support/curl/curl_8.19.0.bb b/meta/recipes-support/curl/curl_8.19.0.bb
index c2697d6dd8c..4c0ce6beb35 100644
--- a/meta/recipes-support/curl/curl_8.19.0.bb
+++ b/meta/recipes-support/curl/curl_8.19.0.bb
@@ -38,6 +38,7 @@ SRC_URI = "https://curl.se/download/${BP}.tar.xz \
file://CVE-2026-80229.patch \
file://CVE-2026-9546-01.patch \
file://CVE-2026-9546-02.patch \
+ file://CVE-2026-82208.patch \
file://CVE-2026-80230.patch \
"
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 07/17] curl: fix CVE-2026-87864
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
` (5 preceding siblings ...)
2026-11-17 18:20 ` [OE-core][wrynose 06/17] curl: fix CVE-2026-82208 Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 08/17] curl: fix CVE-2026-92388 Yoann Congal
` (9 subsequent siblings)
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
Backport patch to fix CVE-2026-87864.
References:
https://nvd.nist.gov/vuln/detail/CVE-2026-87864
Upstream fix:
https://github.com/curl/curl/commit/3b547de301342b347fb3c6ea6ae797
Tested with ptest:
Before: PASSED: 1006, FAILED: 0, SKIPPED: 0, ABORTED: 0
After: PASSED: 1006, FAILED: 0, SKIPPED: 0, ABORTED: 0
Signed-off-by: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../curl/curl/CVE-2026-87864.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-87864.patch
diff --git a/meta/recipes-support/curl/curl/CVE-2026-87864.patch b/meta/recipes-support/curl/curl/CVE-2026-87864.patch
new file mode 100644
index 00000000000..01efc71c4ae
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2026-87864.patch
@@ -0,0 +1,52 @@
+From ca1b787c594b2f1b2fc7227b75d2166551aca32d Mon Sep 17 00:00:00 2001
+From: Stefan Eissing <stefan@eissing.org>
+Date: Thu, 27 Aug 2026 09:47:53 +0200
+Subject: [PATCH] imap: APPEND CRLF fix
+
+Deny an APPEND operation with CRLF conversion requested as we are unable
+to predict the final upload size and APPEND requires us to announce it
+before starting the upload.
+
+The check for unknown sizes had already been there, but the crlf
+conversion that renders a known size unknown was not accounted for.
+
+Closes #22702
+
+CVE: CVE-2026-87864
+Upstream-Status: Backport [https://github.com/curl/curl/commit/3b547de301342b347fb3c6ea6ae797]
+
+Signed-off-by: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
+---
+ lib/imap.c | 11 ++++++++---
+ 1 file changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/lib/imap.c b/lib/imap.c
+index 0546595f89..f37568fb20 100644
+--- a/lib/imap.c
++++ b/lib/imap.c
+@@ -884,7 +884,6 @@ static CURLcode imap_perform_append(struct Curl_easy *data,
+ result = Curl_creader_set_mime(data, postp);
+ if(result)
+ return result;
+- data->state.infilesize = Curl_creader_client_length(data);
+ }
+ else
+ #endif
+@@ -894,9 +893,15 @@ static CURLcode imap_perform_append(struct Curl_easy *data,
+ return result;
+ }
+
+- /* Check we know the size of the upload */
++ /* Check we know the size of the upload. This takes all readers
++ * into account. Especially crlf conversions which make the size
++ * unpredictable, e.g. -1. */
++ data->state.infilesize = Curl_creader_total_length(data);
+ if(data->state.infilesize < 0) {
+- failf(data, "Cannot APPEND with unknown input file size");
++ if(data->set.crlf)
++ failf(data, "Cannot APPEND with CRLF conversion making size unknown");
++ else
++ failf(data, "Cannot APPEND with unknown input file size");
+ return CURLE_UPLOAD_FAILED;
+ }
+
diff --git a/meta/recipes-support/curl/curl_8.19.0.bb b/meta/recipes-support/curl/curl_8.19.0.bb
index 4c0ce6beb35..b6e05f66e42 100644
--- a/meta/recipes-support/curl/curl_8.19.0.bb
+++ b/meta/recipes-support/curl/curl_8.19.0.bb
@@ -40,6 +40,7 @@ SRC_URI = "https://curl.se/download/${BP}.tar.xz \
file://CVE-2026-9546-02.patch \
file://CVE-2026-82208.patch \
file://CVE-2026-80230.patch \
+ file://CVE-2026-87864.patch \
"
SRC_URI:append:class-nativesdk = " \
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 08/17] curl: fix CVE-2026-92388
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
` (6 preceding siblings ...)
2026-11-17 18:20 ` [OE-core][wrynose 07/17] curl: fix CVE-2026-87864 Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 09/17] curl: fix CVE-2026-92389 Yoann Congal
` (8 subsequent siblings)
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
Backport patch to fix CVE-2026-92388.
References:
https://nvd.nist.gov/vuln/detail/CVE-2026-92388
Upstream fix:
https://github.com/curl/curl/commit/ba8f8a7f27a5c5e19e4ef212
https://github.com/curl/curl/commit/b85acacec9b38442741bb019bc9
Tested with ptest:
Before: PASSED: 1006, FAILED: 0, SKIPPED: 0, ABORTED: 0
After: PASSED: 1006, FAILED: 0, SKIPPED: 0, ABORTED: 0
Signed-off-by: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../curl/curl/CVE-2026-92388-1.patch | 142 ++++++++++++++++++
.../curl/curl/CVE-2026-92388-2.patch | 31 ++++
meta/recipes-support/curl/curl_8.19.0.bb | 2 +
3 files changed, 175 insertions(+)
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-92388-1.patch
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-92388-2.patch
diff --git a/meta/recipes-support/curl/curl/CVE-2026-92388-1.patch b/meta/recipes-support/curl/curl/CVE-2026-92388-1.patch
new file mode 100644
index 00000000000..607b8c9b936
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2026-92388-1.patch
@@ -0,0 +1,142 @@
+From 056e37ce04bd4d599dd014d305963d2194e30026 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Wed, 16 Sep 2026 15:17:37 +0200
+Subject: [PATCH] ftplistparser: no more overwriting set.write_func
+
+The entries in the 'set' struct should remain as set by the application.
+
+Closes #22969
+
+Conflicts Resolved:
+
+lib/ftp-int.h (1 conflict):
+- File does not exist in this branch; struct ftp_wc with its backup
+ member lives in lib/ftp.h instead. Applied the same removal of the
+ backup member to lib/ftp.h.
+
+Assisted-by: kiro:claude-sonnet-5
+
+CVE: CVE-2026-92388
+Upstream-Status: Backport [https://github.com/curl/curl/commit/ba8f8a7f27a5c5e19e4ef212b90b35a93559163e]
+
+Signed-off-by: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
+---
+ lib/cw-out.c | 10 ++++++++--
+ lib/ftp.c | 13 -------------
+ lib/ftp.h | 5 -----
+ lib/ftplistparser.c | 10 ++++++++++
+ lib/ftplistparser.h | 5 +++++
+ 5 files changed, 23 insertions(+), 20 deletions(-)
+
+diff --git a/lib/cw-out.c b/lib/cw-out.c
+index 554c32e84e..2500ea8ab3 100644
+--- a/lib/cw-out.c
++++ b/lib/cw-out.c
+@@ -148,8 +148,14 @@ static void cw_get_writefunc(struct Curl_easy *data, cw_out_type otype,
+ switch(otype) {
+ case CW_OUT_BODY:
+ case CW_OUT_BODY_0LEN:
+- *pwcb = data->set.fwrite_func;
+- *pwcb_data = data->set.out;
++ if(Curl_ftp_listmode(data)) {
++ *pwcb = Curl_ftp_parselist;
++ *pwcb_data = data;
++ }
++ else {
++ *pwcb = data->set.fwrite_func;
++ *pwcb_data = data->set.out;
++ }
+ *pmax_write = CURL_MAX_WRITE_SIZE;
+ /* if we ever want buffering of BODY output, we can set `min_write`
+ * the preferred size. The default should always be to pass data
+diff --git a/lib/ftp.c b/lib/ftp.c
+index 6047759e78..6b13fb6629 100644
+--- a/lib/ftp.c
++++ b/lib/ftp.c
+@@ -3988,15 +3988,6 @@ static CURLcode init_wc_data(struct Curl_easy *data,
+ goto fail;
+ }
+
+- /* backup old write_function */
+- ftpwc->backup.write_function = data->set.fwrite_func;
+- /* parsing write function */
+- data->set.fwrite_func = Curl_ftp_parselist;
+- /* backup old file descriptor */
+- ftpwc->backup.file_descriptor = data->set.out;
+- /* let the writefunc callback know the transfer */
+- data->set.out = data;
+-
+ infof(data, "Wildcard - Parsing started");
+ return CURLE_OK;
+
+@@ -4032,10 +4023,6 @@ static CURLcode wc_statemach(struct Curl_easy *data,
+ /* In this state is LIST response successfully parsed, so lets restore
+ previous WRITEFUNCTION callback and WRITEDATA pointer */
+ struct ftp_wc *ftpwc = wildcard->ftpwc;
+- data->set.fwrite_func = ftpwc->backup.write_function;
+- data->set.out = ftpwc->backup.file_descriptor;
+- ftpwc->backup.write_function = ZERO_NULL;
+- ftpwc->backup.file_descriptor = NULL;
+ wildcard->state = CURLWC_DOWNLOADING;
+
+ if(Curl_ftp_parselist_geterror(ftpwc->parser)) {
+diff --git a/lib/ftp.h b/lib/ftp.h
+index 20b360033e..b1d3706db2 100644
+--- a/lib/ftp.h
++++ b/lib/ftp.h
+@@ -85,11 +85,6 @@ struct ftp_parselist_data; /* defined later in ftplistparser.c */
+
+ struct ftp_wc {
+ struct ftp_parselist_data *parser;
+-
+- struct {
+- curl_write_callback write_function;
+- FILE *file_descriptor;
+- } backup;
+ };
+
+ typedef enum {
+diff --git a/lib/ftplistparser.c b/lib/ftplistparser.c
+index f82895d57a..9c7ad6e9a0 100644
+--- a/lib/ftplistparser.c
++++ b/lib/ftplistparser.c
+@@ -1010,6 +1010,16 @@ static CURLcode parse_winnt(struct Curl_easy *data,
+ return CURLE_OK;
+ }
+
++/* returns TRUE if in wildcard listing mode */
++bool Curl_ftp_listmode(struct Curl_easy *data)
++{
++ if(data->state.wildcardmatch) {
++ struct WildcardData * const wildcard = data->wildcard;
++ return wildcard && (wildcard->state <= CURLWC_MATCHING);
++ }
++ return FALSE;
++}
++
+ size_t Curl_ftp_parselist(char *buffer, size_t size, size_t nmemb,
+ void *connptr)
+ {
+diff --git a/lib/ftplistparser.h b/lib/ftplistparser.h
+index 5d7aa492ba..942e102894 100644
+--- a/lib/ftplistparser.h
++++ b/lib/ftplistparser.h
+@@ -27,6 +27,9 @@
+
+ #ifndef CURL_DISABLE_FTP
+
++/* returns TRUE if in wildcard listing mode */
++bool Curl_ftp_listmode(struct Curl_easy *data);
++
+ /* WRITEFUNCTION callback for parsing LIST responses */
+ size_t Curl_ftp_parselist(char *buffer, size_t size, size_t nmemb,
+ void *connptr);
+@@ -71,6 +74,8 @@ void Curl_wildcard_dtor(struct WildcardData **wcp);
+ struct Curl_easy;
+
+ #else /* CURL_DISABLE_FTP */
++#define Curl_ftp_listmode(x) FALSE
++#define Curl_ftp_parselist ZERO_NULL
+ #define Curl_wildcard_dtor(x)
+ #endif /* !CURL_DISABLE_FTP */
+
diff --git a/meta/recipes-support/curl/curl/CVE-2026-92388-2.patch b/meta/recipes-support/curl/curl/CVE-2026-92388-2.patch
new file mode 100644
index 00000000000..80381035ff1
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2026-92388-2.patch
@@ -0,0 +1,31 @@
+From 5f8207e667910351d7d5883910eac80f5b215b12 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Thu, 17 Sep 2026 14:32:52 +0200
+Subject: [PATCH] ftplistparser: only use the list parser in CURLWC_MATCHING
+ state
+
+Follow-up to ba8f8a7f27a5c5e1
+
+Closes #22985
+
+CVE: CVE-2026-92388
+Upstream-Status: Backport [https://github.com/curl/curl/commit/b85acacec9b38442741bb019bc992e77b5f665d4]
+
+Signed-off-by: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
+---
+ lib/ftplistparser.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/ftplistparser.c b/lib/ftplistparser.c
+index 9c7ad6e9a0..91b24251c9 100644
+--- a/lib/ftplistparser.c
++++ b/lib/ftplistparser.c
+@@ -1015,7 +1015,7 @@ bool Curl_ftp_listmode(struct Curl_easy *data)
+ {
+ if(data->state.wildcardmatch) {
+ struct WildcardData * const wildcard = data->wildcard;
+- return wildcard && (wildcard->state <= CURLWC_MATCHING);
++ return wildcard && (wildcard->state == CURLWC_MATCHING);
+ }
+ return FALSE;
+ }
diff --git a/meta/recipes-support/curl/curl_8.19.0.bb b/meta/recipes-support/curl/curl_8.19.0.bb
index b6e05f66e42..744c5ed0ab1 100644
--- a/meta/recipes-support/curl/curl_8.19.0.bb
+++ b/meta/recipes-support/curl/curl_8.19.0.bb
@@ -41,6 +41,8 @@ SRC_URI = "https://curl.se/download/${BP}.tar.xz \
file://CVE-2026-82208.patch \
file://CVE-2026-80230.patch \
file://CVE-2026-87864.patch \
+ file://CVE-2026-92388-1.patch \
+ file://CVE-2026-92388-2.patch \
"
SRC_URI:append:class-nativesdk = " \
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 09/17] curl: fix CVE-2026-92389
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
` (7 preceding siblings ...)
2026-11-17 18:20 ` [OE-core][wrynose 08/17] curl: fix CVE-2026-92388 Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 10/17] curl: fix CVE-2026-86409 Yoann Congal
` (7 subsequent siblings)
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
Backport patch to fix CVE-2026-92389.
References:
https://nvd.nist.gov/vuln/detail/CVE-2026-92389
Upstream fix:
https://github.com/curl/curl/commit/63dd390fab905a239a97e270
Tested with ptest:
Before: PASSED: 1006, FAILED: 0, SKIPPED: 0, ABORTED: 0
After: PASSED: 1006, FAILED: 0, SKIPPED: 0, ABORTED: 0
Signed-off-by: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../curl/curl/CVE-2026-92389.patch | 53 +++++++++++++++++++
meta/recipes-support/curl/curl_8.19.0.bb | 1 +
2 files changed, 54 insertions(+)
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-92389.patch
diff --git a/meta/recipes-support/curl/curl/CVE-2026-92389.patch b/meta/recipes-support/curl/curl/CVE-2026-92389.patch
new file mode 100644
index 00000000000..012b746e0cb
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2026-92389.patch
@@ -0,0 +1,53 @@
+From f39da43ecdf06680a851ab00f3cace9ce8b90afb Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Wed, 16 Sep 2026 23:46:44 +0200
+Subject: [PATCH] tftp: verify direction in a few places
+
+Closes #22974
+
+CVE: CVE-2026-92389
+Upstream-Status: Backport [https://github.com/curl/curl/commit/63dd390fab905a239a97e270]
+
+Signed-off-by: Adarsh Jagadish Kamini <adarsh.jagadish.kamini@est.tech>
+---
+ lib/tftp.c | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/lib/tftp.c b/lib/tftp.c
+index cc0769bbb3..fca77b71cc 100644
+--- a/lib/tftp.c
++++ b/lib/tftp.c
+@@ -361,6 +361,9 @@ static CURLcode tftp_tx(struct tftp_conn *state, tftp_event_t event)
+ char *bufptr;
+ bool eos;
+
++ if(!data->state.upload)
++ return CURLE_TFTP_ILLEGAL;
++
+ switch(event) {
+
+ case TFTP_EVENT_ACK:
+@@ -768,10 +771,14 @@ static CURLcode tftp_send_first(struct tftp_conn *state,
+ break;
+
+ case TFTP_EVENT_ACK: /* Connected for transmit */
++ if(!data->state.upload)
++ return CURLE_TFTP_ILLEGAL;
+ result = tftp_connect_for_tx(state, event);
+ break;
+
+ case TFTP_EVENT_DATA: /* Connected for receive */
++ if(data->state.upload)
++ return CURLE_TFTP_ILLEGAL;
+ result = tftp_connect_for_rx(state, event);
+ break;
+
+@@ -1074,6 +1081,8 @@ static CURLcode tftp_receive_packet(struct Curl_easy *data,
+
+ switch(state->event) {
+ case TFTP_EVENT_DATA:
++ if(data->state.upload)
++ return CURLE_TFTP_ILLEGAL;
+ /* Do not pass to the client empty or retransmitted packets */
+ if(state->rbytes > 4 &&
+ (NEXT_BLOCKNUM(state->block) == getrpacketblock(&state->rpacket))) {
diff --git a/meta/recipes-support/curl/curl_8.19.0.bb b/meta/recipes-support/curl/curl_8.19.0.bb
index 744c5ed0ab1..8f1caebb973 100644
--- a/meta/recipes-support/curl/curl_8.19.0.bb
+++ b/meta/recipes-support/curl/curl_8.19.0.bb
@@ -43,6 +43,7 @@ SRC_URI = "https://curl.se/download/${BP}.tar.xz \
file://CVE-2026-87864.patch \
file://CVE-2026-92388-1.patch \
file://CVE-2026-92388-2.patch \
+ file://CVE-2026-92389.patch \
"
SRC_URI:append:class-nativesdk = " \
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 10/17] curl: fix CVE-2026-86409
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
` (8 preceding siblings ...)
2026-11-17 18:20 ` [OE-core][wrynose 09/17] curl: fix CVE-2026-92389 Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 11/17] curl: set CVE_STATUS for CVE-2026-19931 Yoann Congal
` (6 subsequent siblings)
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Darsh Kelaiya <dkelaiya@cisco.com>
This patch applies the upstream fix as referenced in [2],
using the commit shown in [1].
Clear CURLAUTH_AWS_SIGV4 when CURLOPT_AWS_SIGV4 is reset to NULL.
Retain the upstream handle-reuse regression in test1978, using the
existing test_setopt() helper.
[1] https://github.com/curl/curl/commit/c3c70440e8d9938c0bb732595751e8aebc614f24
[2] https://curl.se/docs/CVE-2026-86409.html
Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../curl/curl/CVE-2026-86409.patch | 88 +++++++++++++++++++
meta/recipes-support/curl/curl_8.19.0.bb | 1 +
2 files changed, 89 insertions(+)
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-86409.patch
diff --git a/meta/recipes-support/curl/curl/CVE-2026-86409.patch b/meta/recipes-support/curl/curl/CVE-2026-86409.patch
new file mode 100644
index 00000000000..bdfee79dc6a
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2026-86409.patch
@@ -0,0 +1,88 @@
+From 534252a345be58d6d1a79eee697244f27524b7d2 Mon Sep 17 00:00:00 2001
+From: Viktor Szakats <commit@vsz.me>
+Date: Wed, 26 Aug 2026 09:41:03 +0200
+Subject: [PATCH] setopt: make NULL `CURLOPT_AWS_SIGV4` disable aws-sigv4 auth
+
+Disable `CURLAUTH_AWS_SIGV4` when `CURLOPT_AWS_SIGV4` is set to NULL.
+Syncing behavior with `CURLAUTH_HTTPSIG`.
+
+Reported-by: Stanislav Fort
+
+Closes #22681
+
+CVE: CVE-2026-86409
+Upstream-Status: Backport [https://github.com/curl/curl/commit/c3c70440e8d9938c0bb732595751e8aebc614f24]
+
+Backport Changes:
+- Use test_setopt() in lib1978.c instead of easy_setopt(), matching
+ the curl 8.19.0 test harness.
+
+(cherry picked from commit c3c70440e8d9938c0bb732595751e8aebc614f24)
+Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
+---
+ lib/setopt.c | 2 ++
+ tests/data/test1978 | 19 +++++++++++++++++++
+ tests/libtest/lib1978.c | 5 +++++
+ 3 files changed, 26 insertions(+)
+
+diff --git a/lib/setopt.c b/lib/setopt.c
+index 3603912..ae77ae8 100644
+--- a/lib/setopt.c
++++ b/lib/setopt.c
+@@ -1992,6 +1992,8 @@ static CURLcode setopt_cptr(struct Curl_easy *data, CURLoption option,
+ */
+ if(s->str[STRING_AWS_SIGV4])
+ s->httpauth = CURLAUTH_AWS_SIGV4;
++ else
++ s->httpauth &= ~(uint32_t)CURLAUTH_AWS_SIGV4;
+ break;
+ #endif
+ case CURLOPT_REFERER:
+diff --git a/tests/data/test1978 b/tests/data/test1978
+index 3ad4c67..8b6e6af 100644
+--- a/tests/data/test1978
++++ b/tests/data/test1978
+@@ -69,6 +69,25 @@ header-no-value:
+ header-some-no-value:
+ header-some-no-value: value
+
++PUT /%TESTNUMBER/testapi/test HTTP/1.1
++Host: 127.0.0.1:9000
++x-amz-meta-test: test2
++some-other-header: value
++x-amz-meta-test: test1
++duplicate-header: duplicate
++x-amz-meta-test: test3
++X-amz-meta-test2: test2
++x-amz-meta-blah: blah
++x-Amz-meta-test2: test1
++x-amz-Meta-test2: test3
++curr-header-no-colon: value
++next-header-no-colon: value
++duplicate-header: duplicate
++header-no-value:
++header-no-value:
++header-some-no-value:
++header-some-no-value: value
++
+ </protocol>
+ </verify>
+ </testcase>
+diff --git a/tests/libtest/lib1978.c b/tests/libtest/lib1978.c
+index 4f3ef11..d3f5c7d 100644
+--- a/tests/libtest/lib1978.c
++++ b/tests/libtest/lib1978.c
+@@ -91,6 +91,11 @@ static CURLcode test_lib1978(const char *URL)
+ test_setopt(curl, CURLOPT_CONNECT_TO, connect_to);
+
+ result = curl_easy_perform(curl);
++ if(result)
++ goto test_cleanup;
++
++ test_setopt(curl, CURLOPT_AWS_SIGV4, NULL);
++ result = curl_easy_perform(curl);
+
+ test_cleanup:
+
+--
+2.35.6
diff --git a/meta/recipes-support/curl/curl_8.19.0.bb b/meta/recipes-support/curl/curl_8.19.0.bb
index 8f1caebb973..80352a592a5 100644
--- a/meta/recipes-support/curl/curl_8.19.0.bb
+++ b/meta/recipes-support/curl/curl_8.19.0.bb
@@ -44,6 +44,7 @@ SRC_URI = "https://curl.se/download/${BP}.tar.xz \
file://CVE-2026-92388-1.patch \
file://CVE-2026-92388-2.patch \
file://CVE-2026-92389.patch \
+ file://CVE-2026-86409.patch \
"
SRC_URI:append:class-nativesdk = " \
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 11/17] curl: set CVE_STATUS for CVE-2026-19931
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
` (9 preceding siblings ...)
2026-11-17 18:20 ` [OE-core][wrynose 10/17] curl: fix CVE-2026-86409 Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 12/17] curl: fix CVE-2026-18924 Yoann Congal
` (5 subsequent siblings)
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Darsh Kelaiya <dkelaiya@cisco.com>
Analysis:
- The advisory [1] names [2] as its fixed-in commit. It moves
connection maintenance to admin handles, preserving the identity
used by authentication reuse checks.
- Earlier, [4] added Negotiate/NTLM connection reuse checks,
including an SSPI ambient-user check using recent_conn_id.
Later, [5] removed that SSPI check; the other checks remain.
- Curl 8.19.0 predates [4]. Applying [2] alone would not reproduce
the later upstream behavior; a source fix needs backport analysis.
- The advisory describes Negotiate reuse with empty credentials and
lists curl 8.19.0 within the affected range [1].
- On Linux, this requires krb5 and negotiate-auth. Wrynose enables
negotiate-auth but leaves krb5 disabled by default [3].
- Follow the merged GSS-API configuration check in [3]. Set
not-applicable-config if either option is absent; otherwise keep
unpatched while the source backport is deferred.
- Record the CVE as not-applicable-config unless both required
PACKAGECONFIG options are enabled; otherwise retain unpatched status.
The CVE_STATUS decision is conditional, not hardcoded.
Reference:
[1] https://curl.se/docs/CVE-2026-19931.html
[2] https://github.com/curl/curl/commit/7103a93b05bc69ea98ed9d05d02fa9eeba533f2f
[3] https://github.com/openembedded/openembedded-core/commit/93c410c455b92a2b1fe3b77347e57d02f344056b
[4] https://github.com/curl/curl/commit/1a17959fc7a80864c9c9b37097856bdb4a465cf8
[5] https://github.com/curl/curl/commit/1c58877705b172da892cb9c18c5edb572f2d1d73
Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/recipes-support/curl/curl_8.19.0.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-support/curl/curl_8.19.0.bb b/meta/recipes-support/curl/curl_8.19.0.bb
index 80352a592a5..7807780c965 100644
--- a/meta/recipes-support/curl/curl_8.19.0.bb
+++ b/meta/recipes-support/curl/curl_8.19.0.bb
@@ -62,6 +62,7 @@ CVE_STATUS[CVE-2026-9547] = "not-applicable-config: vulnerable libssh backend is
CVE_STATUS[CVE-2026-12064] = "${@bb.utils.contains('PACKAGECONFIG', 'libssh2', 'unpatched', 'not-applicable-config: SCP/SFTP support is not enabled in PACKAGECONFIG', d)}"
CVE_STATUS[CVE-2026-8458] = "${@bb.utils.contains('PACKAGECONFIG', 'krb5 negotiate-auth', 'unpatched', 'not-applicable-config: applicable only with GSS-API-backed Negotiate authentication', d)}"
CVE_STATUS[CVE-2026-82209] = "not-applicable-config: public suffix list support is disabled by the recipe with --without-libpsl"
+CVE_STATUS[CVE-2026-19931] = "${@bb.utils.contains('PACKAGECONFIG', 'krb5 negotiate-auth', 'unpatched', 'not-applicable-config: GSS-API Negotiate is disabled', d)}"
inherit autotools pkgconfig binconfig multilib_header ptest
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 12/17] curl: fix CVE-2026-18924
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
` (10 preceding siblings ...)
2026-11-17 18:20 ` [OE-core][wrynose 11/17] curl: set CVE_STATUS for CVE-2026-19931 Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 13/17] bluez5: fix CVE-2026-19774 Yoann Congal
` (4 subsequent siblings)
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Darsh Kelaiya <dkelaiya@cisco.com>
This patch applies the upstream fix as referenced in [2],
using the commit shown in [1].
Make accepted HTTP/2 push handles inherit their parent's share object.
Use the curl 8.19.0 share setter to retain its locking, reference
counting and shared-cache handling during cleanup.
[1] https://github.com/curl/curl/commit/90325ff0444cbdff368bda5d26d6405a0bb6ee43
[2] https://curl.se/docs/CVE-2026-18924.html
Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../curl/curl/CVE-2026-18924.patch | 57 +++++++++++++++++++
meta/recipes-support/curl/curl_8.19.0.bb | 1 +
2 files changed, 58 insertions(+)
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-18924.patch
diff --git a/meta/recipes-support/curl/curl/CVE-2026-18924.patch b/meta/recipes-support/curl/curl/CVE-2026-18924.patch
new file mode 100644
index 00000000000..5d744138fa6
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2026-18924.patch
@@ -0,0 +1,57 @@
+From 90325ff0444cbdff368bda5d26d6405a0bb6ee43 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Wed, 5 Aug 2026 10:02:53 +0200
+Subject: [PATCH] http2: make server push transfers inherit share from
+ parent
+
+Reported-by: Stephan Zeisberg
+Closes #22488
+
+CVE: CVE-2026-18924
+Upstream-Status: Backport [https://github.com/curl/curl/commit/90325ff0444cbdff368bda5d26d6405a0bb6ee43]
+
+Backport Changes:
+- Use curl_easy_setopt(second, CURLOPT_SHARE, (CURLSH *)data->share)
+ instead of Curl_share_easy_link(), which is absent from curl 8.19.0.
+ The cast satisfies curl's CURLOPT_SHARE type check. The setter
+ locks the share, updates its dirty counter and links shared caches.
+- Retain curl_easy_duphandle() instead of the later curl_easy_init()
+ change in [1], preserving curl 8.19.0's documented push-option
+ inheritance. In 8.19.0, duplication leaves second->share NULL.
+ The share setter increments share->dirty before the push callback.
+ When the pushed transfer joins the multi handle, conncache.c
+ selects data->share->cpool when connection sharing is enabled.
+ Curl_close() drops the use count on rejection or cleanup;
+ curl_share_cleanup() refuses to free a share still in use. The
+ share lifetime fix does not require the later handle-creation
+ change.
+
+[1] https://github.com/curl/curl/commit/fad90b666df98c93ee165341b0c8101c7b10ad7b
+
+(cherry picked from commit 90325ff0444cbdff368bda5d26d6405a0bb6ee43)
+Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
+---
+ lib/http2.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/lib/http2.c b/lib/http2.c
+index e1c5798..ffeb0f4 100644
+--- a/lib/http2.c
++++ b/lib/http2.c
+@@ -46,6 +46,7 @@
+ #include "bufref.h"
+ #include "curlx/dynbuf.h"
+ #include "headers.h"
++#include "curl_share.h"
+
+ #if (NGHTTP2_VERSION_NUM < 0x010c00)
+ #error too old nghttp2 version, upgrade!
+@@ -709,6 +710,8 @@ static struct Curl_easy *h2_duphandle(struct Curl_cfilter *cf,
+ struct h2_stream_ctx *second_stream;
+ http2_data_setup(cf, second, &second_stream);
+ second->state.priority.weight = data->state.priority.weight;
++ if(data->share)
++ (void)curl_easy_setopt(second, CURLOPT_SHARE, (CURLSH *)data->share);
+ }
+ return second;
+ }
diff --git a/meta/recipes-support/curl/curl_8.19.0.bb b/meta/recipes-support/curl/curl_8.19.0.bb
index 7807780c965..734f9c37b69 100644
--- a/meta/recipes-support/curl/curl_8.19.0.bb
+++ b/meta/recipes-support/curl/curl_8.19.0.bb
@@ -38,6 +38,7 @@ SRC_URI = "https://curl.se/download/${BP}.tar.xz \
file://CVE-2026-80229.patch \
file://CVE-2026-9546-01.patch \
file://CVE-2026-9546-02.patch \
+ file://CVE-2026-18924.patch \
file://CVE-2026-82208.patch \
file://CVE-2026-80230.patch \
file://CVE-2026-87864.patch \
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 13/17] bluez5: fix CVE-2026-19774
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
` (11 preceding siblings ...)
2026-11-17 18:20 ` [OE-core][wrynose 12/17] curl: fix CVE-2026-18924 Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 14/17] bluez5: Abort continuing response on fragmented CT replies Yoann Congal
` (3 subsequent siblings)
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Ashishkumar Parmar <asparmar@cisco.com>
This patch applies the upstream BlueZ codec capability storage fix [1]
and its required cache-loading correction [3] to version 5.86. The
public security advisory is referenced in [2]. Both upstream code
changes are preserved without adaptation.
Bound serialization and cache parsing while retaining normal endpoint
restoration and checking the decoded capability buffer length.
[1] https://github.com/bluez/bluez/commit/912f5efb0dd9bb08e408d33371a57182c5678aef
[2] https://www.zerodayinitiative.com/advisories/ZDI-26-589/
[3] https://github.com/bluez/bluez/commit/b7d71e5067856b0daf2f1f73b3fc95483236610e
Signed-off-by: Ashishkumar Parmar <asparmar@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/recipes-connectivity/bluez5/bluez5.inc | 2 +
.../bluez5/bluez5/CVE-2026-19774_p1.patch | 63 +++++++++++++++++++
.../bluez5/bluez5/CVE-2026-19774_p2.patch | 62 ++++++++++++++++++
3 files changed, 127 insertions(+)
create mode 100644 meta/recipes-connectivity/bluez5/bluez5/CVE-2026-19774_p1.patch
create mode 100644 meta/recipes-connectivity/bluez5/bluez5/CVE-2026-19774_p2.patch
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index 75d76cf96de..0783a5c28dc 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -81,6 +81,8 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \
file://0001-avdtp-Return-correct-error-when-SEP-is-inuse.patch \
file://0001-gobex-Fix-ABORT-response-being-discarded.patch \
file://0001-obexd-pbap-Fix-u128_to_string-skipping-data-4.patch \
+ file://CVE-2026-19774_p1.patch \
+ file://CVE-2026-19774_p2.patch \
"
S = "${UNPACKDIR}/bluez-${PV}"
diff --git a/meta/recipes-connectivity/bluez5/bluez5/CVE-2026-19774_p1.patch b/meta/recipes-connectivity/bluez5/bluez5/CVE-2026-19774_p1.patch
new file mode 100644
index 00000000000..5a7d42b522f
--- /dev/null
+++ b/meta/recipes-connectivity/bluez5/bluez5/CVE-2026-19774_p1.patch
@@ -0,0 +1,63 @@
+From d4b922a688f5cd50f31afd663835ff05f294a85b Mon Sep 17 00:00:00 2001
+From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
+Date: Mon, 15 Jun 2026 09:44:11 -0400
+Subject: [PATCH] a2dp: Fix handling of codec capability storage
+
+Codec capability is one byte long (max 255) the storage format is
+02hhx which means each byte ends up as 2 characters so the buffer
+needs to be doubled in order to handle capabilities of that size.
+
+CVE: CVE-2026-19774
+Upstream-Status: Backport [https://github.com/bluez/bluez/commit/912f5efb0dd9bb08e408d33371a57182c5678aef]
+
+Reported-by: p0her (_@p0her_) in TeamH4C working with TrendAI Zero Day Initiative
+Reported-by: Michael Bommarito <michael.bommarito@gmail.com>
+Signed-off-by: Ashishkumar Parmar <asparmar@cisco.com>
+---
+ profiles/audio/a2dp.c | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
+index 7a37003a2..aec54728e 100644
+--- a/profiles/audio/a2dp.c
++++ b/profiles/audio/a2dp.c
+@@ -971,7 +971,7 @@ static void store_remote_sep(void *data, void *user_data)
+ {
+ struct a2dp_remote_sep *sep = data;
+ GKeyFile *key_file = user_data;
+- char seid[4], value[256];
++ char seid[4], value[9 + 512];
+ struct avdtp_service_capability *service = avdtp_get_codec(sep->sep);
+ struct avdtp_media_codec_capability *codec;
+ unsigned int i;
+@@ -2373,7 +2373,7 @@ static void load_remote_sep(struct a2dp_channel *chan, GKeyFile *key_file,
+ uint8_t codec;
+ uint8_t delay_reporting;
+ GSList *l = NULL;
+- char caps[256];
++ char caps[513];
+ uint8_t data[128];
+ int i, size;
+
+@@ -2386,10 +2386,10 @@ static void load_remote_sep(struct a2dp_channel *chan, GKeyFile *key_file,
+ continue;
+
+ /* Try loading with delay_reporting first */
+- if (sscanf(value, "%02hhx:%02hhx:%02hhx:%s", &type, &codec,
++ if (sscanf(value, "%02hhx:%02hhx:%02hhx:%512s", &type, &codec,
+ &delay_reporting, caps) != 4) {
+ /* Try old format */
+- if (sscanf(value, "%02hhx:%02hhx:%s", &type, &codec,
++ if (sscanf(value, "%02hhx:%02hhx:%512s", &type, &codec,
+ caps) != 3) {
+ warn("Unable to load Endpoint: seid %u", rseid);
+ g_free(value);
+@@ -2398,7 +2398,7 @@ static void load_remote_sep(struct a2dp_channel *chan, GKeyFile *key_file,
+ delay_reporting = false;
+ }
+
+- for (i = 0, size = strlen(caps); i < size; i += 2) {
++ for (i = 0, size = strlen(caps); i < size && i >= 2; i += 2) {
+ uint8_t *tmp = data + i / 2;
+
+ if (sscanf(caps + i, "%02hhx", tmp) != 1) {
diff --git a/meta/recipes-connectivity/bluez5/bluez5/CVE-2026-19774_p2.patch b/meta/recipes-connectivity/bluez5/bluez5/CVE-2026-19774_p2.patch
new file mode 100644
index 00000000000..88dcd66c3ee
--- /dev/null
+++ b/meta/recipes-connectivity/bluez5/bluez5/CVE-2026-19774_p2.patch
@@ -0,0 +1,62 @@
+From 1bbcccb35c946e079074e64c217c81089442a568 Mon Sep 17 00:00:00 2001
+From: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
+Date: Fri, 10 Jul 2026 12:28:17 +0500
+Subject: [PATCH] a2dp: Fix loading of remote SEP from cache
+
+Commit 912f5efb0dd9 ("a2dp: Fix handling of codec capability storage")
+added an 'i >= 2' condition to the loop that parses the stored codec
+capabilities. Since i starts at 0 the loop body never runs, i stays 0,
+and the subsequent 'if (i != size)' check discards every endpoint found
+in the cache:
+
+ load_remote_sep() Unable to load LastUsed: rseid 6 not found
+
+With no remote SEP loaded, avdtp_discover() can no longer take the
+cached path and issues AVDTP Discover/Get All Capabilities on every
+reconnect, and a2dp_setup_remote_path() returns NULL so the transport
+ends up at /org/bluez/hciX/dev_YY/fd0 instead of .../sepN/fd0.
+
+The condition was presumably meant to bound the writes into data[128],
+which the original commit did not actually fix: caps is read with
+'%512s' so size / 2 can be up to 256. Validate size up front instead.
+
+CVE: CVE-2026-19774
+Upstream-Status: Backport [https://github.com/bluez/bluez/commit/b7d71e5067856b0daf2f1f73b3fc95483236610e]
+
+Fixes: https://github.com/bluez/bluez/issues/2285
+Signed-off-by: Ashishkumar Parmar <asparmar@cisco.com>
+---
+ profiles/audio/a2dp.c | 13 ++++++++++---
+ 1 file changed, 10 insertions(+), 3 deletions(-)
+
+diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
+index aec54728e..93cf11fe1 100644
+--- a/profiles/audio/a2dp.c
++++ b/profiles/audio/a2dp.c
+@@ -2398,7 +2398,16 @@ static void load_remote_sep(struct a2dp_channel *chan, GKeyFile *key_file,
+ delay_reporting = false;
+ }
+
+- for (i = 0, size = strlen(caps); i < size && i >= 2; i += 2) {
++ size = strlen(caps);
++
++ g_free(value);
++
++ if (size % 2 || size / 2 > (int) sizeof(data)) {
++ warn("Unable to load Endpoint: seid %u", rseid);
++ continue;
++ }
++
++ for (i = 0; i < size; i += 2) {
+ uint8_t *tmp = data + i / 2;
+
+ if (sscanf(caps + i, "%02hhx", tmp) != 1) {
+@@ -2407,8 +2416,6 @@ static void load_remote_sep(struct a2dp_channel *chan, GKeyFile *key_file,
+ }
+ }
+
+- g_free(value);
+-
+ if (i != size)
+ continue;
+
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 14/17] bluez5: Abort continuing response on fragmented CT replies
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
` (12 preceding siblings ...)
2026-11-17 18:20 ` [OE-core][wrynose 13/17] bluez5: fix CVE-2026-19774 Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 15/17] spdx30_tasks: Fix duplicated revision in Git PURLs Yoann Congal
` (2 subsequent siblings)
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Shuai Zhang <shuai.zhang@oss.qualcomm.com>
Send AbortContinuingResponse when a Get Element Attributes reply
arrives fragmented, as the CT side does not reassemble fragments.
Backport upstream bluez commit 249e2bedf ("avrcp: Abort continuing
response on fragmented CT replies") to bluez 5.86.
Fixes PTS test AVRCP/CT/RCR/BV-03-C.
Signed-off-by: Shuai Zhang <shuai.zhang@oss.qualcomm.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/recipes-connectivity/bluez5/bluez5.inc | 1 +
...inuing-response-on-fragmented-CT-rep.patch | 62 +++++++++++++++++++
2 files changed, 63 insertions(+)
create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0001-avrcp-Abort-continuing-response-on-fragmented-CT-rep.patch
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index 0783a5c28dc..7583b34fa6c 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -83,6 +83,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \
file://0001-obexd-pbap-Fix-u128_to_string-skipping-data-4.patch \
file://CVE-2026-19774_p1.patch \
file://CVE-2026-19774_p2.patch \
+ file://0001-avrcp-Abort-continuing-response-on-fragmented-CT-rep.patch \
"
S = "${UNPACKDIR}/bluez-${PV}"
diff --git a/meta/recipes-connectivity/bluez5/bluez5/0001-avrcp-Abort-continuing-response-on-fragmented-CT-rep.patch b/meta/recipes-connectivity/bluez5/bluez5/0001-avrcp-Abort-continuing-response-on-fragmented-CT-rep.patch
new file mode 100644
index 00000000000..68f824deefd
--- /dev/null
+++ b/meta/recipes-connectivity/bluez5/bluez5/0001-avrcp-Abort-continuing-response-on-fragmented-CT-rep.patch
@@ -0,0 +1,62 @@
+From 41a00c93baa48cbd63b182b853e93a946962cada Mon Sep 17 00:00:00 2001
+From: Simon Mikuda <simon.mikuda@streamunlimited.com>
+Date: Tue, 9 Jun 2026 23:26:56 +0200
+Subject: [PATCH] avrcp: Abort continuing response on fragmented CT replies
+
+Send AbortContinuingResponse when a Get Element Attributes reply
+arrives fragmented, as the CT side does not reassemble fragments.
+
+Fixes PTS test AVRCP/CT/RCR/BV-03-C
+
+Upstream-Status: Backport [https://github.com/bluez/bluez/commit/249e2bedfacf51fc6c89f43a0adb9a12d761c2b7]
+Signed-off-by: Shuai Zhang <shuai.zhang@oss.qualcomm.com>
+---
+ profiles/audio/avrcp.c | 25 +++++++++++++++++++++++++
+ 1 file changed, 25 insertions(+)
+
+diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
+index 326dfda..557ed97 100644
+--- a/profiles/audio/avrcp.c
++++ b/profiles/audio/avrcp.c
+@@ -2466,6 +2466,24 @@ static void avrcp_parse_attribute_list(struct avrcp_player *player,
+ }
+ }
+
++static void avrcp_abort_continuing(struct avrcp *session, uint8_t pdu_id)
++{
++ uint8_t buf[AVRCP_HEADER_LENGTH + 1];
++ struct avrcp_header *pdu = (void *) buf;
++
++ memset(buf, 0, sizeof(buf));
++
++ set_company_id(pdu->company_id, IEEEID_BTSIG);
++ pdu->pdu_id = AVRCP_ABORT_CONTINUING;
++ pdu->packet_type = AVRCP_PACKET_TYPE_SINGLE;
++ pdu->params_len = cpu_to_be16(1);
++ pdu->params[0] = pdu_id;
++
++ avctp_send_vendordep_req(session->conn, AVC_CTYPE_CONTROL,
++ AVC_SUBUNIT_PANEL, buf, sizeof(buf),
++ NULL, session);
++}
++
+ static gboolean avrcp_get_element_attributes_rsp(struct avctp *conn,
+ uint8_t code, uint8_t subunit,
+ uint8_t transaction,
+@@ -2483,6 +2501,13 @@ static gboolean avrcp_get_element_attributes_rsp(struct avctp *conn,
+ if (code == AVC_CTYPE_REJECTED)
+ return FALSE;
+
++ /* Abort fragmented responses as reassembly is not supported */
++ if (pdu->packet_type == AVRCP_PACKET_TYPE_START ||
++ pdu->packet_type == AVRCP_PACKET_TYPE_CONTINUING) {
++ avrcp_abort_continuing(session, AVRCP_GET_ELEMENT_ATTRIBUTES);
++ return FALSE;
++ }
++
+ count = pdu->params[0];
+
+ if (be16_to_cpu(pdu->params_len) - 1 < count * 8) {
+--
+2.34.1
+
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 15/17] spdx30_tasks: Fix duplicated revision in Git PURLs
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
` (13 preceding siblings ...)
2026-11-17 18:20 ` [OE-core][wrynose 14/17] bluez5: Abort continuing response on fragmented CT replies Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 16/17] perl-cross: add patches for perl-5.42.3 Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 17/17] perl: upgrade 5.42.0 -> 5.42.3 Yoann Congal
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: KAZUYOSHI AKIYAMA (秋山 和慶) <kazuyoshi_akiyama@jp.honda>
_generate_git_purl() generates invalid PURLs of the form
`pkg:github/<owner>/<repo>@<rev>@<rev>`.
purl-spec only allows a single `@<rev>`.
oe.spdx_common.fetch_data_to_uri() already appends "@<rev>" to the
download location, and urlparse() leaves that suffix in parsed.path.
Therefore, the parsed repository name(`{repo}`) includes `@<rev>`.
So, need to strip the revision suffix before splitting out
the owner(`{owner}`) and the repository name(`{repo}`).
While here, replace str.replace(".git", "") with str.removesuffix() so
repository names that contain ".git" elsewhere are preserved.
Signed-off-by: Kazuyoshi Akiyama <kazuyoshi_akiyama@jp.honda>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e31479ddbaf58d5c2eda2b0051e1a821d46e6f7c)
Signed-off-by: Stefano Tondo <stefano.tondo.ext@siemens.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/lib/oe/spdx30_tasks.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oe/spdx30_tasks.py b/meta/lib/oe/spdx30_tasks.py
index 862e57c3d12..62fc41f51a0 100644
--- a/meta/lib/oe/spdx30_tasks.py
+++ b/meta/lib/oe/spdx30_tasks.py
@@ -425,11 +425,14 @@ def _generate_git_purl(d, download_location, srcrev):
for domain, purl_type in git_purl_handlers.items():
if hostname == domain:
- path = parsed.path.strip('/')
+ # oe.spdx_common.fetch_data_to_uri() appends "@<rev>" to the
+ # download location, which must not become part of the
+ # repository name
+ path = parsed.path.strip('/').partition('@')[0]
path_parts = path.split('/')
if len(path_parts) >= 2:
owner = path_parts[0]
- repo = path_parts[1].replace('.git', '')
+ repo = path_parts[1].removesuffix('.git')
return f"{purl_type}/{owner}/{repo}@{srcrev}"
break
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 16/17] perl-cross: add patches for perl-5.42.3
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
` (14 preceding siblings ...)
2026-11-17 18:20 ` [OE-core][wrynose 15/17] spdx30_tasks: Fix duplicated revision in Git PURLs Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 17/17] perl: upgrade 5.42.0 -> 5.42.3 Yoann Congal
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
perl-cross 1.6.4 has no patchset for the 5.42.3 point release and aborts
configure on unknown versions. Reuse the 5.42.0 patchset, as its
cnf/diffs/README advises ("Copy the closest available version").
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
...rl-cross-add-patches-for-perl-5.42.3.patch | 114 ++++++++++++++++++
.../perl-cross/perlcross_1.6.4.bb | 1 +
2 files changed, 115 insertions(+)
create mode 100644 meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-patches-for-perl-5.42.3.patch
diff --git a/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-patches-for-perl-5.42.3.patch b/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-patches-for-perl-5.42.3.patch
new file mode 100644
index 00000000000..5b823d593c9
--- /dev/null
+++ b/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-patches-for-perl-5.42.3.patch
@@ -0,0 +1,114 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
+Date: Thu, 5 Nov 2026 14:00:00 +0000
+Subject: [PATCH] perl-cross: add patches for perl-5.42.3
+
+Reuse the perl 5.42.0 patchset for the 5.42.3 point release. Following the
+cnf/diffs convention, every entry is a symlink to an existing patchset so
+no original code is added.
+
+Upstream-Status: Inappropriate [oe-specific; perl-cross goes 5.42.0 -> 5.44.0]
+Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
+---
+ cnf/diffs/perl5-5.42.3/constant.patch | 1 +
+ cnf/diffs/perl5-5.42.3/dynaloader.patch | 1 +
+ cnf/diffs/perl5-5.42.3/findext.patch | 1 +
+ cnf/diffs/perl5-5.42.3/installscripts.patch | 1 +
+ cnf/diffs/perl5-5.42.3/liblist.patch | 1 +
+ cnf/diffs/perl5-5.42.3/makemaker.patch | 1 +
+ cnf/diffs/perl5-5.42.3/posix-makefile.patch | 1 +
+ cnf/diffs/perl5-5.42.3/test-checkcase.patch | 1 +
+ cnf/diffs/perl5-5.42.3/test-makemaker.patch | 1 +
+ cnf/diffs/perl5-5.42.3/xconfig.patch | 1 +
+ 10 files changed, 10 insertions(+)
+ create mode 120000 cnf/diffs/perl5-5.42.3/constant.patch
+ create mode 120000 cnf/diffs/perl5-5.42.3/dynaloader.patch
+ create mode 120000 cnf/diffs/perl5-5.42.3/findext.patch
+ create mode 120000 cnf/diffs/perl5-5.42.3/installscripts.patch
+ create mode 120000 cnf/diffs/perl5-5.42.3/liblist.patch
+ create mode 120000 cnf/diffs/perl5-5.42.3/makemaker.patch
+ create mode 120000 cnf/diffs/perl5-5.42.3/posix-makefile.patch
+ create mode 120000 cnf/diffs/perl5-5.42.3/test-checkcase.patch
+ create mode 120000 cnf/diffs/perl5-5.42.3/test-makemaker.patch
+ create mode 120000 cnf/diffs/perl5-5.42.3/xconfig.patch
+
+diff --git a/cnf/diffs/perl5-5.42.3/constant.patch b/cnf/diffs/perl5-5.42.3/constant.patch
+new file mode 120000
+index 0000000..065e198
+--- /dev/null
++++ b/cnf/diffs/perl5-5.42.3/constant.patch
+@@ -0,0 +1 @@
++../perl5-5.22.3/constant.patch
+\ No newline at end of file
+diff --git a/cnf/diffs/perl5-5.42.3/dynaloader.patch b/cnf/diffs/perl5-5.42.3/dynaloader.patch
+new file mode 120000
+index 0000000..ffb73eb
+--- /dev/null
++++ b/cnf/diffs/perl5-5.42.3/dynaloader.patch
+@@ -0,0 +1 @@
++../perl5-5.22.3/dynaloader.patch
+\ No newline at end of file
+diff --git a/cnf/diffs/perl5-5.42.3/findext.patch b/cnf/diffs/perl5-5.42.3/findext.patch
+new file mode 120000
+index 0000000..9efbe5b
+--- /dev/null
++++ b/cnf/diffs/perl5-5.42.3/findext.patch
+@@ -0,0 +1 @@
++../perl5-5.22.3/findext.patch
+\ No newline at end of file
+diff --git a/cnf/diffs/perl5-5.42.3/installscripts.patch b/cnf/diffs/perl5-5.42.3/installscripts.patch
+new file mode 120000
+index 0000000..1c05e0f
+--- /dev/null
++++ b/cnf/diffs/perl5-5.42.3/installscripts.patch
+@@ -0,0 +1 @@
++../perl5-5.36.0/installscripts.patch
+\ No newline at end of file
+diff --git a/cnf/diffs/perl5-5.42.3/liblist.patch b/cnf/diffs/perl5-5.42.3/liblist.patch
+new file mode 120000
+index 0000000..5037380
+--- /dev/null
++++ b/cnf/diffs/perl5-5.42.3/liblist.patch
+@@ -0,0 +1 @@
++../perl5-5.42.0/liblist.patch
+\ No newline at end of file
+diff --git a/cnf/diffs/perl5-5.42.3/makemaker.patch b/cnf/diffs/perl5-5.42.3/makemaker.patch
+new file mode 120000
+index 0000000..d7bd609
+--- /dev/null
++++ b/cnf/diffs/perl5-5.42.3/makemaker.patch
+@@ -0,0 +1 @@
++../perl5-5.38.0/makemaker.patch
+\ No newline at end of file
+diff --git a/cnf/diffs/perl5-5.42.3/posix-makefile.patch b/cnf/diffs/perl5-5.42.3/posix-makefile.patch
+new file mode 120000
+index 0000000..29463b7
+--- /dev/null
++++ b/cnf/diffs/perl5-5.42.3/posix-makefile.patch
+@@ -0,0 +1 @@
++../perl5-5.22.3/posix-makefile.patch
+\ No newline at end of file
+diff --git a/cnf/diffs/perl5-5.42.3/test-checkcase.patch b/cnf/diffs/perl5-5.42.3/test-checkcase.patch
+new file mode 120000
+index 0000000..36c5186
+--- /dev/null
++++ b/cnf/diffs/perl5-5.42.3/test-checkcase.patch
+@@ -0,0 +1 @@
++../perl5-5.22.3/test-checkcase.patch
+\ No newline at end of file
+diff --git a/cnf/diffs/perl5-5.42.3/test-makemaker.patch b/cnf/diffs/perl5-5.42.3/test-makemaker.patch
+new file mode 120000
+index 0000000..4e970ff
+--- /dev/null
++++ b/cnf/diffs/perl5-5.42.3/test-makemaker.patch
+@@ -0,0 +1 @@
++../perl5-5.34.0/test-makemaker.patch
+\ No newline at end of file
+diff --git a/cnf/diffs/perl5-5.42.3/xconfig.patch b/cnf/diffs/perl5-5.42.3/xconfig.patch
+new file mode 120000
+index 0000000..87ac501
+--- /dev/null
++++ b/cnf/diffs/perl5-5.42.3/xconfig.patch
+@@ -0,0 +1 @@
++../perl5-5.42.0/xconfig.patch
+\ No newline at end of file
diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.6.4.bb b/meta/recipes-devtools/perl-cross/perlcross_1.6.4.bb
index 3c544c97464..584c08defae 100644
--- a/meta/recipes-devtools/perl-cross/perlcross_1.6.4.bb
+++ b/meta/recipes-devtools/perl-cross/perlcross_1.6.4.bb
@@ -15,6 +15,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-c
file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
file://determinism.patch \
file://0001-Makefile-check-the-file-if-patched-or-not.patch \
+ file://0001-perl-cross-add-patches-for-perl-5.42.3.patch \
"
GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/"
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [OE-core][wrynose 17/17] perl: upgrade 5.42.0 -> 5.42.3
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
` (15 preceding siblings ...)
2026-11-17 18:20 ` [OE-core][wrynose 16/17] perl-cross: add patches for perl-5.42.3 Yoann Congal
@ 2026-11-17 18:20 ` Yoann Congal
16 siblings, 0 replies; 20+ messages in thread
From: Yoann Congal @ 2026-11-17 18:20 UTC (permalink / raw)
To: openembedded-core
From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
ReleaseInfo: https://perldoc.perl.org/5.42.3/perl5423delta
- CVE-2026-8376: buffer overflow in Perl_study_chunk (regcomp_study.c)
from checking substring buffer size in characters instead of bytes
- CVE-2026-57432: buffer overflow in S_measure_struct via pack/unpack
on an oversized structure
- CVE-2026-13221: regex trie 16-bit field overflow with >~65k
alternation branches
- CVE-2026-57433: Storable.xs signed int overflow unpacking hook data
- Archive::Tar bumped 3.04 -> 3.12, including symlink/hardlink path
traversal fix (CVE-2026-42496)
All of the above are fixed upstream in 5.42.3, so the local CVE backport
patches are dropped.
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../perl/files/CVE-2026-13221.patch | 75 --------------
.../perl/files/CVE-2026-42496.patch | 99 -------------------
.../perl/files/CVE-2026-57432-01.patch | 52 ----------
.../perl/files/CVE-2026-57432-02.patch | 34 -------
.../perl/files/CVE-2026-57433.patch | 32 ------
.../perl/files/CVE-2026-8376-01.patch | 62 ------------
.../perl/files/CVE-2026-8376-02.patch | 49 ---------
.../perl/{perl_5.42.0.bb => perl_5.42.3.bb} | 9 +-
8 files changed, 1 insertion(+), 411 deletions(-)
delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-13221.patch
delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-42496.patch
delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-57432-01.patch
delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-57432-02.patch
delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-57433.patch
delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-8376-01.patch
delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-8376-02.patch
rename meta/recipes-devtools/perl/{perl_5.42.0.bb => perl_5.42.3.bb} (98%)
diff --git a/meta/recipes-devtools/perl/files/CVE-2026-13221.patch b/meta/recipes-devtools/perl/files/CVE-2026-13221.patch
deleted file mode 100644
index 03396f3e434..00000000000
--- a/meta/recipes-devtools/perl/files/CVE-2026-13221.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-From 03f74bbbd3a68350d926ee93d56ee4808c28c4c7 Mon Sep 17 00:00:00 2001
-From: Karl Williamson <khw@cpan.org>
-Date: Thu, 26 Mar 2026 10:13:49 -0600
-Subject: [PATCH] regcomp_study: Don't create a trie that would overflow
-
-This addresses GH #23388
-
-The design of the trie compiling code is to batch extra long tries into
-smaller chunks that fit into whatever limitations there are. However,
-this ticket shows that that isn't always being done.
-
-In this case, a bunch of branches that have TAIL operands can be
-combined together, and the final TAIL is used. And the code requires
-that the delta between the first branch and this final TAIL fit into a
-16-bit field. That is the root cause of this bug.
-
-I'm not familiar enough with the trie construction code to easily
-understand why the final tail needs to be used here. So this patch
-simply doesn't optimize a sequence of branches into a trie that would
-overflow.
-
-This could be revisited by someone who knows more about this than I, or
-earlier in the development cycle.
-
-CVE: CVE-2026-13221
-Upstream-Status: Backport [https://github.com/Perl/perl5/commit/03f74bbbd3a68350d926ee93d56ee4808c28c4c7]
-Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
----
- regcomp_study.c | 10 ++++++++++
- t/re/pat_advanced.t | 9 +++++++++
- 2 files changed, 19 insertions(+)
-
-diff --git a/regcomp_study.c b/regcomp_study.c
-index db7ab3a409..a1b2c3d4e5 100644
---- a/regcomp_study.c
-+++ b/regcomp_study.c
-@@ -1933,6 +1933,16 @@ Perl_study_chunk(pTHX_
- tail = regnext( tail );
- }
-
-+ /* The code below currently saves the difference from
-+ * start to finish in a 16-bit field, causing
-+ * GH #23388. This defeats the design of batching
-+ * tries into chunks that each fit. khw thinks it is
-+ * too late in the 5.44 cycle to relook at the design,
-+ * so for now anyway, don't make a trie that would
-+ * overflow */
-+ if (tail - startbranch >= U16_MAX) {
-+ continue;
-+ }
-
- DEBUG_TRIE_COMPILE_r({
- regprop(RExC_rx, RExC_mysv, tail, NULL, pRExC_state);
-diff --git a/t/re/pat_advanced.t b/t/re/pat_advanced.t
-index 398680838d..c9e389ecb3 100644
---- a/t/re/pat_advanced.t
-+++ b/t/re/pat_advanced.t
-@@ -4898,6 +4898,15 @@ EOF_DEBUG_OUT
- $x =~ s/^[\x{0301}\x{030C}]+//;
- }
-
-+ { # GH #23388
-+ fresh_perl_is(<<~'PROG', , "", {}, "Avoid trie overflow");
-+ my $x = join "|", "aaa".."mzz";
-+ my $y = join "|", "naa".."zzz";
-+ use re 'Debug';
-+ "fnord" =~ m/(?:$x)|(?:$y)/;
-+ PROG
-+ }
-+
-
- # !!! NOTE that tests that aren't at all likely to crash perl should go
- # a ways above, above these last ones. There's a comment there that, like
---
-2.43.0
diff --git a/meta/recipes-devtools/perl/files/CVE-2026-42496.patch b/meta/recipes-devtools/perl/files/CVE-2026-42496.patch
deleted file mode 100644
index ae370340cf5..00000000000
--- a/meta/recipes-devtools/perl/files/CVE-2026-42496.patch
+++ /dev/null
@@ -1,99 +0,0 @@
-From edde2083c6e93e42b979068af5529710b5e2a7ab Mon Sep 17 00:00:00 2001
-From: Stig Palmquist <stig@stig.io>
-Date: Thu, 21 May 2026 19:59:21 +0100
-Subject: [PATCH] Validate symlink and hardlink linkname in SECURE MODE
-
-Archive::Tar before 3.08 passes the tar header's linkname directly to
-symlink()/link() in _make_special_file() without validating absolute
-paths or '..' segments. This allows a crafted tar archive to create
-symlinks or hardlinks targeting paths outside the extraction directory,
-leading to arbitrary file read/write.
-
-Add validation in SECURE EXTRACT MODE (the default) to reject:
-- Symlink/hardlink targets with absolute paths
-- Symlink/hardlink targets containing '..' path traversal
-
-Adjusted patch paths from upstream Archive::Tar standalone repository
-(lib/Archive/Tar.pm) to match perl5 source tree layout
-(cpan/Archive-Tar/lib/Archive/Tar.pm).
-
-Upstream-Status: Backport [https://github.com/jib/archive-tar-new/commit/17c873492a05eddc0de18c1485e0b2cccd5a9158]
-
-CVE: CVE-2026-42496
-CVE: CVE-2026-42497
-
-Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
-Signed-off-by: Abhishek Bachiphale <Abhishek.Bachiphale@windriver.com>
----
- cpan/Archive-Tar/lib/Archive/Tar.pm | 30 +++++++++++++++++++++++++
- cpan/Archive-Tar/t/04_resolved_issues.t | 2 ++
- 2 files changed, 32 insertions(+)
-
-diff --git a/cpan/Archive-Tar/lib/Archive/Tar.pm b/cpan/Archive-Tar/lib/Archive/Tar.pm
-index 2df0931..733feef 100644
---- a/cpan/Archive-Tar/lib/Archive/Tar.pm
-+++ b/cpan/Archive-Tar/lib/Archive/Tar.pm
-@@ -954,6 +954,19 @@ sub _make_special_file {
- my $err;
-
- if( $entry->is_symlink ) {
-+ if( !$INSECURE_EXTRACT_MODE ) {
-+ my $linkname = $entry->linkname;
-+ if( File::Spec->file_name_is_absolute($linkname) ) {
-+ $self->_error( qq[Symlink '] . $entry->full_path .
-+ qq[' has absolute target. Not extracting under SECURE EXTRACT MODE] );
-+ return;
-+ }
-+ if( grep { $_ eq '..' } File::Spec->splitdir($linkname) ) {
-+ $self->_error( qq[Symlink '] . $entry->full_path .
-+ qq[' target attempts traversal. Not extracting under SECURE EXTRACT MODE] );
-+ return;
-+ }
-+ }
- my $fail;
- if( ON_UNIX ) {
- symlink( $entry->linkname, $file ) or $fail++;
-@@ -967,6 +980,23 @@ sub _make_special_file {
- $entry->linkname .q[' failed] if $fail;
-
- } elsif ( $entry->is_hardlink ) {
-+ if( !$INSECURE_EXTRACT_MODE ) {
-+ my $linkname = $entry->linkname;
-+ if( File::Spec->file_name_is_absolute($linkname) ) {
-+ $self->_error( qq[Hardlink '] . $entry->full_path .
-+ qq[' has absolute target '$linkname'. Not extracting ] .
-+ qq[under SECURE EXTRACT MODE: extraction itself chmods ] .
-+ qq[the shared inode.] );
-+ return;
-+ }
-+ if( grep { $_ eq '..' } File::Spec->splitdir($linkname) ) {
-+ $self->_error( qq[Hardlink '] . $entry->full_path .
-+ qq[' target '$linkname' attempts traversal. Not ] .
-+ qq[extracting under SECURE EXTRACT MODE: extraction ] .
-+ qq[itself chmods the shared inode.] );
-+ return;
-+ }
-+ }
- my $fail;
- if( ON_UNIX ) {
- link( $entry->linkname, $file ) or $fail++;
-diff --git a/cpan/Archive-Tar/t/04_resolved_issues.t b/cpan/Archive-Tar/t/04_resolved_issues.t
-index b3566a1..08d339a 100644
---- a/cpan/Archive-Tar/t/04_resolved_issues.t
-+++ b/cpan/Archive-Tar/t/04_resolved_issues.t
-@@ -220,6 +220,7 @@ if ($^O ne 'msys') # symlink tests fail on Windows/msys2
- }
-
- { #use case 1 - in memory extraction
-+ local $Archive::Tar::INSECURE_EXTRACT_MODE=1;
- my $t=Archive::Tar->new;
- $t->read( $archname );
- my $r = eval{ $t->extract };
-@@ -231,6 +232,7 @@ if ($^O ne 'msys') # symlink tests fail on Windows/msys2
-
- { #use case 2 - iter extraction
- #$DB::single = 2;
-+ local $Archive::Tar::INSECURE_EXTRACT_MODE=1;
- my $next=Archive::Tar->iter( $archname, 1 );
- my $failed = 0;
- #use Data::Dumper;
diff --git a/meta/recipes-devtools/perl/files/CVE-2026-57432-01.patch b/meta/recipes-devtools/perl/files/CVE-2026-57432-01.patch
deleted file mode 100644
index ef92b0d7b21..00000000000
--- a/meta/recipes-devtools/perl/files/CVE-2026-57432-01.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 5f7eb6bbbe0510964e3fb1d6bb691e5445913e55 Mon Sep 17 00:00:00 2001
-From: "Paul \"LeoNerd\" Evans" <leonerd@leonerd.org.uk>
-Date: Sat, 9 May 2026 17:18:43 +0100
-Subject: [PATCH] pp_pack.c: Avoid ssize_t overflow when calculating the size
- of a structure
-
-If the user has requested a size that would overflow a SSize_t, then the
-only sensible thing to do is throw an exception, because the structure
-this implies couldn't possibly fit into memory anyway.
-
-CVE: CVE-2026-57432
-Upstream-Status: Backport [https://github.com/Perl/perl5/commit/5f7eb6bbbe0510964e3fb1d6bb691e5445913e55]
-Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
----
- pod/perldiag.pod | 6 ++++++
- pp_pack.c | 4 ++++
- 2 files changed, 10 insertions(+)
-
-diff --git a/pod/perldiag.pod b/pod/perldiag.pod
-index 841e22d580..d9231077363d 100644
---- a/pod/perldiag.pod
-+++ b/pod/perldiag.pod
-@@ -4880,6 +4880,12 @@ mixed-case attribute name, instead. See L<attributes>.
- (F) You can't specify a repeat count so large that it overflows your
- signed integers. See L<perlfunc/pack>.
-
-+=item Pack template structure size is too large
-+
-+(F) You called C<pack> or C<unpack> to operate on a structure, whose
-+computed size is too large to fit in memory. This usually happens as a
-+result of embedding a large number as the repeat count for an item.
-+
- =item page overflow
-
- (W io) A single call to write() produced more lines than can fit on a
-diff --git a/pp_pack.c b/pp_pack.c
-index b5c0b261ef..6075e83aac 100644
---- a/pp_pack.c
-+++ b/pp_pack.c
-@@ -528,6 +528,10 @@ S_measure_struct(pTHX_ tempsym_t* symptr)
- break;
- }
- }
-+ if ((size > 0) &&
-+ ((len > SSize_t_MAX / size) || /* detect overflow of len * size */
-+ (len * size > SSize_t_MAX - total))) /* detect overflow of total + len * size */
-+ croak("Pack template structure size is too large");
- total += len * size;
- }
- return total;
---
-2.43.0
diff --git a/meta/recipes-devtools/perl/files/CVE-2026-57432-02.patch b/meta/recipes-devtools/perl/files/CVE-2026-57432-02.patch
deleted file mode 100644
index 273a247a88f..00000000000
--- a/meta/recipes-devtools/perl/files/CVE-2026-57432-02.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 40754edc72dd3e513d758153c0e2f0215897740e Mon Sep 17 00:00:00 2001
-From: "Paul \"LeoNerd\" Evans" <leonerd@leonerd.org.uk>
-Date: Mon, 11 May 2026 12:25:33 +0100
-Subject: [PATCH] pp_pack.c: Avoid some other potential overflows when
- calculating sizes
-
-CVE: CVE-2026-57432
-Upstream-Status: Backport [https://github.com/Perl/perl5/commit/40754edc72dd3e513d758153c0e2f0215897740e]
-Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
----
- pp_pack.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/pp_pack.c b/pp_pack.c
-index 6075e83aac..b2019902203a 100644
---- a/pp_pack.c
-+++ b/pp_pack.c
-@@ -515,12 +515,12 @@ S_measure_struct(pTHX_ tempsym_t* symptr)
- break;
- case 'B':
- case 'b':
-- len = (len + 7)/8;
-+ len = (len / 8) + !!(len % 8);
- size = 1;
- break;
- case 'H':
- case 'h':
-- len = (len + 1)/2;
-+ len = (len / 2) + !!(len % 2);
- size = 1;
- break;
-
---
-2.43.0
diff --git a/meta/recipes-devtools/perl/files/CVE-2026-57433.patch b/meta/recipes-devtools/perl/files/CVE-2026-57433.patch
deleted file mode 100644
index f0ea08b1fe0..00000000000
--- a/meta/recipes-devtools/perl/files/CVE-2026-57433.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From e4f681784bcdeaa91ff02a2fa4cdcae5c46779d7 Mon Sep 17 00:00:00 2001
-From: "Paul \"LeoNerd\" Evans" <leonerd@leonerd.org.uk>
-Date: Sat, 9 May 2026 16:47:14 +0100
-Subject: [PATCH] Storable.xs: Avoid signed int overflow when unpacking a list
- of hook data items
-
-Upstream-Status: Backport [https://github.com/Perl/perl5/commit/e4f681784bcdeaa91ff02a2fa4cdcae5c46779d7]
-CVE: CVE-2026-57433
-Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
----
- dist/Storable/Storable.xs | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/dist/Storable/Storable.xs b/dist/Storable/Storable.xs
-index 3930db6..62a1a6d 100644
---- a/dist/Storable/Storable.xs
-+++ b/dist/Storable/Storable.xs
-@@ -5035,7 +5035,10 @@ static SV *retrieve_hook_common(pTHX_ stcxt_t *cxt, const char *cname, int large
- }
- else
- GETMARK(len3);
-- if (len3) {
-+ if (len3 == I32_MAX)
-+ /* If len3 is exactly I32_MAX it will upset av_extend below */
-+ CROAK(("Invalid count of hook data items"));
-+ else if (len3) {
- av = newAV();
- av_extend(av, len3 + 1); /* Leave room for [0] */
- AvFILLp(av) = len3; /* About to be filled anyway */
---
-2.43.0
-
diff --git a/meta/recipes-devtools/perl/files/CVE-2026-8376-01.patch b/meta/recipes-devtools/perl/files/CVE-2026-8376-01.patch
deleted file mode 100644
index af94eec29cf..00000000000
--- a/meta/recipes-devtools/perl/files/CVE-2026-8376-01.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From fd23f4370d24d00352d1cc09b16687f16da6ae5b Mon Sep 17 00:00:00 2001
-From: Tony Cook <tony@develop-help.com>
-Date: Tue, 12 May 2026 14:47:31 +1000
-Subject: [PATCH 1/2] perl/perl-security#147: test cases
-
-The suggested case from the ticket and an alternative.
-
-(cherry picked from commit e842efdafe7c51a687a4907e4887988fe6a025ef)
-
-CVE: CVE-2026-8376
-Upstream-Status: Backport [https://github.com/Perl/perl5/commit/e842efdafe7c51a687a4907e4887988fe6a025ef]
-Signed-off-by: Theo Gaige (Schneider Electric) <tgaige.opensource@witekio.com>
----
- t/re/pat_psycho.t | 18 ++++++++++++++++--
- 1 file changed, 16 insertions(+), 2 deletions(-)
-
-diff --git a/t/re/pat_psycho.t b/t/re/pat_psycho.t
-index 336039521d..73a7992372 100644
---- a/t/re/pat_psycho.t
-+++ b/t/re/pat_psycho.t
-@@ -10,7 +10,7 @@
- use strict;
- use warnings;
- use 5.010;
--
-+use Config;
-
- sub run_tests;
-
-@@ -31,7 +31,7 @@ BEGIN {
-
- skip_all('$PERL_SKIP_PSYCHO_TEST set') if $ENV{PERL_SKIP_PSYCHO_TEST};
-
--plan tests => 15; # Update this when adding/deleting tests.
-+plan tests => 17; # Update this when adding/deleting tests.
-
- run_tests() unless caller;
-
-@@ -211,6 +211,20 @@ EOF
-
-
- }
-+
-+ SKIP:
-+ { # sec #147
-+ $Config{ptrsize} == 4
-+ or skip "these only fail on x32 and use too much memory on x64", 2;
-+ local $::TODO = "This crashes";
-+ # original case
-+ fresh_perl_like('/\x{10000}{1073741824}/',
-+ qr/Regexp out of space/, {}, "ssize_t overflow");
-+
-+ # synthesized but similar case
-+ fresh_perl_like('/(?:\x{10001}\x{10000}){536870912}/',
-+ qr/Regexp out of space/, {}, "ssize_t overflow again");
-+ }
- } # End of sub run_tests
-
- 1;
---
-2.43.0
-
diff --git a/meta/recipes-devtools/perl/files/CVE-2026-8376-02.patch b/meta/recipes-devtools/perl/files/CVE-2026-8376-02.patch
deleted file mode 100644
index 39b3d510fe4..00000000000
--- a/meta/recipes-devtools/perl/files/CVE-2026-8376-02.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 49c18d4c91d5b49e0a7cbb8277f3149198004c36 Mon Sep 17 00:00:00 2001
-From: Tony Cook <tony@develop-help.com>
-Date: Tue, 12 May 2026 14:51:00 +1000
-Subject: [PATCH 2/2] perl/perl-security#147: test against the actual character
- lengths
-
-(cherry picked from commit 5e7f119eb2bb1181be908701f22bf7068e722f1c)
-
-CVE: CVE-2026-8376
-Upstream-Status: Backport [https://github.com/Perl/perl5/commit/5e7f119eb2bb1181be908701f22bf7068e722f1c]
-Signed-off-by: Theo Gaige (Schneider Electric) <tgaige.opensource@witekio.com>
----
- regcomp_study.c | 7 +++++++
- t/re/pat_psycho.t | 1 -
- 2 files changed, 7 insertions(+), 1 deletion(-)
-
-diff --git a/regcomp_study.c b/regcomp_study.c
-index 9106452dd5..05f1b017b1 100644
---- a/regcomp_study.c
-+++ b/regcomp_study.c
-@@ -2770,6 +2770,13 @@ Perl_study_chunk(pTHX_
- (U8 *) SvEND(data->last_found))
- - (U8*)s;
- l -= old;
-+
-+ if (l > 0 &&
-+ (mincount >= SSize_t_MAX / (SSize_t)l
-+ || old > SSize_t_MAX - mincount * (SSize_t)l)) {
-+ FAIL("Regexp out of space");
-+ }
-+
- /* Get the added string: */
- last_str = newSVpvn_utf8(s + old, l, UTF);
- last_chrs = UTF ? utf8_length((U8*)(s + old),
-diff --git a/t/re/pat_psycho.t b/t/re/pat_psycho.t
-index 73a7992372..9fd764fd5e 100644
---- a/t/re/pat_psycho.t
-+++ b/t/re/pat_psycho.t
-@@ -216,7 +216,6 @@ EOF
- { # sec #147
- $Config{ptrsize} == 4
- or skip "these only fail on x32 and use too much memory on x64", 2;
-- local $::TODO = "This crashes";
- # original case
- fresh_perl_like('/\x{10000}{1073741824}/',
- qr/Regexp out of space/, {}, "ssize_t overflow");
---
-2.43.0
-
diff --git a/meta/recipes-devtools/perl/perl_5.42.0.bb b/meta/recipes-devtools/perl/perl_5.42.3.bb
similarity index 98%
rename from meta/recipes-devtools/perl/perl_5.42.0.bb
rename to meta/recipes-devtools/perl/perl_5.42.3.bb
index 886eaaaa379..1a8b0e11ee4 100644
--- a/meta/recipes-devtools/perl/perl_5.42.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.42.3.bb
@@ -16,13 +16,6 @@ SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \
file://0002-Constant-Fix-up-shebang.patch \
file://determinism.patch \
file://0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch \
- file://CVE-2026-8376-01.patch \
- file://CVE-2026-8376-02.patch \
- file://CVE-2026-13221.patch \
- file://CVE-2026-57432-01.patch \
- file://CVE-2026-57432-02.patch \
- file://CVE-2026-42496.patch \
- file://CVE-2026-57433.patch \
"
SRC_URI:append:class-native = " \
file://perl-configpm-switch.patch \
@@ -31,7 +24,7 @@ SRC_URI:append:class-target = " \
file://encodefix.patch \
"
-SRC_URI[perl.sha256sum] = "e093ef184d7f9a1b9797e2465296f55510adb6dab8842b0c3ed53329663096dc"
+SRC_URI[perl.sha256sum] = "1137740985837b5cdf15f0cfab932279dcb4352f912fed6fc144e8b4f0823627"
B = "${WORKDIR}/perl-${PV}-build"
^ permalink raw reply related [flat|nested] 20+ messages in thread
end of thread, other threads:[~2026-11-17 18:20 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-17 18:20 [OE-core][wrynose 00/17] Patch review Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 01/17] pseudo: Upgrade 1.9.11 -> 1.9.12+git Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 02/17] rsync: upgrade 3.4.1 -> 3.4.2 Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 03/17] rsync: upgrade 3.4.2 -> 3.4.4 Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 04/17] rsync: upgrade 3.4.4 -> 3.5.0 Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 05/17] rsync: upgrade 3.5.0 -> 3.5.1 Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 06/17] curl: fix CVE-2026-82208 Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 07/17] curl: fix CVE-2026-87864 Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 08/17] curl: fix CVE-2026-92388 Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 09/17] curl: fix CVE-2026-92389 Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 10/17] curl: fix CVE-2026-86409 Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 11/17] curl: set CVE_STATUS for CVE-2026-19931 Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 12/17] curl: fix CVE-2026-18924 Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 13/17] bluez5: fix CVE-2026-19774 Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 14/17] bluez5: Abort continuing response on fragmented CT replies Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 15/17] spdx30_tasks: Fix duplicated revision in Git PURLs Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 16/17] perl-cross: add patches for perl-5.42.3 Yoann Congal
2026-11-17 18:20 ` [OE-core][wrynose 17/17] perl: upgrade 5.42.0 -> 5.42.3 Yoann Congal
-- strict thread matches above, loose matches on Subject: below --
2026-08-13 15:21 [OE-core][wrynose 00/17] Patch review Fabien Thomas
2026-07-18 8:52 Yoann Congal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox