Re: [PATCH] modules: fix BUG when load module with rodata=n

2019-06-19 Thread Jessica Yu
+++ Yang Yingliang [19/06/19 10:28 +0800]: On 2019/6/18 21:48, Jessica Yu wrote: +++ Yang Yingliang [17/06/19 14:59 +0800]: When loading a module with rodata=n, it causes an executing NX-protected page BUG. [ 32.379191] kernel tried to execute NX-protected page - exploit attempt? (uid: 0)

Re: [PATCH] modules: fix BUG when load module with rodata=n

2019-06-18 Thread Yang Yingliang
On 2019/6/18 21:48, Jessica Yu wrote: +++ Yang Yingliang [17/06/19 14:59 +0800]: When loading a module with rodata=n, it causes an executing NX-protected page BUG. [ 32.379191] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 32.382917] BUG: unable to handle page

Re: [PATCH] modules: fix BUG when load module with rodata=n

2019-06-18 Thread Jessica Yu
+++ Nadav Amit [18/06/19 05:59 +]: On Jun 16, 2019, at 11:59 PM, Yang Yingliang wrote: When loading a module with rodata=n, it causes an executing NX-protected page BUG. [ 32.379191] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 32.382917] BUG: unable to hand

Re: [PATCH] modules: fix BUG when load module with rodata=n

2019-06-18 Thread Jessica Yu
+++ Yang Yingliang [17/06/19 14:59 +0800]: When loading a module with rodata=n, it causes an executing NX-protected page BUG. [ 32.379191] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 32.382917] BUG: unable to handle page fault for address: c0005000 [ 32

Re: [PATCH] modules: fix BUG when load module with rodata=n

2019-06-17 Thread Nadav Amit
> On Jun 16, 2019, at 11:59 PM, Yang Yingliang wrote: > > When loading a module with rodata=n, it causes an executing > NX-protected page BUG. > > [ 32.379191] kernel tried to execute NX-protected page - exploit attempt? > (uid: 0) > [ 32.382917] BUG: unable to handle page fault for address

[PATCH] modules: fix BUG when load module with rodata=n

2019-06-16 Thread Yang Yingliang
When loading a module with rodata=n, it causes an executing NX-protected page BUG. [ 32.379191] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 32.382917] BUG: unable to handle page fault for address: c0005000 [ 32.385947] #PF: supervisor instruction fetch in