Bug 212062 - FC6 kernel locks up right away on setting of rodata to read only
Summary: FC6 kernel locks up right away on setting of rodata to read only
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 6
Hardware: i686
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-24 20:07 UTC by Steven Rostedt
Modified: 2015-01-04 22:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-10-28 05:03:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to check for RW changes of rodata instead of RO (632 bytes, patch)
2006-10-24 20:07 UTC, Steven Rostedt
no flags Details | Diff

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



Note You need to log in before you can comment on or make changes to this bug.