Bug 137138 - [Patch] java crashes because of execute disable mapping of data
Summary: [Patch] java crashes because of execute disable mapping of data
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel   
(Show other bugs)
Version: 3.0
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Ernie Petrides
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2004-10-26 00:52 UTC by Suresh Siddha
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-12-15 22:01:52 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Proposal for a fix (583 bytes, patch)
2004-10-26 00:54 UTC, Suresh Siddha
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2004:550 normal SHIPPED_LIVE Updated kernel packages available for Red Hat Enterprise Linux 3 Update 4 2004-12-20 05:00:00 UTC

Description Suresh Siddha 2004-10-26 00:52:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
For a legacy binary(which doesn't have PT_GNU_STACK program header 
and assumes READ implies EXEC behaviour), kernel is mapping data 
segment as not executable. Because of this issue java doesn't run  on 
a processor which supports 'execute disable' feature

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

How reproducible:

Steps to Reproduce:
1.Boot the x86 kernel on a processor which supports exec disable 
2.Run java. It hangs with recursive seg faults.

Additional info:

Comment 1 Suresh Siddha 2004-10-26 00:54:44 UTC
Created attachment 105764 [details]
Proposal for a fix

2.6 kernels have solved this issue by using READ_IMPLIES_EXEC personality.

Comment 2 Ernie Petrides 2004-12-15 22:01:52 UTC
This problem was resolved in the RHEL3 U4 kernel on 1-Dec-2004
(in kernel version 2.4.21-27.EL).

*** This bug has been marked as a duplicate of 137464 ***

Comment 4 John Flanagan 2004-12-20 20:56:48 UTC
An errata has been issued which should help the problem 
described in this bug report. This report is therefore being 
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, 
please follow the link below. You may reopen this bug report 
if the solution does not work for you.


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