Re: lvcreate on 2.6.22.1: kernel tried to execute NX-protected page

From: Juergen Kreileder
Date: Sun Aug 05 2007 - 15:52:36 EST


Arjan van de Ven wrote:
> On Sun, 2007-08-05 at 21:03 +0200, Juergen Kreileder wrote:
>> I've upgraded devmapper to 1.02.20 and lvm2 to 2.02.26. Didn't help much,
>> I just got a the same BUG again:
>>
>> kernel tried to execute NX-protected page - exploit attempt? (uid: 0)
>> BUG: unable to handle kernel paging request at virtual address f492c1f8
>
>
> I suspect this is a module that got unloaded but still had some function
> pointer registered somewhere.....
>
> do you know if/which module that could be?
> (one trick is to compile the kernel such that you don't allow modules to
> be unloaded at all; if that makes it work it's clearly the type of bug I
> described above)

It's a static kernel, no modules. I've attached the config.


Juergen


Attachment: config-2.6.22.1-jk1-exec-shield.gz
Description: GNU Zip compressed data