[lkml]   [2018]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/6] firmware: kernel signature verification
Allow LSMs and IMA to differentiate between different methods of
firmware loading (eg. direct loading, sysfs fallback) and to
differentiate/coordinate between signature verification methods (eg.
regdb, IMA-appraisal).

In addition, the last two patches address the pre-allocated buffer. The
first of these patches doesn't differentiate between reading the
firmware first into kernel memory and verifying the kernel signature,
versus reading the firmware directly into a pre-allocated buffer.

The last patch, which is posted as an RFC, questions whether the device
can access the pre-allocated buffer before the kernel signature has been

Mimi Zohar (6):
firmware: permit LSMs and IMA to fail firmware sysfs fallback loading
ima: prevent sysfs fallback firmware loading
firmware: differentiate between signed regulatory.db and other
ima: coordinate with signed regulatory.db
ima: verify kernel firmware signatures when using a preallocated
ima: prevent loading firmware into a pre-allocated buffer

drivers/base/firmware_loader/fallback.c | 7 +++++++
drivers/base/firmware_loader/main.c | 5 +++++
include/linux/fs.h | 2 ++
security/integrity/ima/ima_main.c | 29 +++++++++++++++++++++++++++--
4 files changed, 41 insertions(+), 2 deletions(-)


 \ /
  Last update: 2018-05-01 15:50    [W:0.145 / U:0.852 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site