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  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:   Tue, 5 May 2020 13:42:12 +0200
From:   Jann Horn <>
To:     Christoph Hellwig <>
Cc:     Andrew Morton <>,
        Linus Torvalds <>,
        kernel list <>,
        Linux-MM <>,
        linux-fsdevel <>,
        Alexander Viro <>,
        "Eric W . Biederman" <>,
        Oleg Nesterov <>,
        Russell King <>,
        Linux ARM <>,
        Mark Salter <>,
        Aurelien Jacquiot <>,,
        Yoshinori Sato <>,
        Rich Felker <>,
        Linux-sh list <>
Subject: Re: [PATCH v2 1/5] binfmt_elf_fdpic: Stop using dump_emit() on user
 pointers on !MMU

On Tue, May 5, 2020 at 12:48 PM Christoph Hellwig <> wrote:
> On Wed, Apr 29, 2020 at 11:49:50PM +0200, Jann Horn wrote:
> > dump_emit() is for kernel pointers, and VMAs describe userspace memory.
> > Let's be tidy here and avoid accessing userspace pointers under KERNEL_DS,
> > even if it probably doesn't matter much on !MMU systems - especially given
> > that it looks like we can just use the same get_dump_page() as on MMU if
> > we move it out of the CONFIG_MMU block.
> Looks sensible.  Did you get a chance to test this with a nommu setup?

Nope. Do you happen to have a recommendation for a convenient
environment I can use with QEMU, or something like that? I'm guessing
that just running a standard armel Debian userspace with a !mmu ARM
kernel wouldn't work so well?

Powered by blists - more mailing lists