Return-Path: Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Thu, 3 Sep 2020 20:48:24 +0200 (CEST) Received: by mail-wr1-x432.google.com with SMTP id g4so4321485wrs.5 for ; Thu, 03 Sep 2020 11:48:24 -0700 (PDT) Received: from [192.168.2.27] (39.35.broadband4.iol.cz. [85.71.35.39]) by smtp.gmail.com with ESMTPSA id t1sm5415561wmi.16.2020.09.03.11.48.21 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Sep 2020 11:48:22 -0700 (PDT) From: Milan Broz Message-ID: Date: Thu, 3 Sep 2020 20:48:07 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TakoOZXg4vQDtP4kDzFRvqXLPfu85rczM" Subject: [dm-crypt] [ANNOUNCE] cryptsetup 2.3.4 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TakoOZXg4vQDtP4kDzFRvqXLPfu85rczM Content-Type: multipart/mixed; boundary="opZH0GKt9wOepXvsyJO5fhPu2wtCRNoaK" --opZH0GKt9wOepXvsyJO5fhPu2wtCRNoaK Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable The cryptsetup 2.3.4 stable release is available at https://gitlab.com/cryptsetup/cryptsetup Please note that release packages are located on kernel.org https://www.kernel.org/pub/linux/utils/cryptsetup/v2.3/ Feedback and bug reports are welcomed. Cryptsetup 2.3.4 Release Notes =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D Stable bug-fix release with a security fix (32-bit only). All users of cryptsetup 2.2.x and later should upgrade to this version. Changes since version 2.3.3 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Fix a possible out-of-bounds memory write while validating LUKS2 data segments metadata (CVE-2020-14382). This problem can be triggered only on 32-bit builds (64-bit systems are not affected). LUKS2 format validation code contains a bug in segments validation code= where the code does not check for possible overflow on memory allocatio= n. Due to the bug, the libcryptsetup can be tricked to expect such allocat= ion was successful. Later it may read data from image crafted by an attacke= r and actually write such data beyond allocated memory. The bug was introduced in cryptsetup 2.2.0. All later releases until 2.= 3.4 are affected. If you only backport the fix for this CVE, these master branch git comm= its should be backported: 52f5cb8cedf22fb3e14c744814ec8af7614146c7 46ee71edcd13e1dad50815ad65c28779aa6f7503 752c9a52798f11d3b765b673ebaa3058eb25316e Thanks to Tobias Stoeckmann for discovering this issue. * Ignore reported optimal IO size if not aligned to minimal page size. Some USB enclosures report bogus block device topology (see lsblk -t) t= hat prevents LUKS2 format with 4k sector size (reported values are not corr= ectly aligned). The code now ignores such values and uses the default alignme= nt. * Added support for new no_read/write_wrokqueue dm-crypt options (kernel = 5.9). These performance options, introduced in kernel 5.9, configure dm-crypt= to bypass read or write workqueues and run encryption synchronously. Use --perf-no_read_workqueue or --perf-no_write_workqueue cryptsetup ar= guments to use these dm-crypt flags. These options are available only for low-level dm-crypt performance tun= ing, use only if you need a change to default dm-crypt behavior. For LUKS2, these flags can be persistently stored in metadata with the --persistent option. * Added support panic_on_corruption option for dm-verity devices (kernel = 5.9). Veritysetup now supports --panic-on-corruption argument that configures= the dm-verity device to panics kernel if a corruption is detected. This option is intended for specific configurations, do not use it in standard configurations. * Support --master-key-file option for online LUKS2 reencryption This can be used for reencryption of devices that uses protected key AE= S cipher on some mainframes crypto accelerators. * Always return EEXIST error code if a device already exists. Some libcryptsetup functions (activate_by*) now return EEXIST error cod= e, so the caller can distinguish that call fails because some parallel pro= cess already activated the device. Previously all fails returned EINVAL (invalid value). * Fix a problem in integritysetup if a hash algorithm has dash in the nam= e. If users want to use blake2b/blake2s, the kernel algorithm name include= s a dash (like "blake2s-256"). Theses algorithms can now be used for integritysetup devices. * Fix crypto backend to properly handle ECB mode. Even though it should never be used, it should still work for testing := ) This fixes a bug introduced in cryptsetup version 2.3.2. * TrueCrypt/VeraCrypt compatible mode now supports the activation of devi= ces with a larger sector. TrueCrypt/VeraCrypt always uses 512-byte sector for encryption, but for= devices with a larger native sector, it stores this value in the header. This patch allows activation of such devices, basically ignoring the mentioned sector size. * LUKS2: Do not create excessively large headers. When creating a LUKS2 header with a specified --offset larger than the LUKS2 header size, do not create a larger file than needed. * Fix unspecified sector size for BitLocker compatible mode. Some BitLocker devices can contain zeroed sector size in the header. In this case, the 512-byte sector should be used. The bug was introduced in version 2.3.3. * Fix reading key data size in metadata for BitLocker compatible mode. Such devices with an unexpected entry in metadata can now be activated.= Thanks to all users reporting these problems, BitLocker metadata docume= ntation is not publicly available, and we depend only on these reports. * Fix typos in documentation. --opZH0GKt9wOepXvsyJO5fhPu2wtCRNoaK-- --TakoOZXg4vQDtP4kDzFRvqXLPfu85rczM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKikYJD/eRmSNBob52bBXe9k+mPwFAl9ROnUACgkQ2bBXe9k+ mPwE8RAAt6dXkrZIthrhTpyOczWpdilGCoFKJ6YFWY+eSXlK/u0cNbJbLA0RtTxK ASkhB+icbjM9NiKhYKNh5n2Y8QWcP9b/BcQ25Ea3Ra65wn9n/WjcM+Jhps7n7dL+ 8cpnH/BdlPpkSTueDcy8r+ZK0iDKX6Cjb/91sIZSq/iqFCuvn5/s8kUFpEJ/LB8X 1YyPJKROuVXVzyLdE6emSciQjoc8rTkIjDQSZ4p/yBTw0IZ6zxq5KPKUCpmoiQ14 uLkQP00SyG36CHfZSm94n4qvsi70Bl558bkves1G+UNdD9aDMHzEnBS/HcRxRXCv fcJg6MhS0OTEQGpP4BjfvYmmuiT5GSMWFbW3c5nBncvhjdnKpifH1cY6yau1zzfb N3ECzkBXgTS8Nc8NpuqeSscrDpz/hxNrYggSuNd9TYecIZudHsjjMr6RtkS6Hg55 dzqhG5zczHsMAkDPuz6mk7xksHDd+5nSu4MDUUaiEGMzStca2MnW4QcA08xzJ/mx swcSZPb4k/v9mdF4qsJll+VJGZlEZD35k/ABEiW1KL1gVjP9ZoAoWXgt2FvEn9Yg GJJaXXm5lj1hke3OAMIpks3+eFcW177QwGctS8fBrJ7yNYY9po4MHOjCxpqfVAmQ jgsPgvHLABjQLh5jbqAGI1qAxY559/eL1vcm5SpGLhnsq36FbeY= =5mz3 -----END PGP SIGNATURE----- --TakoOZXg4vQDtP4kDzFRvqXLPfu85rczM--