Ticket #7827 (closed defect: fixed)
3.2.12 BUG during modprobe on x86_64 if CONFIG_DEBUG_SET_MODULE_RONX set in kernel
|Reported by:||valdis||Owned by:|
A heads-up for possible kernel incompatibility coming down the pipe...
Recent linux-next (targeting the 2.6.38 release) development kernels include an extension to allow modules to also be set to RO/NX status. It looks like the problem is that g_abExecMemory is defined with permission bits 'awx'. I haven't studied it enough to tell if redefining it with other permissions will suffice, or if you'll need to open-code the unset_section_ro_nx() function from the patch, or if it should be a permanent restriction that SET_MODULE_RONX=n has to be in the kernel config, or some other solution.
The problematic patch is here: http://git.kernel.org/tip/84e1c6bb38eb318e456558b610396d9f1afaabf0
I've attached the ugly details of the crash