VirtualBox

Ticket #7827 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

3.2.12 BUG during modprobe on x86_64 if CONFIG_DEBUG_SET_MODULE_RONX set in kernel

Reported by: valdis Owned by:
Priority: major Component: other
Version: VirtualBox 3.2.12 Keywords:
Cc: Guest type: other
Host type: Linux

Description

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

Attachments

bug Download (2.8 KB) - added by valdis 3 years ago.
dmesg of kernel BUG with CONFIG_DEBUG_SET_MODULE_RONX

Change History

Changed 3 years ago by valdis

  • attachment bug Download added

dmesg of kernel BUG with CONFIG_DEBUG_SET_MODULE_RONX

comment:1 Changed 3 years ago by klaus

The reporter guessed on IRC that 2.6.38 would be finished early April, and the Fedora guys seem to agree (they're planning to include it in FC15, and talk about early April as well).

comment:2 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

This bug was actually fixed in VBox 4.0.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use