Bug 616992

Summary: CVE-2010-2537 kernel: btrfs: check for append only file in the clone ioctl
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: arozansk, cebbert, davej, eteo, kmcmartin, lwang, pmatouse
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-02 03:57:52 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: 617002    
Bug Blocks:    

Description Petr Matousek 2010-07-21 21:20:50 UTC
Description of problem:
The existing [btrfs] code would have allowed you to overwrite append-only files. Not an expected behaviour.

Upstream commit:
http://git.kernel.org/linus/2ebc3464781ad24474abcbd2274e6254689853b5

Reference:
https://btrfs.wiki.kernel.org/index.php/Main_Page

The kernel in Red Hat Enterprise Linux 6 has support for Btrfs by default.

Comment 1 Petr Matousek 2010-07-21 21:21:37 UTC
Statement:

Not vulnerable. This issue did not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 3, 4, 5 and Red Hat Enterprise MRG as they did not include support for Btrfs, a new copy on write filesystem.

Comment 3 Eugene Teo (Security Response) 2010-08-02 03:50:07 UTC
Acknowledgements:

Red Hat would like to thank Dan Rosenberg for responsibly reporting this issue.

Comment 4 Eugene Teo (Security Response) 2010-08-02 03:57:52 UTC

*** This bug has been marked as a duplicate of bug 616998 ***