Bug 171002 - CVE-2005-3109 HFS oops
Summary: CVE-2005-3109 HFS oops
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Peter Staubach
QA Contact: Brian Brock
URL:
Whiteboard: impact=moderate,public=20050501,sourc...
Depends On:
Blocks: 168429
TreeView+ depends on / blocked
 
Reported: 2005-10-17 10:07 UTC by Mark J. Cox
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version: RHSA-2006-0101
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-01-17 08:34:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Proposed patch (2.04 KB, patch)
2005-11-08 19:41 UTC, Peter Staubach
no flags Details | Diff
Proposed patch (2.89 KB, patch)
2005-11-08 20:54 UTC, Peter Staubach
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:808 0 normal SHIPPED_LIVE Important: kernel security update 2005-10-27 04:00:00 UTC
Red Hat Product Errata RHSA-2006:0101 0 normal SHIPPED_LIVE Important: kernel security update 2006-01-17 05:00:00 UTC

Description Mark J. Cox 2005-10-17 10:07:39 UTC
The CVE description of this issue is "The HFS and HFS+ (hfsplus) modules in
Linux 2.6 allows attackers to cause a denial of service (oops) by using hfsplus
to mount a filesystem that is not hfsplus."  

However this is actually two issues as can be seen from the commit:
http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=945b092011c6af71a0107be96e119c8c08776f3f

The first is that in certain error cases for hfs and hfsplus there is a failure
to free kernel structure.   The second is a hfsplus flaw that could lead to a crash.

Comment 3 Peter Staubach 2005-11-08 19:41:20 UTC
Created attachment 120823 [details]
Proposed patch

Comment 4 Peter Staubach 2005-11-08 20:54:39 UTC
Created attachment 120827 [details]
Proposed patch

Comment 5 Peter Staubach 2005-11-08 20:56:14 UTC
There turns out be a memory leak in the hfsplus failure path as well, so I
fixed that too.

The changes for all of these fixes mimic those from upstream.

Comment 6 Linda Wang 2005-11-21 22:57:50 UTC
commited in -22.23

Comment 9 Red Hat Bugzilla 2006-01-17 08:34:30 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-2006-0101.html



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