Red Hat Bugzilla – Bug 1479857
cryptsetup: Fix for unaligned access to hidden truecrypt header caused regression on systems with pagesize > 4KiB
Last modified: 2018-04-10 12:39:20 EDT
+++ This bug was initially created as a clone of Bug #1435543 +++ - A bugfix for bug #1435543 exposed bug in internal blockwise routines of libcryptsetup (it's a regression in 7.4) it fails if page size is >4k and we use image in file (aligned read fail because it expects file image aligned to the page size. Similar problem is for write, but write code is never called in cryptsetup (truecrypt header support is read-only)) The bug only affects luks headers stored in regular files. Block devices are not affected. Note: it's related to all archs with page size > 4 KiB, not only ppc64le
Fixed in upstream by: https://gitlab.com/cryptsetup/cryptsetup/commit/e853aa2e7ca6e046eeb1e4f1ff534075d2dac33f
Hello, This bug has been copied as 7.4 z-stream (EUS) bug #1510841 Thank You Joe Kachuck
I was able to reproduce the bug on RHEL-7.3 GA with cryptsetup-1.7.2-1.el7 and verify it on RHEL-7.5-20171107.1 with cryptsetup-1.7.4-4.el7.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0915