Bug 1205079 (CVE-2014-9710)

Summary: CVE-2014-9710 Kernel: fs: btrfs: non-atomic xattr replace operation
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aquini, bhu, dhoward, fhrbata, gansalmon, iboverma, itamar, jforbes, jkacur, jonathan, jross, jwboyer, kernel-maint, kernel-mgr, lgoncalv, madhu.chinakonda, matt, mchehab, mcressma, nmurray, plougher, pmatouse, rt-maint, rvrbovsk, williams
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: 2019-06-08 02:40:29 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: 1205084, 1205085, 1205086, 1205087, 1205088, 1205873    
Bug Blocks: 1161399    

Description Prasad Pandit 2015-03-24 08:25:48 UTC
Linux kernel built with the Btrfs Filesystem support(CONFIG_BTRFS_FS) is
vulnerable to a race condition which leaves the extended attribute(xattr)
empty for a short time window. This could be leveraged to bypass set ACLs
and potentially escalate user privileges.

An unprivileged user could use this flaw to potentially escalate privileges on
a system.

Upstream fix:
-------------
  -> https://git.kernel.org/linus/5f5bc6b1e2d5a6f827bc860ef2dc5b6f365d1339

Comment 1 Prasad Pandit 2015-03-24 08:28:53 UTC
Statement:

This issue does not affect the versions of the kernel package as shipped with
Red Hat Enterprise Linux 5 and Red Hat Enterprise MRG 2.

This issue affects the version of Linux kernel as shipped with Red Hat Enterprise Linux 6 and 7. Future kernel updates for Red Hat Enterprise Linux 7 may address this issue.

Given the Moderate impact and the fact that BRTFS file system is no longer Technology preview in Red Hat Enterprise Linux 6 this issue is not currently planned to be addressed in future releases of Red Hat Enterprise Linux 6.

Comment 3 Prasad Pandit 2015-03-24 08:36:24 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1205088]

Comment 4 Prasad Pandit 2015-03-27 08:13:16 UTC
Acknowledgement:

This issue was discovered by Alexandre Oliva of Red Hat Inc.