PAX overflow detection after resuming from suspend to RAM
Posted: Thu Aug 08, 2013 12:46 am
Starting with kernel 3.10.4 and the grsecurity-2.9.1-3.10.4-201308011855.patch I get the below messages in the logs after resuming from suspend to RAM indicating that PAX has detected a size overflow. Unfortunately, resuming with this leaves the machine in an unhappy state and forces me to reboot. The last kernel which suspended fine is 3.10.3 with the grsecurity-2.9.1-3.10.3-201307261236.patch.
The latest kernel (3.10.5) and grsec patch grsecurity-2.9.1-3.10.5-201308052154.patch continue to show this issue. I have conforimed that a vanilla 3.10.5 kernel with the identical kernel config (sans PAX/grsec options) appears to suspend fine.
Unfortunately, I don't quite know how to interpret this PAX message and how to properly deal with it so any hints would
be greatly appreaciated.
The latest kernel (3.10.5) and grsec patch grsecurity-2.9.1-3.10.5-201308052154.patch continue to show this issue. I have conforimed that a vanilla 3.10.5 kernel with the identical kernel config (sans PAX/grsec options) appears to suspend fine.
Unfortunately, I don't quite know how to interpret this PAX message and how to properly deal with it so any hints would
be greatly appreaciated.
- Code: Select all
Aug 7 23:04:04 localhost kernel: [ 103.566010] PAX: size overflow detected i
n function calc_aperfmperf_ratio /home/markus/local/kernel/3.10.5/linux-3.10.5
-nimrod-1/arch/x86/include/asm/processor.h:970 cicus.22_21 min, count: 12
Aug 7 23:04:04 localhost kernel: [ 103.566014] CPU: 2 PID: 867 Comm: cat Not
tainted 3.10.5-nimrod-1 #1
Aug 7 23:04:04 localhost kernel: [ 103.566015] Hardware name: LENOVO 4177CTO
/4177CTO, BIOS 83ET63WW (1.33 ) 07/29/2011
Aug 7 23:04:04 localhost kernel: [ 103.566016] ffffffffa0101224 ffffffffa01
01224 ffffffffa01011b0 ffffffff81117c71
Aug 7 23:04:04 localhost kernel: [ 103.566019] ffff88020b21f500 ffff88020ad
b3b88 0000000000000003 ffff88020b21f500
Aug 7 23:04:04 localhost kernel: [ 103.566021] ffffffffa010115b 00000001989
fcd1b 000000019b7fe03e ffffffff8142c456
Aug 7 23:04:04 localhost kernel: [ 103.566022] Call Trace:
Aug 7 23:04:04 localhost kernel: [ 103.566027] [<ffffffffa0101224>] ? cpufr
eq_get_measured_perf+0x1b4/0x27b [mperf]
Aug 7 23:04:04 localhost kernel: [ 103.566030] [<ffffffffa0101224>] ? cpufr
eq_get_measured_perf+0x1b4/0x27b [mperf]
Aug 7 23:04:04 localhost kernel: [ 103.566033] [<ffffffffa01011b0>] ? cpufr
eq_get_measured_perf+0x140/0x27b [mperf]
Aug 7 23:04:04 localhost kernel: [ 103.566035] [<ffffffff81117c71>] ? repor
t_size_overflow+0x31/0x40
Aug 7 23:04:04 localhost kernel: [ 103.566038] [<ffffffffa010115b>] ? cpufr
eq_get_measured_perf+0xeb/0x27b [mperf]
Aug 7 23:04:04 localhost kernel: [ 103.566040] [<ffffffff8142c456>] ? __cpu
freq_cpu_get+0x76/0xc0
Aug 7 23:04:04 localhost kernel: [ 103.566042] [<ffffffff8142c5d4>] ? __cpu
freq_driver_getavg+0x54/0xa0
Aug 7 23:04:04 localhost kernel: [ 103.566044] [<ffffffff81431340>] ? dbs_c
heck_cpu+0x170/0x1d0
Aug 7 23:04:04 localhost kernel: [ 103.566047] [<ffffffff814317e0>] ? cpufr
eq_governor_dbs+0x440/0x7e0
Aug 7 23:04:04 localhost kernel: [ 103.566049] [<ffffffff8142d5f9>] ? __cpu
freq_governor+0x49/0x100
Aug 7 23:04:04 localhost kernel: [ 103.566051] [<ffffffff8142d848>] ? __cpu
freq_set_policy+0x198/0x1d0
Aug 7 23:04:04 localhost kernel: [ 103.566053] [<ffffffff8142e1c2>] ? store
_scaling_governor+0xe2/0x1e0
Aug 7 23:04:04 localhost kernel: [ 103.566055] [<ffffffff8142ecf0>] ? cpufr
eq_update_policy+0x120/0x120
Aug 7 23:04:04 localhost kernel: [ 103.566057] [<ffffffff8142d410>] ? store
+0x60/0xa0
Aug 7 23:04:04 localhost kernel: [ 103.566059] [<ffffffff81182f3f>] ? sysfs
_write_file+0x17f/0x230
Aug 7 23:04:04 localhost kernel: [ 103.566061] [<ffffffff81111593>] ? vfs_w
rite+0xf3/0x270
Aug 7 23:04:04 localhost kernel: [ 103.566064] [<ffffffff811120a8>] ? SyS_write+0x48/0xa0
Aug 7 23:04:04 localhost kernel: [ 103.566066] [<ffffffff815f86e3>] ? system_call_fastpath+0x18/0x1d
Aug 7 23:04:04 localhost kernel: [ 103.566069] [<ffffffff815f8713>] ? sysret_check+0x26/0x61
Aug 7 23:04:04 localhost logger: ACPI group/action undefined: processor / LNXCPU:00
Aug 7 23:04:04 localhost logger: ACPI group/action undefined: processor / LNXCPU:01
Aug 7 23:04:04 localhost logger: ACPI group/action undefined: processor / LNXCPU:02
Aug 7 23:04:04 localhost logger: ACPI group/action undefined: processor / LNXCPU:03