Bug 212062

Summary: FC6 kernel locks up right away on setting of rodata to read only
Product: [Fedora] Fedora Reporter: Steven Rostedt <srostedt>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6CC: pfrields, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-28 05:03:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to check for RW changes of rodata instead of RO none

Description Steven Rostedt 2006-10-24 20:07:20 UTC
Description of problem:
Kernel hangs on start up due to execshield and readonly data.

Version-Release number of selected component (if applicable):
devel

How reproducible:
always

Steps to Reproduce:
1.boot kernel
2.locks up
3.
  
Actual results:
locks up

Expected results:
continues


Additional info:

The problem is that the code in change_page_attr checks to see if the ro
data section is being change to PAGE_KERNEL_RO.  I believe what should be
done is to check to see if this section is being set to RW.

Attached is a patch.

Comment 1 Steven Rostedt 2006-10-24 20:07:24 UTC
Created attachment 139266 [details]
patch to check for RW changes of rodata instead of RO

Comment 2 Dave Jones 2006-10-28 05:03:00 UTC
fixed in cvs