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 124734

Summary: CAN-2004-0565 Information leak on Linux/ia64
Product: Red Hat Enterprise Linux 3 Reporter: Arun Sharma <arun-public>
Component: kernelAssignee: Jason Baron <jbaron>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: knoel, mjc, peterm, petrides, riel, rohit.seth
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-23 20:47:59 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
Lazy FP leak fix
none
secret.c
none
check.c none

Description Arun Sharma 2004-05-28 21:46:45 UTC
Description of problem:

Linux 2.4.x and the SLES9/ia64 kernels have a floating point leak.
This is because the context switch code checks just the psr.mfh bit
and doesn't look at who the FPH owner is.

This allows a malicious program to set the MFH bit and look at the
registers of another possibly sensitive process.

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

2.4.21-12.EL.

How reproducible:

Run N (= number of cpus) copies of the program secret and one copy of
the program check.

Comment 1 Arun Sharma 2004-05-28 21:47:32 UTC
Created attachment 100687 [details]
Lazy FP leak fix


This patch fixes the issue.

Comment 2 Arun Sharma 2004-05-28 21:47:52 UTC
Created attachment 100688 [details]
secret.c

Comment 3 Arun Sharma 2004-05-28 21:48:15 UTC
Created attachment 100689 [details]
check.c

Comment 5 Josh Bressers 2004-06-18 15:15:52 UTC
*** Bug 126126 has been marked as a duplicate of this bug. ***

Comment 7 Ernie Petrides 2004-12-20 23:44:49 UTC
A fix for this problem has just been committed to the RHEL3 E5
patch pool this evening (in kernel version 2.4.21-27.0.1.EL).


Comment 8 Ernie Petrides 2004-12-22 21:57:39 UTC
A fix for this problem has also been committed to the RHEL3 U5
patch pool this evening (in kernel version 2.4.21-27.4.EL).


Comment 9 Josh Bressers 2004-12-23 20:47:59 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-2004-689.html