GPF: grsecurity-3.0-3.12.2-201312032145.patch

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

GPF: grsecurity-3.0-3.12.2-201312032145.patch

Postby x14sg1 » Thu Dec 05, 2013 2:37 am

Hello,

Using the above patch, I get a general protection fault when booting a VirtualBox 4.3.4 Slackware
Linux system. grsecurity-3.0-3.12.1-201311261522.patch also gets a GFP during boot. Both of
these patches boots successfully outside VirtualBox.

The last patch that boots successfully within VirtualBox is grsecurity-3.0-3.11.9-201311242034.patch.

My config, kernel, and a png screenshot of grsecurity-3.0-3.12.2-201312032145.patch are available here:

https://home.comcast.net/~x14sg1/config
https://home.comcast.net/~x14sg1/vmlinuz
https://home.comcast.net/~x14sg1/GPF.png

Thanks,

Tim
x14sg1
 
Posts: 137
Joined: Sun Aug 23, 2009 7:47 pm

Re: GPF: grsecurity-3.0-3.12.2-201312032145.patch

Postby PaX Team » Thu Dec 05, 2013 7:32 am

did you have CONFIG_X86_INTEL_PSTATE enabled in 3.11 as well? can you try vanilla 3.12 with that enabled?
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: GPF: grsecurity-3.0-3.12.2-201312032145.patch

Postby x14sg1 » Thu Dec 05, 2013 1:11 pm

Thanks for the reply

CONFIG_X86_INTEL_PSTATE is in the config for grsecurity-3.0-3.11.9-201311242034.patch and it
does boot.

Vanilla 3.12.3 gets a slightly different GFP so it looks like it is a kernel issue and I put a screenshot
of it here:

https://home.comcast.net/~x14sg1/GPF2.png

I apologize for not trying a Vanilla kernel before sending in this report.

Thanks for looking at it.

Tim
x14sg1
 
Posts: 137
Joined: Sun Aug 23, 2009 7:47 pm

Re: GPF: grsecurity-3.0-3.12.2-201312032145.patch

Postby PaX Team » Thu Dec 05, 2013 2:06 pm

it's the same rdmsrl(MSR_NHM_TURBO_RATIO_LIMIT, value) in intel_pstate_turbo_pstate in both cases that fails. my guess is that since this code is the same in 3.11, it probably didn't at all get called there. in any case, please let upstream know and figure this out.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: GPF: grsecurity-3.0-3.12.2-201312032145.patch

Postby x14sg1 » Thu Dec 05, 2013 6:38 pm

Thanks - will do

BTW: Disabling CONFIG_X86_INTEL_PSTATE allows me to boot grsec and vanilla 3.12.2
x14sg1
 
Posts: 137
Joined: Sun Aug 23, 2009 7:47 pm

Re: GPF: grsecurity-3.0-3.12.2-201312032145.patch

Postby x14sg1 » Sat Dec 21, 2013 2:20 pm

Update:

CONFIG_X86_INTEL_PSTATE=y now works with linux kernel 3.12.6 and VirtualBox 4.3.6.

I do not know in which kernel version it was fixed.
x14sg1
 
Posts: 137
Joined: Sun Aug 23, 2009 7:47 pm


Return to grsecurity support