On Thu, Aug 20, 2015 at 11:22:43AM -0700, H. Peter Anvin wrote: > There is a valid reason to do this, which is that currently > copy_{to,from}_user() effectively bypass SMAP as they don't verify that > the kernel pointer is actually a kernel pointer.
Well, we do STAC before we copy but SMAP is checking for supervisor access to *user* data. But you say "kernel pointers" which is supervisor data. What am I missing? -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/