lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 5 Apr 2018 09:48:20 +0800
From:   joeyli <>
To:     David Howells <>
Cc:     Jann Horn <>, Alexei Starovoitov <>,
        Andy Lutomirski <>,
        Greg Kroah-Hartman <>,
        "Theodore Y. Ts'o" <>,
        Matthew Garrett <>,
        Linus Torvalds <>,
        Ard Biesheuvel <>,
        James Morris <>,
        Alan Cox <>,
        Linux Kernel Mailing List <>,
        Justin Forbes <>,
        linux-man <>,
        LSM List <>,
        Linux API <>,
        Kees Cook <>,
        linux-efi <>
Subject: Re: An actual suggestion (Re: [GIT PULL] Kernel lockdown for secure

On Wed, Apr 04, 2018 at 11:19:27PM +0100, David Howells wrote:
> Jann Horn <> wrote:
> > > Uh, no.  bpf, for example, can be used to modify kernel memory.
> > 
> > I'm pretty sure bpf isn't supposed to be able to modify arbitrary
> > kernel memory. AFAIU if you can use BPF to write to arbitrary kernel
> > memory, that's a bug; with CAP_SYS_ADMIN, you can read from userspace,
> > write to userspace, and read from kernelspace, but you shouldn't be
> > able to write to kernelspace.
> Ah - you may be right.  I seem to have misremembered what Joey Lee wrote in
> his patch description.

Sorry for it's my fault to misunderstood the behavoir of bpf with

Joey Lee

Powered by blists - more mailing lists