From: Stephen Rothwell <sfr@canb.auug.org.au>
To: David Howells <dhowells@redhat.com>
Cc: jmorris@namei.org, jforbes@redhat.com, mjg59@google.com,
linux-security-module@vger.kernel.org, linux-efi@vger.kernel.org,
linux-kernel@vger.kernel.org, mtk.manpages@gmail.com
Subject: Re: linux-next: UEFI Secure boot lockdown patchset
Date: Thu, 1 Mar 2018 23:15:11 +1100 [thread overview]
Message-ID: <20180301231511.4dd1e79f@canb.auug.org.au> (raw)
In-Reply-To: <26787.1519902415@warthog.procyon.org.uk>
[-- Attachment #1: Type: text/plain, Size: 2490 bytes --]
Hi David,
On Thu, 01 Mar 2018 11:06:55 +0000 David Howells <dhowells@redhat.com> wrote:
>
> Can you pull the following branch into linux-next please? It does three
> things:
>
> (1) It restricts various accesses userspace may make upon the kernel when the
> kernel is locked down.
>
> (2) It engages the lockdown if UEFI Secure Boot mode is detected.
>
> (3) It passes the UEFI Secure Boot mode indication across kexec.
>
> The restrictions include:
>
> - Enforcing the use of module signatures
> - Enforcing the use of kexec image signatures
> - Requring IMA to use secure boot rules
> - Disabling:
> - The kexec_load() syscall
> - Use of /dev/{mem,kmem,port,kcore}
> - Hibernation
> - PCI BAR access
> - Direct I/O port access
> - Preventing direct port specification in drivers:
> - SCSI EATA
> - TIOCSSERIAL
> - Module parameters
> - Restricting:
> - MSR access
> - Certain ACPI features
> - kprobes
> - BPF
> - Perf
> - Debugfs
>
> The aim of the restrictions is twofold:
>
> (1) Prevent userspace from altering the kernel image directly (eg. by
> /dev/mem) or indirectly (eg. by manipulating a device to do DMA);
>
> (2) Prevent userspace from accessing crypto data stored in the kernel
> (eg. filesystem keys).
>
> A warning is logged if a restriction is triggered for which I've written a
> manpage that is referenced in the message (see attached).
Added from tomorrow. I actually used this url:
git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git#efi-lock-down
Thanks for adding your subsystem tree as a participant of linux-next. As
you may know, this is not a judgement of your code. The purpose of
linux-next is for integration testing and to lower the impact of
conflicts between subsystems in the next merge window.
You will need to ensure that the patches/commits in your tree/series have
been:
* submitted under GPL v2 (or later) and include the Contributor's
Signed-off-by,
* posted to the relevant mailing list,
* reviewed by you (or another maintainer of your subsystem tree),
* successfully unit tested, and
* destined for the current or next Linux merge window.
Basically, this should be just what you would send to Linus (or ask him
to fetch). It is allowed to be rebased if you deem it necessary.
--
Cheers,
Stephen Rothwell
sfr@canb.auug.org.au
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2018-03-01 12:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-01 11:06 David Howells
2018-03-01 11:08 ` Ard Biesheuvel
2018-03-01 11:24 ` David Howells
2018-03-01 12:15 ` Stephen Rothwell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180301231511.4dd1e79f@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=dhowells@redhat.com \
--cc=jforbes@redhat.com \
--cc=jmorris@namei.org \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=mjg59@google.com \
--cc=mtk.manpages@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®