Re: [dm-devel] [PATCH] dm: remake of the verity target

From: Mikulas Patocka
Date: Tue Mar 20 2012 - 23:45:19 EST




On Tue, 20 Mar 2012, Mandeep Singh Baines wrote:

> But we are hashing fixed-sized blocks so there is no possibility of extension.

If the first part of some block contains some security-sensitive data and
the last part of the same block can be attacker-controlled, he can use the
collision attack to change the security-sensitive data.

> However, better safe than sorry. I guess we'll just have to deal with
> backward incompatibility. So feel free to add my sign off to the new
> patch also.
>
> Signed-off-by: Mandeep Singh Baines <msb@xxxxxxxxxxxx>
>
> Regards,
> Mandeep
>
> > Mikulas

I can introduce a switch to make it accept the old format. Do you want to?

Mikulas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/