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  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, 17 Jan 2019 02:49:16 +0100
From:   Dominique Martinet <>
To:     Jiri Kosina <>
Cc:     Linus Torvalds <>,
        Andy Lutomirski <>,
        Josh Snyder <>,
        Dave Chinner <>,
        Matthew Wilcox <>,
        Jann Horn <>,
        Andrew Morton <>,
        Greg KH <>,
        Peter Zijlstra <>,
        Michal Hocko <>, Linux-MM <>,
        kernel list <>,
        Linux API <>
Subject: Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged

Jiri Kosina wrote on Wed, Jan 16, 2019:
> So if noone sees any principal problem there, I'll happily submit it with 
> proper attribution etc.

I'm not convinced just the write permission check is enough for
mincore(), as Josh also seems to share the concern I raised (e.g. map a
git directory "hot" pages)
We probably need to add an inode_owner_or_capable() or similar, the open
question is do we still need the write access check after that - I don't
really know how expensive these calls are.


Powered by blists - more mailing lists