Re: [do_execve] attempted to set unsupported pgprot

2018-04-19 Thread Dave Hansen
On 04/18/2018 12:59 PM, Andrew Morton wrote: > Dave, fb43d6cb91ef57 ("x86/mm: Do not auto-massage page protections") > looks like a culprit? This looks like a problem when a 32-bit kernel runs on hardware without NX support. I'm digging into it but haven't found a root cause yet.

Re: [do_execve] attempted to set unsupported pgprot

2018-04-18 Thread Dave Hansen
On 04/18/2018 12:59 PM, Andrew Morton wrote: >> [ 12.348499] [ cut here ] >> [ 12.349193] attempted to set unsupported pgprot: 8025 bits: >> 8000 supported: 7fff >> [ 12.350792] WARNING: CPU: 0 PID: 1 at arch/x86/include/asm/pgtable

Re: [do_execve] attempted to set unsupported pgprot

2018-04-18 Thread Andrew Morton
On Wed, 18 Apr 2018 21:59:33 +0800 Fengguang Wu wrote: > Hello, > > FYI this happens in mainline kernel 4.17.0-rc1. > It looks like a new regression. > > It occurs in 4 out of 4 boots. > > [ 12.345562] Write protecting the kernel text: 14376k > [ 12.346649] Write protecting the kernel read