VirtualBox

Opened 13 years ago

Closed 13 years ago

#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 Kletnieks Owned by:
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 (1)

bug (2.8 KB ) - added by Valdis Kletnieks 13 years ago.
dmesg of kernel BUG with CONFIG_DEBUG_SET_MODULE_RONX

Download all attachments as: .zip

Change History (3)

by Valdis Kletnieks, 13 years ago

Attachment: bug added

dmesg of kernel BUG with CONFIG_DEBUG_SET_MODULE_RONX

comment:1 by Klaus Espenlaub, 13 years ago

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 by Frank Mehnert, 13 years ago

Resolution: fixed
Status: newclosed

This bug was actually fixed in VBox 4.0.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use