Thread (44 messages) 44 messages, 11 authors, 2018-02-21

[kernel-hardening] [PATCH 4/6] Protectable Memory

From: Kees Cook <hidden>
Date: 2018-02-12 23:27:19
Also in: linux-mm, lkml

On Sun, Feb 4, 2018 at 7:05 AM, Igor Stoppa [off-list ref] wrote:
On 04/02/18 00:29, Boris Lukashev wrote:
quoted
On Sat, Feb 3, 2018 at 3:32 PM, Igor Stoppa [off-list ref] wrote:
[...]
quoted
quoted
What you are suggesting, if I have understood it correctly, is that,
when the pool is protected, the addresses already given out, will become
traps that get resolved through a lookup table that is built based on
the content of each allocation.

That seems to generate a lot of overhead, not to mention the fact that
it might not play very well with the MMU.
That is effectively what i'm suggesting - as a form of protection for
consumers against direct reads of data which may have been corrupted
by some irrelevant means. In the context of pmalloc, it would probably
be a separate type of ro+verified pool
ok, that seems more like an extension though.

ATM I am having problems gaining traction to get even the basic merged :-)

I would consider this as a possibility for future work, unless it is
said that it's necessary for pmalloc to be accepted ...
I would agree: let's get basic functionality in first. Both
verification and the physmap part can be done separately, IMO.

-Kees

-- 
Kees Cook
Pixel Security
--
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help