Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 133020 (IT_49848)

Summary: [RHEL3][IA32E][X86_64]Wrong FPU IP and DP in the SIGFPE signal context
Product: Red Hat Enterprise Linux 3 Reporter: Suresh Siddha <suresh.b.siddha>
Component: kernelAssignee: Larry Woodman <lwoodman>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 3.0CC: jparadis, petrides, riel, tao
Target Milestone: ---   
Target Release: ---   
Hardware: ia32e   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-18 13:28:09 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:
Bug Depends On:    
Bug Blocks: 132991    
Attachments:
Description Flags
Test case which fails with SIGSEGV
none
Patch adding the missing rex prefix none

Description Suresh Siddha 2004-09-20 22:04:09 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
In synchronous SIGFPE signal context, kernel is setting FPU IP and DP 
as CS:32bitIP and DS:32bitDP instead of 64bit IP and DP with out 
segment selectors. This is because of missing  "rex" prefix in   
save_init_fpu() fxsave

Version-Release number of selected component (if applicable):
kernel-2.4.21-20.EL

How reproducible:
Always

Steps to Reproduce:
1. Compile and run the attached test case in comment #1
2. It fails with SIGSEGV because of pointer mismatch.
3.
    

Additional info:

Comment 1 Suresh Siddha 2004-09-20 22:06:18 UTC
Created attachment 104040 [details]
Test case which fails with SIGSEGV

Comment 2 Suresh Siddha 2004-09-20 22:11:55 UTC
Created attachment 104041 [details]
Patch adding the missing rex prefix

Comment 4 Jim Paradis 2005-02-16 22:32:30 UTC
Patch ready to submit to U5


Comment 5 Ernie Petrides 2005-02-17 13:49:46 UTC
A fix for this problem has just been committed to the RHEL3 U5
patch pool this evening (in kernel version 2.4.21-27.15.EL).


Comment 6 Tim Powers 2005-05-18 13:28:09 UTC
An advisory 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.

http://rhn.redhat.com/errata/RHSA-2005-294.html