[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150318095702.GA2479@node.dhcp.inet.fi>
Date: Wed, 18 Mar 2015 11:57:02 +0200
From: "Kirill A. Shutemov" <kirill@...temov.name>
To: Konstantin Khlebnikov <koct9i@...il.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andy Lutomirski <luto@...capital.net>
Subject: Re: [PATCH RFC] mm: protect suid binaries against rowhammer with
copy-on-read mappings
On Wed, Mar 18, 2015 at 11:30:40AM +0300, Konstantin Khlebnikov wrote:
> From: Konstantin Khlebnikov <khlebnikov@...dex-team.ru>
>
> Each user gets private copy of the code thus nobody will be able to exploit
> pages in the page cache. This works for statically-linked binaries. Shared
> libraries are still vulnerable, but setting suid bit will protect them too.
Hm. Do we have suid/sgid semantic defiend for non-executables?
To me we should do this for all file private mappings of the suid process
or don't do it at all.
And what about forked suid process which dropped privilages. We still have
code pages shared.
I don't think it worth it. The only right way to fix the problem is ECC
memory.
--
Kirill A. Shutemov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists