On Wednesday, June 29, 2016 07:52:18 PM Logan Gunthorpe wrote:
Hey Raf,
Sorry to report that although the patch works the majority of the time,
I just got a suspicious kernel panic during resume.
It said:
"kernel tried to execute NX protected page - exploit attempt? (uid: 0)"
You can find a photo of the panic here:
http://staff.deltatee.com/~logang/panic.jpg
Thanks for the report!
That's not what Boris was seeing at least.
It looks like clearing the NX bit for relocated_restore_code in
relocate_restore_code() didn't work for some reason.
I don't see why it may not work ATM, I need to have a fresh look at that
tomorrow.
I had hoped to be able to fix this bug for 4.7, but it looks like it will
miss the mark after all. Oh well.
Thanks,
Rafael