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 121032

Summary: CAN-2004-0177 ext3 infoleak
Product: Red Hat Enterprise Linux 3 Reporter: Mark J. Cox <mjc>
Component: kernelAssignee: Ernie Petrides <petrides>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: 3.0CC: peterm, petrides, riel, sct
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20040228
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-22 20:17:24 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
CAN-2004-0177 ext3fs leak fix from Theodore Ts'o none

Description Mark J. Cox 2004-04-16 12:49:31 UTC
Whenever you create a file on an ext3fs filesystem, some amount of
other in-memory data, _not_ the file's contents and _not_ something
which is present in the same filesystem or which previously was in a
file at all, gets written to the device holding the filesystem.

Could be a security issue if you have stuff in memory like crypto keys
and don't expect them to get stuck on disk (well unless swapped)

Issue is a fairly minor severity

Reported by Solar Designer of OpenWall on Feb28
Embargo lifted April 14th 2004

Comment 1 Mark J. Cox 2004-04-29 06:35:59 UTC
To clarify the risk of this issue: to exploit this flaw you need to be
a privileged user as you need to be able to see the raw disk blocks. 
Even then the extent of the issue is to allow you to see some random
bits of kernel memory.  The "crypto keys" example was thought up by
one vendor as a possible risk vector, where you may have things in
memory that you want to protect even from root, but this is an
unlikely risk as crypto applications would need to protect their keys
in memory and in any event they'd get swapped to disk.

This issue is therefore very low risk. 

Comment 2 Mark J. Cox 2004-07-05 08:16:22 UTC
Created attachment 101633 [details]
CAN-2004-0177 ext3fs leak fix from Theodore Ts'o

Comment 3 Ernie Petrides 2004-12-17 21:23:20 UTC
I'll take this over with the intention of putting into U5.

Comment 4 Ernie Petrides 2005-02-17 13:55:08 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 5 Ernie Petrides 2005-04-14 00:13:08 UTC
A fix for this problem has also been committed to the RHEL3 E5
patch pool this evening (in kernel version 2.4.21-27.0.3.EL).


Comment 6 Josh Bressers 2005-04-22 20:17:25 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-293.html


Comment 7 Tim Powers 2005-05-18 13:27:21 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