linux-efi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/12] One more attempt at useful kernel lockdown
@ 2013-09-09 15:49 Matthew Garrett
  2013-09-09 15:49 ` [PATCH 01/12] Add BSD-style securelevel support Matthew Garrett
                   ` (13 more replies)
  0 siblings, 14 replies; 66+ messages in thread
From: Matthew Garrett @ 2013-09-09 15:49 UTC (permalink / raw)
  To: linux-kernel
  Cc: keescook, gregkh, hpa, linux-efi, jmorris, linux-security-module

Some use cases require the ability to ensure that anything running in ring 0
is trusted code. We have support for signing the kernel and kernel modules,
but there's still a range of exported kernel interfaces that make it easy to
modify the running kernel. Previous attempts to implement a generic interface
to restrict this have included a new capability (breaks existing userspace)
and tying it to a requirement for signed modules (breaks assumptions in
certain situations where userspace is already running with restricted
privileges).

So, this is my final attempt at providing the functionality I'm interested
in without inherently tying it to Secure Boot. There's strong parallels
between the functionality that I'm interested in and the BSD securelevel
interface, so here's a trivial implementation. 

^ permalink raw reply	[flat|nested] 66+ messages in thread

end of thread, other threads:[~2013-11-26 12:54 UTC | newest]

Thread overview: 66+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-09 15:49 [PATCH 00/12] One more attempt at useful kernel lockdown Matthew Garrett
2013-09-09 15:49 ` [PATCH 01/12] Add BSD-style securelevel support Matthew Garrett
     [not found]   ` <1378741786-18430-2-git-send-email-matthew.garrett-05XSO3Yj/JvQT0dZR+AlfA@public.gmane.org>
2013-09-09 16:27     ` H. Peter Anvin
     [not found]       ` <522DF6DC.1050303-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2013-09-09 16:30         ` Matthew Garrett
     [not found]           ` <1378744207.17982.3.camel-+5W/JHIUVxg@public.gmane.org>
2013-09-09 16:42             ` H. Peter Anvin
2013-09-09 16:44               ` Matthew Garrett
     [not found]                 ` <1378745082.17982.4.camel-+5W/JHIUVxg@public.gmane.org>
2013-09-09 16:51                   ` H. Peter Anvin
     [not found]                     ` <522DFCAC.40607-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2013-09-09 16:55                       ` Matthew Garrett
2013-09-09 18:31       ` Matthew Garrett
2013-09-09 15:49 ` [PATCH 02/12] Enforce module signatures when securelevel is greater than 0 Matthew Garrett
2013-09-09 15:49 ` [PATCH 03/12] PCI: Lock down BAR access when securelevel is enabled Matthew Garrett
2013-09-09 15:49 ` [PATCH 04/12] x86: Lock down IO port " Matthew Garrett
2013-09-09 15:49 ` [PATCH 05/12] Restrict /dev/mem and /dev/kmem when securelevel is set Matthew Garrett
2013-09-09 15:49 ` [PATCH 06/12] acpi: Limit access to custom_method if " Matthew Garrett
2013-09-09 15:49 ` [PATCH 07/12] acpi: Ignore acpi_rsdp kernel parameter when " Matthew Garrett
2013-11-26 12:54   ` Josh Boyer
2013-09-09 15:49 ` [PATCH 08/12] kexec: Disable at runtime if securelevel has been set Matthew Garrett
2013-09-09 15:49 ` [PATCH 09/12] uswsusp: Disable when securelevel is set Matthew Garrett
2013-09-09 15:49 ` [PATCH 10/12] x86: Restrict MSR access " Matthew Garrett
2013-09-09 15:49 ` [PATCH 11/12] asus-wmi: Restrict debugfs interface " Matthew Garrett
2013-09-09 15:49 ` [PATCH 12/12] Add option to automatically set securelevel when in Secure Boot mode Matthew Garrett
     [not found] ` <1378741786-18430-1-git-send-email-matthew.garrett-05XSO3Yj/JvQT0dZR+AlfA@public.gmane.org>
2013-09-09 17:18   ` [PATCH 00/12] One more attempt at useful kernel lockdown Valdis.Kletnieks-PjAqaU27lzQ
     [not found]     ` <19562.1378747124-+bZmOdGhbsPr6rcHtW+onFJE71vCis6O@public.gmane.org>
2013-09-09 17:24       ` Matthew Garrett
2013-09-09 18:25     ` David Lang
2013-09-09 18:28       ` Matthew Garrett
     [not found]         ` <1378751318.17982.10.camel-+5W/JHIUVxg@public.gmane.org>
