Here's the output of the test module, verifying that refcount overflow protection is working:
Feb 15 09:00:14 ubuntu kernel: [ 881.624940] PAX: testing refcount overflow protection... Feb 15 09:00:14 ubuntu kernel: [ 881.625347] counter = 2147483647 Feb 15 09:00:14 ubuntu kernel: [ 881.625864] PAX: From 204.204.204.204: refcount overflow detected in: insmod:2940, uid/euid: 0/0 Feb 15 09:00:14 ubuntu kernel: [ 881.627315] PAX: refcount overflow occured at: overflow_init+0x38/0x3c [overflow] Feb 15 09:00:14 ubuntu kernel: [ 881.627392] Feb 15 09:00:14 ubuntu kernel: [ 881.627531] Pid: 2940, comm: insmod Not tainted (2.6.32.52+drm33.21-pax-refcount #1) VMware Virtual Platform Feb 15 09:00:14 ubuntu kernel: [ 881.627620] EIP: 0060:[<f8234038>] EFLAGS: 00200a16 CPU: 0 Feb 15 09:00:14 ubuntu kernel: [ 881.627641] EIP is at overflow_init+0x38/0x3c [overflow] Feb 15 09:00:14 ubuntu kernel: [ 881.627661] EAX: 00000029 EBX: 00000000 ECX: c075a60c EDX: 00000000 Feb 15 09:00:14 ubuntu kernel: [ 881.627679] ESI: 00000000 EDI: 00b61918 EBP: f306bf5c ESP: f306bf50 Feb 15 09:00:14 ubuntu kernel: [ 881.627700] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 Feb 15 09:00:14 ubuntu kernel: [ 881.627747] CR0: 8005003b CR2: b7835000 CR3: 3303c000 CR4: 000006d0 Feb 15 09:00:14 ubuntu kernel: [ 881.627932] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 Feb 15 09:00:14 ubuntu kernel: [ 881.627980] DR6: ffff0ff0 DR7: 00000400 Feb 15 09:00:14 ubuntu kernel: [ 881.628044] Call Trace: Feb 15 09:00:14 ubuntu kernel: [ 881.628716] [<c0101132>] do_one_initcall+0x32/0x1a0 Feb 15 09:00:14 ubuntu kernel: [ 881.628800] [<f8234000>] ? overflow_init+0x0/0x3c [overflow] Feb 15 09:00:14 ubuntu kernel: [ 881.628810] [<c017f223>] sys_init_module+0xb3/0x210 Feb 15 09:00:14 ubuntu kernel: [ 881.628815] [<c010308c>] syscall_call+0x7/0xb Feb 15 09:00:14 ubuntu kernel: [ 881.628823] [<c0580000>] ? unregister_jprobes+0x0/0x80 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/932850 Title: add PAX refcount overflow protection To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/932850/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
