diff mbox series

[AUH] xz: upgrading to 5.8.5 SUCCEEDED

Message ID 010101a23fbc6c06-6f0403e9-09b8-494a-a002-f92712ad9b78-000000@us-west-2.amazonses.com
State New
Headers show
Series [AUH] xz: upgrading to 5.8.5 SUCCEEDED | expand

Commit Message

auh@yoctoproject.org Dec. 4, 2026, 6:27 a.m. UTC
Hello,

this email is a notification from the Auto Upgrade Helper
that the automatic attempt to upgrade the recipe(s) *xz* to *5.8.5* has Succeeded.

Next steps:
    - apply the patch: git am 0001-xz-upgrade-5.8.4-5.8.5.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 be9fca5d00133faa402c34a921e2bdd47f3eddcf Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@yoctoproject.org>
Date: Fri, 4 Dec 2026 05:54:16 +0000
Subject: [PATCH] xz: upgrade 5.8.4 -> 5.8.5

5.8.5 (2026-12-03)

    IMPORTANT: This includes security fixes. These and a few other fixes
    have also been committed to the old stable branches (v5.2, v5.4, and
    v5.6) in the xz Git repository. Those fixes are marked below. No new
    5.2.x, 5.4.x, or 5.6.x releases will be made.

        - Fix a data corruption bug in the LZMA2 encoder. The issue was
          found via code analysis; no one has reported actual data
          corruption. Creating a test file to trigger this bug isn't
          straightforward, and at the time of this release, no such
          files are known.

          If the bug is triggered in a debug build, an assertion will
          fail. In non-debug builds, a corrupt file is created. It
          should usually be recoverable if one knows that the corruption
          is due to this bug.

          If the dictionary size is smaller than 64 KiB (uncommon) and
          some extra conditions are met, triggering the bug can result
          in memory reads a few bytes before the beginning of an array.
          In this case, if the encoder doesn't crash, the resulting
          corrupt file won't be recoverable.

          The bug is specific to liblzma; it wasn't inherited from
          LZMA SDK, and XZ for Java has done this detail differently
          from the beginning.

          This is tracked as GHSA-vhhh-g38j-pr8q.
          The bug was reported by Vladimir Kukharenko (GenProof).
          (Also in v5.2, v5.4, and v5.6.)

        - Fix data corruption or deadlock in the x86 BCJ filter when
          the buffer passed to the filter function exceeds 4 GiB and
          contains appropriate input data. Apps, that use smaller
          buffers to process large files, aren't affected. The code
          was revised, and the new code is both simpler and faster.

          This is tracked as GHSA-6237-3fq8-r2hg.
          The bug was reported by Vladimir Kukharenko (GenProof).
          (Also in v5.2, v5.4, and v5.6.)

        - Fix reinitialization bugs in lzma_stream_encoder_mt():

          These are tracked as GHSA-jvh7-x64f-69mg.
          The bugs were reported by Mar.
          (Also in v5.2, v5.4, and v5.6.)

        - lzma_alone_decoder() and lzma_raw_decoder() with
          LZMA_FILTER_LZMA1EXT: Fix detection of an optional LZMA
          end marker. Decoding failed with LZMA_DATA_ERROR if all input
          bytes needed to decode the end marker weren't provided in the
          same lzma_code() call. That is, the failure depended how the
          input file was split into chunks by an application.
          (Also in v5.2, v5.4, and v5.6.)

        - lzma_stream_decoder_mt():

        - Fixes that affect lzma_memusage(), lzma_memlimit_get(), and
          lzma_memlimit_set() when used with specific decoders:

        - lzma_stream_decoder(), lzma_stream_decoder_mt(),
          lzma_alone_decoder(), lzma_auto_decoder(), and
          lzma_lzip_decoder(): On reinitialization, free the old cached
          decoder if its memory usage is higher than the new memory
          usage limit.

        - Set lzma_stream.total_in and .total_out to 0 even if a coder
          initialization fails. This matches the API docs, but it's
          unlikely that anything actually cares about these counters
          after an initialization error.
          (Also in v5.2, v5.4, and v5.6.)

        - lzma_easy_encoder(): If called with an unsupported preset,
          free the previous coder (if any) to avoid a memory leak.
          (Also in v5.2, v5.4, and v5.6.)

        - lzma_easy_encoder_memusage() and lzma_easy_decoder_memusage():
          On error (invalid or unsupported preset), return UINT64_MAX as
          documented instead of UINT32_MAX.
          (Also in v5.2, v5.4, and v5.6.)

        - lzma_get_progress(): Don't crash if no coder is initialized
          in the lzma_stream argument.
          (Also in v5.2, v5.4, and v5.6.)

        - lzma_index_append(): Fix a possible integer overflow if the
          function is called on a concatenated lzma_index (created using
          lzma_index_cat()). It's valid use of the API, but there is no
          known use case where an application might want to do this.
          (Also in v5.2, v5.4, and v5.6.)

        - LZMA/LZMA2 encoder: Silence Valgrind and -fsanitize=memory if
          a preset dictionary is used (a raw encoder only feature).
          A few bytes of uninitialized memory was read, but those bytes
          were eventually ignored, so the code still worked correctly.
          (Also in v5.2, v5.4, and v5.6.)

        - Improve LZMA/LZMA2 encoder speed by prefetching hash table
          entries with __builtin_prefetch(). The benefit depends on
          the computer, input file, and compression settings.

        - Linux: Make lzma_physmem() and lzma_cputhreads() look at
          cgroup v2 memory.max and cpu.max, and use the .max values
          when they are lower than the physical hardware resources.

[Changelog truncated as it exceeds 5000 characters;
the full changelog can be found in an attachment to the AUH email]
---
 meta/recipes-extended/xz/{xz_5.8.4.bb => xz_5.8.5.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/xz/{xz_5.8.4.bb => xz_5.8.5.bb} (97%)
diff mbox series

Patch

diff --git a/meta/recipes-extended/xz/xz_5.8.4.bb b/meta/recipes-extended/xz/xz_5.8.5.bb
similarity index 97%
rename from meta/recipes-extended/xz/xz_5.8.4.bb
rename to meta/recipes-extended/xz/xz_5.8.5.bb
index cfb0574f0d..ba850eff88 100644
--- a/meta/recipes-extended/xz/xz_5.8.4.bb
+++ b/meta/recipes-extended/xz/xz_5.8.5.bb
@@ -30,7 +30,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=d38d562f6112174de93a9677682231b2 \
 SRC_URI = "https://github.com/tukaani-project/xz/releases/download/v${PV}/xz-${PV}.tar.gz \
            file://run-ptest \
            "
-SRC_URI[sha256sum] = "0014c7886930454fe8bd4228665b51af55eeae560ea135c9c4cd33f55b2591d9"
+SRC_URI[sha256sum] = "7393bd41ebac79c9817547f27b599a55db5574978f5902453f5a9e6665fec789"
 UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
 UPSTREAM_CHECK_URI = "https://github.com/tukaani-project/xz/releases/"