#7827 closed defect (fixed)
3.2.12 BUG during modprobe on x86_64 if CONFIG_DEBUG_SET_MODULE_RONX set in kernel
回報者: | Valdis Kletnieks | 負責人: | |
---|---|---|---|
元件: | other | 版本: | VirtualBox 3.2.12 |
關鍵字: | 副本: | ||
Guest type: | other | Host type: | Linux |
描述
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
dmesg of kernel BUG with CONFIG_DEBUG_SET_MODULE_RONX