From patchwork Tue Nov 24 06:31:55 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 105332 Received: from a27-33.smtp-out.us-west-2.amazonses.com (a27-33.smtp-out.us-west-2.amazonses.com [54.240.27.33]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.12521.1795501916225555901 for ; Mon, 23 Nov 2026 22:31:56 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky header.b=dZFMgKf/; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=TAbDnUti; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.33, mailfrom: 010101a20c40fd30-09625d77-1e3c-4348-8016-91485a23fc72-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky; d=yoctoproject.org; t=1795501915; h=Content-Type:MIME-Version:From:To:Subject:Message-Id:Date; bh=+EnFM2WOZL3Yla2Ki9puToQk+YB8BSW51jF8FZu9VW4=; b=dZFMgKf/OLP/x2J+RBsrKBTrCVrP3RTnc7tv4kt2cRRAeO3vcBfNY8YhwxrOK8iV cSj4Ee7+1c+Lfxu8QvnuwqDW7c6bYvfyD7toF50wNRcJFNkCydw68cw/nnUNTmJp4MQ ANY0HqS2wBi3wLyh7OZY98MNwcYrJVjTyZ1eXdZ0= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1795501915; h=Content-Type:MIME-Version:From:To:Subject:Message-Id:Date:Feedback-ID; bh=+EnFM2WOZL3Yla2Ki9puToQk+YB8BSW51jF8FZu9VW4=; b=TAbDnUtiqRjInIWWDsd5revkAvZxVKzvOdCSnVVtuCoVK6czwNeXd8cSOq7Om+uc Mkl762bijwtucaxHQJ/bgGzZyovo0d2fO7/rJLMjAdwmWSNTrJIUYq9KxpOPUDaeYBU cz5J6QjaTyihGIScRCNU9DZtMdeOgIDddo2q31TU= MIME-Version: 1.0 From: auh@yoctoproject.org To: openembedded-core@lists.openembedded.org Subject: [AUH] zstd: upgrading to 1.6.0 SUCCEEDED Message-ID: <010101a20c40fd30-09625d77-1e3c-4348-8016-91485a23fc72-000000@us-west-2.amazonses.com> Date: Tue, 24 Nov 2026 06:31:55 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2026.11.24-54.240.27.33 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Tue, 24 Nov 2026 06:31:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/250957 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *zstd* to *1.6.0* has Succeeded. Next steps: - apply the patch: git am 0001-zstd-upgrade-1.5.7-1.6.0.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From a6a064b59c57a9ba9484c14919b167c16a9381e9 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Tue, 24 Nov 2026 06:20:56 +0000 Subject: [PATCH] zstd: upgrade 1.5.7 -> 1.6.0 v1.6.0 (Nov 2026) fix: streaming decompression of malformed data could expose uninitialized memory fix: multithreaded compression with `ZSTD_CCtx_refPrefix()` could rarely emit a valid frame encoding wrong data, depending on thread timing fix: out-of-bounds read and write in the DDict hash table when using `ZSTD_d_refMultipleDDicts` fix: use-after-free of a `ZSTD_DCtx_refPrefix()` prefix after `ZSTD_DCtx_reset()` following a malformed frame header fix: out-of-bounds read with `ZSTD_c_stableInBuffer` after an abandoned frame or a changed input buffer, reported by @IlyaGrebnov fix: multithreaded compression use-after-free when freeing or resetting a context during an abandoned frame fix: multithreaded streaming compression accepted a wrong pledged source size, producing corrupted frames fix: prepared dictionary decompression now rejects matches into formatted dictionary headers fix: on a static DCtx, `ZSTD_DCtx_loadDictionary()` and `ZSTD_DCtx_refPrefix()` return `ZSTD_error_memory_allocation` for nonempty dictionaries fix: wild reads when compressing with large dictionaries whose repcodes point into discarded content fix: memory corruption in `ZSTD_compressSequences()` and `ZSTD_compressSequencesAndLiterals()` with small `dst`, overflowing lengths, or some invalid sequences (#4918, #4989, #5004) fix: out-of-bounds write with `ZSTD_c_targetCBlockSize` and `ZSTD_compress2()` into a `dst` smaller than `ZSTD_compressBound()` fix: high compression levels read uninitialized statistics with some dictionaries fix: 32-bit multithreaded compression with large windows (#4946, #4948) fix: 32-bit builds rejected valid dictionary IDs above 4294967176 fix: excessive memory usage with long distance matching and small windows fix: CDict and DDict creation and size estimation reject dictionary sizes that overflow fix: crash when a custom allocator fails (#4613), data race when resizing a thread pool fix: legacy decoders: out-of-bounds reads, wrong streaming output, and offset validation (#4555, #4815, #4816, #4817, #4913, #4955, #4957) api: legacy format support is now disabled by default api: experimental `ZSTD_d_refMultipleDDicts` requires an exact dictionary ID match: a missing nonzero ID returns `ZSTD_error_dictionary_wrong` instead of falling back to the current dictionary api: disabling experimental `ZSTD_d_refMultipleDDicts` releases every dictionary reference of its set api: removed the deprecated experimental functions `ZSTD_copyCCtx()` and `ZSTD_copyDCtx()` api: promoted `ZSTD_getFrameHeader()` and `ZSTD_FrameHeader` to the stable API api: promoted `ZSTD_createDDict_byReference()`, `ZSTD_DCtx_loadDictionary_advanced()`, and `ZSTD_CCtx_loadDictionary_advanced()` to the stable API, along with `ZSTD_dictContentType_e` and `ZSTD_dictLoadMethod_e` (#4283, #3723) api: `ZSTD_decompressDCtx()`, `ZSTD_decompress_usingDict()` and `ZSTD_decompress_usingDDict()` reset an unfinished streaming session, as documented api: `ZSTD_DCtx_loadDictionary()` returns `ZSTD_error_dictionary_corrupted` for a corrupted dictionary, instead of `ZSTD_error_memory_allocation` api: `ZSTD_compressSequencesAndLiterals()` enforces its documented limits on block size and `litBufCapacity` (#4741, #4782) api: `ZSTD_decompressContinue()` returns `ZSTD_error_stage_wrong` when not preceded by `ZSTD_decompressBegin()` api: new experimental `ZSTD_isDeterministicBuild()` perf: faster decompression on AArch64 (#4413, #4414, #4418, #4509), by @arpadpanyik-arm perf: faster compression on AArch64 with SVE2 (#4411), by @arpadpanyik-arm perf: faster `ZSTD_compressSequencesAndLiterals()` on AArch64 with Neon and SVE2 (#4429, #4440), by @arpadpanyik-arm, and on RISC-V with RVV (#4399), by @zijianli1234 perf: faster row match finder on RISC-V with RVV (#4481), by @w1m024 cli: new `--patch-apply` command, equivalent to `-d --patch-from` cli: `-B#` renamed `--jobsize=#`, and benchmark `--blocksize=#` renamed `--split=#`; old names remain supported cli: `--filelist=` supports process substitution cli: size arguments accept `G`, `GB` and `GiB` suffixes (#4609), by @Integral- Tech cli: `--memory=` also limits `.xz` and `.lzma` decompression cli: benchmark mode uses 1 thread by default cli: warn when multiple threads are requested for decompression cli: safer file handling: no output through symbolic links (#4906), `-r` no longer follows links and junctions on Windows (#4905), better same-file detection on Windows (#4884), robust to concurrent renames (#4962, #4999, #5003, #5009) cli: `--output-dir-flat` fails on output filename collisions before processing (#4974), by @daniellerozenblit cli: fix `zstd -l` infinite loop on a large skippable frame cli: fix `--memlimit-decompress=` parsing (#4916), `--adapt` bounds (#4982), `--patch-from` with an empty file (#4896), `--check` with `--format=lz4` cli: fix `ZSTD_NBTHREADS=0` (#4334), cli: fix decode-only benchmark of multiple files (#4714, #4945) cli: `zstdgrep` exits 0 when any of several files matches zdict: fix out-of-bounds [Changelog truncated as it exceeds 5000 characters; the full changelog can be found in an attachment to the AUH email] --- ...cli-tests-skip-zstd-max-level-when-memory-is-insuffi.patch | 4 ++-- meta/recipes-extended/zstd/{zstd_1.5.7.bb => zstd_1.6.0.bb} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-extended/zstd/{zstd_1.5.7.bb => zstd_1.6.0.bb} (98%) diff --git a/meta/recipes-extended/zstd/zstd/0001-cli-tests-skip-zstd-max-level-when-memory-is-insuffi.patch b/meta/recipes-extended/zstd/zstd/0001-cli-tests-skip-zstd-max-level-when-memory-is-insuffi.patch index d7559f7269..6163201bf2 100644 --- a/meta/recipes-extended/zstd/zstd/0001-cli-tests-skip-zstd-max-level-when-memory-is-insuffi.patch +++ b/meta/recipes-extended/zstd/zstd/0001-cli-tests-skip-zstd-max-level-when-memory-is-insuffi.patch @@ -1,4 +1,4 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From 5182d7671cb65346b55d3ff8eda6388f876a7431 Mon Sep 17 00:00:00 2001 From: Pratik Farkase Date: Thu, 27 Aug 2026 12:00:00 +0000 Subject: [PATCH] cli-tests: skip zstd --max level when memory is insufficient @@ -15,7 +15,7 @@ Signed-off-by: Pratik Farkase 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cli-tests/compression/levels.sh b/tests/cli-tests/compression/levels.sh -index b8230f2..7846d3e 100755 +index b8230f2a3..7846d3ec0 100755 --- a/tests/cli-tests/compression/levels.sh +++ b/tests/cli-tests/compression/levels.sh @@ -16,8 +16,8 @@ zstd --fast=10 file -o file-f10.zst -q diff --git a/meta/recipes-extended/zstd/zstd_1.5.7.bb b/meta/recipes-extended/zstd/zstd_1.6.0.bb similarity index 98% rename from meta/recipes-extended/zstd/zstd_1.5.7.bb rename to meta/recipes-extended/zstd/zstd_1.6.0.bb index 4c3b377c14..a4a6acc435 100644 --- a/meta/recipes-extended/zstd/zstd_1.5.7.bb +++ b/meta/recipes-extended/zstd/zstd_1.6.0.bb @@ -17,7 +17,7 @@ SRC_URI = "git://github.com/facebook/zstd.git;branch=release;protocol=https;tag= file://0001-cli-tests-skip-zstd-max-level-when-memory-is-insuffi.patch \ " -SRCREV = "f8745da6ff1ad1e7bab384bd1f9d742439278e99" +SRCREV = "916e8e70b33317d469a41ee837e47317807815c8" UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)" CVE_PRODUCT = "zstandard"