Imported Upstream version 2.3.3
[platform/upstream/cryptsetup.git] / docs / v2.2.1-ReleaseNotes
1 Cryptsetup 2.2.1 Release Notes
2 ==============================
3 Stable bug-fix release.
4
5 This version contains a fix for a possible data corruption bug
6 on 32-bit platforms.
7 All users of cryptsetup 2.1 and 2.2 should upgrade to this version.
8
9 Changes since version 2.2.0
10 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
11
12 * Fix possible data length and IV offset overflow on 32bit architectures.
13   Other 64-bit architectures are not affected.
14
15   The flawed helper function prototypes (introduced in version 2.1.0) used
16   size_t type, that is 32-bit integer on 32-bit systems.
17   This patch fixes the problem to properly use 64-bit types.
18
19   If the offset parameter addresses devices larger than 2TB, the value
20   overflows and stores incorrect information in the metadata.
21   For example, integrity device is smaller than expected size if used
22   over large disk on 32-bit architecture.
23
24   This issue is not present with the standard LUKS1/LUKS2 devices without
25   integrity extensions.
26
27 * Fix a regression in TrueCrypt/VeraCrypt system partition activation.
28
29 * Reinstate missing backing file hint for loop device.
30
31   If the encrypted device is backed by a file (loopback), cryptsetup now
32   shows the path to the backing file in passphrase query (as in 1.x version).
33
34 * LUKS2 reencryption block size is now aligned to reported optimal IO size.
35   This change eliminates possible non-aligned device warnings in kernel log
36   during reencryption.