lkml.org 
[lkml]   [2019]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH V31 25/25] debugfs: Disable open() when kernel is locked down
    On Tue, Mar 26, 2019 at 11:28 AM Matthew Garrett
    <matthewgarrett@google.com> wrote:
    >
    > From: Matthew Garrett <mjg59@google.com>
    >
    > debugfs has not been meaningfully audited in terms of ensuring that
    > userland cannot trample over the kernel. At Greg's request, disable
    > access to it entirely when the kernel is locked down. This is done at
    > open() time rather than init time as the kernel lockdown status may be
    > made stricter at runtime.

    Ugh. Some of those files are very useful. Could this perhaps still
    allow O_RDONLY if we're in INTEGRITY mode?

    \
     
     \ /
      Last update: 2019-03-26 20:21    [W:4.096 / U:0.408 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site