2013-09-09 18:40           ` David Lang
2013-09-09 18:42             ` Matthew Garrett
     [not found]               ` <1378752158.17982.15.camel-+5W/JHIUVxg@public.gmane.org>
2013-09-09 18:53                 ` David Lang
     [not found]                   ` <alpine.DEB.2.02.1309091150570.2479-UEhY+ZBZOcqqLGM74eQ/YA@public.gmane.org>
2013-09-09 19:06                     ` Matthew Garrett
2013-09-09 19:59                       ` David Lang
2013-09-09 20:06                         ` Matthew Garrett
2013-09-09 20:15                           ` David Lang
2013-09-09 20:17                             ` Matthew Garrett
     [not found]       ` <alpine.DEB.2.02.1309091119330.2479-UEhY+ZBZOcqqLGM74eQ/YA@public.gmane.org>
2013-09-09 19:01         ` Valdis.Kletnieks-PjAqaU27lzQ
2013-09-09 19:08           ` Matthew Garrett
     [not found]           ` <27562.1378753264-+bZmOdGhbsPr6rcHtW+onFJE71vCis6O@public.gmane.org>
2013-09-09 19:41             ` H. Peter Anvin
2013-09-09 19:52               ` Josh Boyer
2013-09-09 19:56                 ` H. Peter Anvin
2013-09-09 19:58                   ` Josh Boyer
2013-09-09 20:02                     ` H. Peter Anvin
     [not found]                 ` <CA+5PVA4mu=ykBMgWYaEagCsDexR-qFYH0tfjK+4B+xOCPonNXg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-09 20:10                   ` David Lang
     [not found]                     ` <alpine.DEB.2.02.1309091300420.2479-UEhY+ZBZOcqqLGM74eQ/YA@public.gmane.org>
2013-09-09 20:13                       ` Josh Boyer
2013-09-09 23:02       ` Matthew Garrett
2013-09-09 23:19         ` David Lang
     [not found]           ` <alpine.DEB.2.02.1309091614010.2479-UEhY+ZBZOcqqLGM74eQ/YA@public.gmane.org>
2013-09-09 23:20             ` Kees Cook
     [not found]               ` <CAGXu5jJdMXP84TPP-=dtExFkpcGKPGLWnOu1-PZMokz5WhCLwQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-09 23:30                 ` James Bottomley
2013-09-09 23:34                   ` Kees Cook
2013-09-10  0:53           ` Matthew Garrett
2013-09-10  2:44             ` David Lang
     [not found]               ` <alpine.DEB.2.02.1309091938420.1820-UEhY+ZBZOcqqLGM74eQ/YA@public.gmane.org>
2013-09-10  2:55                 ` Matthew Garrett
2013-09-10  3:09                   ` David Lang
2013-09-10  3:53                     ` Matthew Garrett
     [not found]                       ` <1378785208.17982.54.camel-+5W/JHIUVxg@public.gmane.org>
2013-09-10 17:23                         ` Henrique de Moraes Holschuh
     [not found]                           ` <20130910172318.GB21530-ZGHd14iZgfaRjzvQDGKj+xxZW9W5cXbT@public.gmane.org>
2013-09-10 18:26                             ` Matthew Garrett
     [not found]                               ` <1378837571.17615.0.camel-+5W/JHIUVxg@public.gmane.org>
2013-09-10 18:29                                 ` H. Peter Anvin
2013-09-10 18:51                                   ` gregkh
2013-09-10 18:55                                     ` Kees Cook
     [not found]                                       ` <CAGXu5j+3oKC-tQe8z43bG8wTpURD4FFCi+A1t9mSN_Bfzh8e8Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-10 19:17                                         ` David Lang
     [not found]                                           ` <alpine.DEB.2.02.1309101217150.10412-UEhY+ZBZOcqqLGM74eQ/YA@public.gmane.org>
2013-09-10 19:44                                             ` H. Peter Anvin
     [not found]                                               ` <522F768F.1000101-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2013-09-10 23:43                                                 ` Mimi Zohar
     [not found]                                                   ` <1378856601.2257.208.camel-ofEJDTH4t7tcpOBKWxGlqK+Pbu69ru6nqyM6JfAXOaQ@public.gmane.org>
2013-09-10 23:48                                                     ` H. Peter Anvin
     [not found]                                                       ` <522FAFC4.5090503-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2013-09-10 23:55                                                         ` Mimi Zohar
     [not found]                                                           ` <1378857327.2257.214.camel-ofEJDTH4t7tcpOBKWxGlqK+Pbu69ru6nqyM6JfAXOaQ@public.gmane.org>
2013-09-10 23:58                                                             ` H. Peter Anvin
2013-09-10 18:48                                 ` Kees Cook
2013-09-11  9:32                                 ` joeyli
2013-09-09 20:30 ` Mimi Zohar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).