Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1315234
| Path | csiph.com!goblin1!goblin.stu.neva.ru!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Laura Abbott <laura@labbott.name> |
| Newsgroups | linux.kernel |
| Subject | Re: [kernel-hardening] [PATCH v4 0/8] introduce post-init read-only memory |
| Date | Fri, 22 Jan 2016 20:20:02 +0100 |
| Message-ID | <qTPpw-8pj-19@gated-at.bofh.it> (permalink) |
| References | <qSIT8-33H-5@gated-at.bofh.it> <qTNH3-7bM-3@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=labbott.name; s=google; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=zpMavMbKrLB9RM/R3VwHwomp7w4b9p0UiZvkAV0IClI=; b=tbnXepOGwqjl/EhYFB9/9d0pZb163JyXhmjAtSNFJgAOwtf6uALz6ImdGL4nIbXvVq 00dTxO1DcOj/IBha11aH51BzpXHfys3/NW+fA/z2mN1WWUE/LAeOzHA6Ma2UwTk4DnqN g9Tmk7sRLBqpCnj2U+Y4X6EQKdDhWpdP0QF/Q= |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=zpMavMbKrLB9RM/R3VwHwomp7w4b9p0UiZvkAV0IClI=; b=MCow0CGeVlEvG/PqtoEbK5lPBLdaYK9di+g5tsBmqO8LzVVfw8NQqnYqeJSJK7LKVg sN2Xou5Vi5ryRYSaTECI6R+FiAupT+/46vXK1Nuq/uLhZ7KP36k5Xtlp5NWx9Dx3uqQo 3lNsKtbSqy3q3R9Rg1HQQ202arziV9jSEaQBMHWoz61XK3YzCCDkW7i4DSXiBsKL4dP6 99R28YoPPyVv5dKkIk8mSpwQnM04db5yxfKhxD26Tkj8mSpY7+Xr3lha0NDZElSMFwNr +cIoUeiyY9mrtwbKBSwB3ApD+wj9oz5efGi4HTcyfyWWktmiLfUW3Y+7sNfepQjlyrE5 ZdAw== |
| X-Gm-Message-State | AG10YORbTzBh89FT5K7IXGjR5pcn4tg/yr1wW2HQDGzVzAwxqOCXcADxdGmc4G4cSFmehg== |
| X-Received | by 10.67.22.97 with SMTP id hr1mr6769712pad.49.1453490220958; Fri, 22 Jan 2016 11:17:00 -0800 (PST) |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 28 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Ingo Molnar <mingo@redhat.com>, Kees Cook <keescook@chromium.org>, Andy Lutomirski <luto@amacapital.net>, "H. Peter Anvin" <hpa@zytor.com>, Michael Ellerman <mpe@ellerman.id.au>, Mathias Krause <minipli@googlemail.com>, Thomas Gleixner <tglx@linutronix.de>, x86@kernel.org, Arnd Bergmann <arnd@arndb.de>, PaX Team <pageexec@freemail.hu>, Emese Revfy <re.emese@gmail.com>, linux-kernel@vger.kernel.org, linux-arch <linux-arch@vger.kernel.org> |
| X-Original-Date | Fri, 22 Jan 2016 11:16:57 -0800 |
| X-Original-Message-ID | <56A28029.2060608@labbott.name> |
| X-Original-References | <1453226922-16831-1-git-send-email-keescook@chromium.org> <20160122171954.GA3945@davidb.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1315234 |
Show key headers only | View raw
On 1/22/16 9:19 AM, David Brown wrote: > On Tue, Jan 19, 2016 at 10:08:34AM -0800, Kees Cook wrote: > >> This introduces __ro_after_init as a way to mark such memory, and uses >> it on the x86 vDSO to kill an extant kernel exploitation method. Also >> adds a new kernel parameter to help debug future use and adds an lkdtm >> test to check the results. > > I've tested these patches on 32-bit ARM using the provoke-crashes > test. However, they do require CONFIG_ARM_KERNMEM_PERMS to be enabled > as well, which does incur additional memory usage. > > Do we want to consider making CONFIG_ARM_KERNMEM_PERMS default y for > security reasons, and just document that memory-constrained systems > may want to turn it off? > > I'll test the arm64 next. > > David Kees had previously pushed a patch to do so but it exposed a couple of underlying issues, mostly with low power paths (c.f. http://article.gmane.org/gmane.linux.ports.arm.kernel/471199, http://article.gmane.org/gmane.linux.kernel.mm/143489) Those will need to be all fixed up before this could be made default. Thanks, Laura
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 0/8] introduce post-init read-only memory Kees Cook <keescook@chromium.org> - 2016-01-19 19:20 +0100
[PATCH v4 7/8] lkdtm: verify that __ro_after_init works correctly Kees Cook <keescook@chromium.org> - 2016-01-19 19:20 +0100
Re: [kernel-hardening] [PATCH v4 0/8] introduce post-init read-only memory David Brown <david.brown@linaro.org> - 2016-01-22 18:30 +0100
Re: [kernel-hardening] [PATCH v4 0/8] introduce post-init read-only memory Laura Abbott <laura@labbott.name> - 2016-01-22 20:20 +0100
Re: [kernel-hardening] [PATCH v4 0/8] introduce post-init read-only memory Kees Cook <keescook@chromium.org> - 2016-01-22 21:00 +0100
Re: [kernel-hardening] [PATCH v4 0/8] introduce post-init read-only memory Geert Uytterhoeven <geert@linux-m68k.org> - 2016-01-23 10:50 +0100
csiph-web