dmesg indicates pax is acting even when "CONFIG_PAX=N"
Posted: Sun Jul 06, 2008 11:19 am
Architecture: amd64
kernel: vanilla-sources-2.6.24.7 patched with pax-linux-2.6.24.7-test53.patch COMPILED with "CONFIG_PAX=N"
compiler: gcc-4.3.1 with glibc 2.7
Program run to exhibit problem: vmware-server-1.0.6 build-91891
Operating system: Gentoo
Problem: dmesg indicates that pax is taking action even though "CONFIG_PAX=N". (see below.)
Question: With "CONFIG_PAX=N, shouldn't this kernel act like the corresponding unpatched vanilla kernel, which does run vmware-server without
obeservable error?
PAX: vmware-vmx:6433, uid/euid: 1000/1000, invalid execution attempt at ffffc2000007e010 RIP:
[<ffffc2000007e010>]
PGD 8000000000664063 PUD 21fc46067 PMD 21fc47063 PTE c09063
Oops: 0011 [1] SMP
CPU 1
Modules linked in: vmnet(P) vmmon(P) ipt_REJECT iptable_filter iptable_mangle iptable_raw ip_tables x_tables vboxdrv pwc nvidia(P) snd_hda_intel ohci1394 i2c_core ieee1394 loop
Pid: 6433, comm: vmware-vmx Tainted: P 2.6.24-vanilla-v7-pax-patched-nopax #4
RIP: 0010:[<ffffc2000007e010>] [<ffffc2000007e010>]
RSP: 0000:ffff81020c561c50 EFLAGS: 00013046
RAX: ffffc2000007e010 RBX: ffffc2000007e000 RCX: ffffc2000007e000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00002b7067b586f0 R08: 0000000000000001 R09: ffff8102121feee8
R10: ffff81020c560000 R11: 0000000000000001 R12: ffff81021fc6ae40
R13: 00000000f3242b90 R14: 0000000000000000 R15: 0000000000000063
FS: 00002b7067b586f0(0000) GS:ffff81021fc6ae40(0063) knlGS:00000000f3242b90
CS: 0010 DS: 002b ES: 002b CR0: 000000008005003b
CR2: ffffc2000007e010 CR3: 000000020c49f000 CR4: 0000000000000660
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process vmware-vmx (pid: 6433, threadinfo ffff81020c560000, task ffff81021fd5b830)
Stack: ffffffff88bcef97 03800e06043c0400 0000000000000000 ffff810218c40000
0000000000003286 000000008005003b 00000000f3242de0 00000000000006e0
0000000000007440 ffff8066d000007f 452e006d0078ffff d800000480635a80
Call Trace:
[<ffffffff88bcef97>] :vmmon:Task_Switch_S1B1+0x2f7/0xab0
[<ffffffff88bdc2e6>] :vmmon:Vmx86_RunVM_S1B1+0xb6/0x210
[<ffffffff88bc564a>] :vmmon:init_module+0x11aa/0x4220
[<ffffffff88bc65f9>] :vmmon:init_module+0x2159/0x4220
[<ffffffff88bc8310>] :vmmon:init_module+0x3e70/0x4220
[<ffffffff802b6741>] compat_sys_ioctl+0x91/0x3e0
[<ffffffff80256aaa>] compat_sys_setitimer+0x14a/0x160
[<ffffffff802193a2>] ia32_sysret+0x0/0xa
Code: 48 8b 91 54 07 00 00 ff 34 24 48 89 54 24 08 48 8d 91 2c 07
RIP [<ffffc2000007e010>]
RSP <ffff81020c561c50>
CR2: ffffc2000007e010
---[ end trace 703c709996da97c6 ]---
kernel: vanilla-sources-2.6.24.7 patched with pax-linux-2.6.24.7-test53.patch COMPILED with "CONFIG_PAX=N"
compiler: gcc-4.3.1 with glibc 2.7
Program run to exhibit problem: vmware-server-1.0.6 build-91891
Operating system: Gentoo
Problem: dmesg indicates that pax is taking action even though "CONFIG_PAX=N". (see below.)
Question: With "CONFIG_PAX=N, shouldn't this kernel act like the corresponding unpatched vanilla kernel, which does run vmware-server without
obeservable error?
PAX: vmware-vmx:6433, uid/euid: 1000/1000, invalid execution attempt at ffffc2000007e010 RIP:
[<ffffc2000007e010>]
PGD 8000000000664063 PUD 21fc46067 PMD 21fc47063 PTE c09063
Oops: 0011 [1] SMP
CPU 1
Modules linked in: vmnet(P) vmmon(P) ipt_REJECT iptable_filter iptable_mangle iptable_raw ip_tables x_tables vboxdrv pwc nvidia(P) snd_hda_intel ohci1394 i2c_core ieee1394 loop
Pid: 6433, comm: vmware-vmx Tainted: P 2.6.24-vanilla-v7-pax-patched-nopax #4
RIP: 0010:[<ffffc2000007e010>] [<ffffc2000007e010>]
RSP: 0000:ffff81020c561c50 EFLAGS: 00013046
RAX: ffffc2000007e010 RBX: ffffc2000007e000 RCX: ffffc2000007e000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00002b7067b586f0 R08: 0000000000000001 R09: ffff8102121feee8
R10: ffff81020c560000 R11: 0000000000000001 R12: ffff81021fc6ae40
R13: 00000000f3242b90 R14: 0000000000000000 R15: 0000000000000063
FS: 00002b7067b586f0(0000) GS:ffff81021fc6ae40(0063) knlGS:00000000f3242b90
CS: 0010 DS: 002b ES: 002b CR0: 000000008005003b
CR2: ffffc2000007e010 CR3: 000000020c49f000 CR4: 0000000000000660
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process vmware-vmx (pid: 6433, threadinfo ffff81020c560000, task ffff81021fd5b830)
Stack: ffffffff88bcef97 03800e06043c0400 0000000000000000 ffff810218c40000
0000000000003286 000000008005003b 00000000f3242de0 00000000000006e0
0000000000007440 ffff8066d000007f 452e006d0078ffff d800000480635a80
Call Trace:
[<ffffffff88bcef97>] :vmmon:Task_Switch_S1B1+0x2f7/0xab0
[<ffffffff88bdc2e6>] :vmmon:Vmx86_RunVM_S1B1+0xb6/0x210
[<ffffffff88bc564a>] :vmmon:init_module+0x11aa/0x4220
[<ffffffff88bc65f9>] :vmmon:init_module+0x2159/0x4220
[<ffffffff88bc8310>] :vmmon:init_module+0x3e70/0x4220
[<ffffffff802b6741>] compat_sys_ioctl+0x91/0x3e0
[<ffffffff80256aaa>] compat_sys_setitimer+0x14a/0x160
[<ffffffff802193a2>] ia32_sysret+0x0/0xa
Code: 48 8b 91 54 07 00 00 ff 34 24 48 89 54 24 08 48 8d 91 2c 07
RIP [<ffffc2000007e010>]
RSP <ffff81020c561c50>
CR2: ffffc2000007e010
---[ end trace 703c709996da97c6 ]---