Add kernel lockdown functionality
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v40 Latest29 patches 22 repliesIn review
- v3829 patches 12 repliesSuperseded
- v3729 patches 9 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v36 | 29 patches | 7 replies | Superseded | |
| v35 | 29 patches | 8 replies | Superseded | |
| v34 | 29 patches | 50 replies | Superseded | |
| v33 | 30 patches | 27 replies | Superseded | |
| v1 RFC | 2 patches | 1 reply | Superseded |
Patches in v40 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/29 | security: Support early LSMsinclude/ include/ include/ +2 more | +62 | 0 replies | |
| 2/29 | security: Add a "locked down" LSM hookinclude/ include/ security/ | +45 | 0 replies | |
| 3/29 | security: Add a static lockdown policy LSMDocumentation/ include/ security/ +4 more | +236 | 3 replies | |
| 4/29 | lockdown: Enforce module signatures if the kernel is locked downinclude/ init/ kernel/ +2 more | +38 | 2 replies | |
| 5/29 | lockdown: Restrict /dev/{mem,kmem,port} when the kernel is locked downdrivers/ include/ security/ | +7 | 0 replies | |
| 6/29 | kexec_load: Disable at runtime if the kernel is locked downinclude/ kernel/ security/ | +10 | 0 replies | |
| 7/29 | lockdown: Copy secure_boot flag in boot params across kexec rebootarch/ | +1 | 0 replies | |
| 8/29 | kexec_file: split KEXEC_VERIFY_SIG into KEXEC_SIG and KEXEC_SIG_FORCEarch/ arch/ arch/ +12 more | +88 | 1 reply | |
| 9/29 | kexec_file: Restrict at runtime if the kernel is locked downkernel/ | +1 | 0 replies | |
| 10/29 | hibernate: Disable when the kernel is locked downinclude/ kernel/ security/ | +4 | 2 replies | |
| 11/29 | PCI: Lock down BAR access when the kernel is locked downdrivers/ drivers/ drivers/ +2 more | +33 | 2 replies | |
| 12/29 | x86: Lock down IO port access when the kernel is locked downarch/ include/ security/ | +7 | 6 replies | |
| 13/29 | x86/msr: Restrict MSR access when the kernel is locked downarch/ include/ security/ | +10 | 0 replies | |
| 14/29 | ACPI: Limit access to custom_method when the kernel is locked downdrivers/ include/ security/ | +8 | 1 reply | |
| 15/29 | acpi: Ignore acpi_rsdp kernel param when the kernel has been locked downarch/ arch/ arch/ +4 more | +49 | 1 reply | |
| 16/29 | acpi: Disable ACPI table override if the kernel is locked downdrivers/ | +6 | 1 reply | |
| 17/29 | lockdown: Prohibit PCMCIA CIS storage when the kernel is locked downdrivers/ include/ security/ | +7 | 0 replies | |
| 18/29 | lockdown: Lock down TIOCSSERIALdrivers/ include/ security/ | +7 | 0 replies | |
| 19/29 | lockdown: Lock down module params that specify hardware parameters (eg. ioport)include/ kernel/ security/ | +18 | 1 reply | |
| 20/29 | x86/mmiotrace: Lock down the testmmiotrace modulearch/ include/ security/ | +7 | 0 replies | |
| 21/29 | lockdown: Lock down /proc/kcorefs/ include/ security/ | +7 | 0 replies | |
| 22/29 | lockdown: Lock down tracing and perf kprobes when in confidentiality modeinclude/ kernel/ security/ | +7 | 0 replies | |
| 23/29 | bpf: Restrict bpf when kernel lockdown is in confidentiality modeinclude/ kernel/ security/ | +12 | 1 reply | |
| 24/29 | lockdown: Lock down perf when in confidentiality modeinclude/ kernel/ security/ | +9 | 0 replies | |
| 25/29 | kexec: Allow kexec_file() with appropriate IMA policy when locked downinclude/ kernel/ security/ +2 more | +71 | 0 replies | |
| 26/29 | debugfs: Restrict debugfs when the kernel is locked downfs/ fs/ include/ +1 more | +62 | 0 replies | |
| 27/29 | tracefs: Restrict tracefs when the kernel is locked downfs/ include/ security/ | +43 | 0 replies | |
| 28/29 | efi: Restrict efivar_ssdt_load when the kernel is locked downdrivers/ | +6 | 0 replies | |
| 29/29 | lockdown: Print current->comm in restriction messagesfs/ security/ | +9 | 0 replies |
Reviews trailers per patch
26 of 29 patches have a Reviewed-by or Acked-by.
| Patch | Kees Cook | Casey Schaufler | Dave Young | Bjorn Helgaas | Thomas Gleixner | Steven Rostedt (VMware) | Masami Hiramatsu | Mimi Zohar | Ard Biesheuvel | Jessica Yu | Rafael J. Wysocki | Pavel Machek |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1/29 | A-b | A-b | ||||||||||
| 2/29 | A-b | A-b | ||||||||||
| 3/29 | R-b | |||||||||||
| 4/29 | R-b | |||||||||||
| 5/29 | R-b | |||||||||||
| 6/29 | R-b | A-b | ||||||||||
| 7/29 | R-b | |||||||||||
| 8/29 | ||||||||||||
| 9/29 | ||||||||||||
| 10/29 | R-b | A-b | A-b | |||||||||
| 11/29 | R-b | A-b | ||||||||||
| 12/29 | R-b | |||||||||||
| 13/29 | A-b | R-b | ||||||||||
| 14/29 | R-b | A-b | ||||||||||
| 15/29 | R-b | A-b | ||||||||||
| 16/29 | R-b | A-b | ||||||||||
| 17/29 | R-b | |||||||||||
| 18/29 | R-b | |||||||||||
| 19/29 | R-b | A-b | ||||||||||
| 20/29 | R-b | A-b | ||||||||||
| 21/29 | R-b | |||||||||||
| 22/29 | R-b | A-b | ||||||||||
| 23/29 | R-b | |||||||||||
| 24/29 | R-b | |||||||||||
| 25/29 | A-b | |||||||||||
| 26/29 | ||||||||||||
| 27/29 | R-b | |||||||||||
| 28/29 | R-b | A-b | ||||||||||
| 29/29 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 12 reviewers.
Cover letter [PATCH V40 00/29] Add kernel lockdown functionality
After chatting with James in person, I'm resending the full set with the fixes merged in in order to avoid any bisect issues. There should be no functional changes other than avoiding build failures with some configs, and fixing the oops in tracefs.