Re: [PATCH v7 0/3] LoadPin: Enable loading from trusted dm-verity devices
From: Kees Cook
Date: Fri Jul 08 2022 - 13:48:13 EST
On Mon, 27 Jun 2022 08:35:23 -0700, Matthias Kaehlcke wrote:
> As of now LoadPin restricts loading of kernel files to a single pinned
> filesystem, typically the rootfs. This works for many systems, however it
> can result in a bloated rootfs (and OTA updates) on platforms where
> multiple boards with different hardware configurations use the same rootfs
> image. Especially when 'optional' files are large it may be preferable to
> download/install them only when they are actually needed by a given board.
> Chrome OS uses Downloadable Content (DLC)  to deploy certain 'packages'
> at runtime. As an example a DLC package could contain firmware for a
> peripheral that is not present on all boards. DLCs use dm-verity  to
> verify the integrity of the DLC content.
Applied to for-next/hardening, thanks!
[1/3] dm: Add verity helpers for LoadPin
[2/3] LoadPin: Enable loading from trusted dm-verity devices
[3/3] dm: verity-loadpin: Use CONFIG_SECURITY_LOADPIN_VERITY for conditional compilation