Bug 601006 - (CVE-2010-2066) CVE-2010-2066 kernel: ext4: Make sure the MOVE_EXT ioctl can't overwrite append-only files
CVE-2010-2066 kernel: ext4: Make sure the MOVE_EXT ioctl can't overwrite appe...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
reported=20100607,public=20100602,sou...
: Security
Depends On: 601007 601008 601009
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-06 20:43 EDT by Eugene Teo (Security Response)
Modified: 2015-08-31 23:55 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Eugene Teo (Security Response) 2010-06-06 20:43:39 EDT
Description of problem:
If the donor file is an append-only file, we should not allow the operation to proceed, lest we end up overwriting the contents of an append-only file.

Upstream commit:
http://git.kernel.org/linus/1f5a81e41f8b1a782c68d3843e9ec1bfaadf7d72
Comment 1 Eugene Teo (Security Response) 2010-06-06 20:44:21 EDT
Acknowledgements:

Red Hat would like to thank Dan Rosenberg for reporting this issue.
Comment 3 Eugene Teo (Security Response) 2010-06-06 20:48:07 EDT
Statement:

This issue did not affect the version of Linux kernel as shipped with Red Hat
Enterprise Linux 3, 4 and Red Hat Enterprise MRG as they did not include support for the Ext4 filesystem. A future kernel update in Red Hat Enterprise Linux 5 will address this issue.
Comment 4 Eugene Teo (Security Response) 2010-06-06 20:54:12 EDT
Also see, http://www.gossamer-threads.com/lists/linux/kernel/1235423, but the regression don't look related.
Comment 6 Eric Sandeen 2010-06-07 13:31:55 EDT
(In reply to comment #4)
> Also see, http://www.gossamer-threads.com/lists/linux/kernel/1235423, but the
> regression don't look related.    

Right, that ended up being a mis-reported issue.  The patch at hand is not implicated in the user's problems.  See http://www.gossamer-threads.com/lists/linux/kernel/1235623#1235623
Comment 11 Chuck Ebbert 2010-07-23 14:06:59 EDT
Fixed in 2.6.33.6 and 2.6.34.1 by:

ext4-make-sure-the-move_ext-ioctl-can-t-overwrite-append-only-files.patch

Not yet fixed in 2.6.32-stable.
Comment 12 Fedora Update System 2010-08-02 20:58:41 EDT
kernel-2.6.32.16-150.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 13 errata-xmlrpc 2010-08-10 14:01:57 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2010:0610 https://rhn.redhat.com/errata/RHSA-2010-0610.html

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