[dm-devel] [PATCH] dm-crypt, dm-integrity: allow unaligned bv_offset

Milan Broz gmazyland at gmail.com
Tue Nov 7 08:31:01 UTC 2017


On 11/07/2017 09:13 AM, Bruno Prémont wrote:
>> Signed-off-by: Mikulas Patocka <mpatocka at redhat.com>
>> Cc: stable at vger.kernel.org	# v4.12+
>> Fixes: 8f0009a22517 ("dm crypt: optionally support larger encryption sector size")
>> Fixes: 7eada909bfd7 ("dm: add integrity target")
> 
> Reported-by: Bruno Prémont <bonbons at sysophe.eu>
> Tested-by: Bruno Prémont <bonbons at sysophe.eu>
> 
> Successfully tested on 4.12.14, 4.13.11 and 4.14-rc8+ (e4880bc5dfb1).

Thanks!

(That alignment check was added after our discussion - we wanted
to have dm-crypt and dm-integrity to check the same thing, just to trigger
possible data corruption, but obviously it was incorrect check.)

It must go to stable well, I think there are possibly more situations
we broke for dm-crypt by this.

Reviewed-by: Milan Broz <gmazyland at gmail.com>

m.




More information about the dm-devel mailing list