Re: [PATCH 0/7] firmware validation

One Thousand Gnomes
2014-07-23T18:54:09Z

On Mon, 14 Jul 2014 14:38:10 -0700
Kees Cook <keescook@chromium.org> wrote:

> This creates a new LSM hook to validate the contents (and origin) of
> component firmware being provided to the kernel from userspace via the
> request_firmware() interface.
>
> Additionally creates a test module and test cases for all of the existing
> interfaces as well as the new "fd" interface.

There is a specific reason that this is a good idea. On any system with
basic capabilities only anyone owning DAC capabilities can replace the
firmware file on disk. So for some devices DAC implies a route to RAWIO
which is not good.

Alan