* linux-next: UEFI Secure boot lockdown patchset
@ 2018-03-01 11:06 David Howells
2018-03-01 11:08 ` Ard Biesheuvel
2018-03-01 11:24 ` David Howells
0 siblings, 2 replies; 3+ messages in thread
From: David Howells @ 2018-03-01 11:06 UTC (permalink / raw)
To: linux-security-module
Hi Stephen,
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).
David
^ permalink raw reply [flat|nested] 3+ messages in thread* linux-next: UEFI Secure boot lockdown patchset
2018-03-01 11:06 linux-next: UEFI Secure boot lockdown patchset David Howells
@ 2018-03-01 11:08 ` Ard Biesheuvel
2018-03-01 11:24 ` David Howells
1 sibling, 0 replies; 3+ messages in thread
From: Ard Biesheuvel @ 2018-03-01 11:08 UTC (permalink / raw)
To: linux-security-module
Hi David,
On 1 March 2018 at 11:06, David Howells <dhowells@redhat.com> wrote:
>
> Hi Stephen,
>
> Can you pull the following branch into linux-next please?
Could you please include a URL?
> 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).
>
> David
>
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread* linux-next: UEFI Secure boot lockdown patchset
2018-03-01 11:06 linux-next: UEFI Secure boot lockdown patchset David Howells
2018-03-01 11:08 ` Ard Biesheuvel
@ 2018-03-01 11:24 ` David Howells
1 sibling, 0 replies; 3+ messages in thread
From: David Howells @ 2018-03-01 11:24 UTC (permalink / raw)
To: linux-security-module
I forgot to include the branch URL:
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=efi-lock-down
Thanks for spotting that, Ard!
David
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-03-01 11:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-01 11:06 linux-next: UEFI Secure boot lockdown patchset David Howells
2018-03-01 11:08 ` Ard Biesheuvel
2018-03-01 11:24 ` David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox