Cloudanix VulnDB

CVE-2014-9710

None

CVSS

—

EPSS

0.3%

Published

May 27, 2015

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A timing flaw in the Linux kernel's file-handling code could let someone already on the computer obtain higher access rights than intended.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Moderate
Impact
Privilege Gain
Component
OS kernel
Class
Race Condition
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

Race condition in Btrfs xattr replacement allows local users to bypass ACL consistency checks and gain privileges via standard filesystem operations during the replacement time window or after a failed replacement.

Why it matters to the business

Local attackers on affected Linux systems can escalate privileges to root, resulting in full host compromise; the issue is historical with low current exploitability but still requires kernel updates on legacy deployments.

How an attack unfolds

An attacker with local shell access performs concurrent filesystem operations targeting extended attributes on a Btrfs volume to exploit the window where visible xattr state diverges from the requested replacement, ultimately bypassing ACL enforcement and obtaining elevated privileges.

How to fix it

Upgrade the Linux kernel to version 3.19 or newer; apply all subsequent security backports if running a distribution kernel; disable Btrfs if unused on legacy systems.

How to confirm the fix worked

Verify running kernel version is 3.19 or later via uname -r; confirm Btrfs xattr behavior matches expected ACL enforcement through targeted filesystem tests.

Typical attack path

  1. Obtain local unprivileged shell on target host
  2. Identify Btrfs-mounted filesystems
  3. Trigger concurrent xattr set/replace operations to hit the race window
  4. Bypass ACL checks and execute privileged actions

How to detect it

Review system logs for unusual xattr modification patterns or unexpected privilege changes around Btrfs operations; correlate with authentication and process execution events indicating local escalation attempts.

What your security team should do

  • Prioritize kernel upgrades on any remaining systems running kernels before 3.19
  • Remove Btrfs usage where feasible on unpatched hosts
  • Audit local user accounts and filesystem permissions for signs of prior misuse

The record

The Btrfs implementation in the Linux kernel before 3.19 does not ensure that the visible xattr state is consistent with a requested replacement, which allows local users to bypass intended ACL settings and gain privileges via standard filesystem operations (1) during an xattr-replacement time window, related to a race condition, or (2) after an xattr-replacement attempt that fails because the data does not fit.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 linux 0 3.16.7-ckt9-1
Debian:12 linux 0 3.16.7-ckt9-1
Debian:13 linux 0 3.16.7-ckt9-1
SUSE:Linux Enterprise Live Patching 12 kgraft-patch-SLE12_Update_1 0 3-2.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA kernel-default 0 3.0.101-0.63.TDC.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA kernel-source 0 3.0.101-0.63.TDC.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA kernel-syms 0 3.0.101-0.63.TDC.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA kernel-trace 0 3.0.101-0.63.TDC.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA kernel-xen 0 3.0.101-0.63.TDC.1
SUSE:Linux Enterprise Server 11 SP4-LTSS kernel-bigmem 0 3.0.101-108.95.2
SUSE:Linux Enterprise Server 11 SP4-LTSS kernel-default 0 3.0.101-108.95.2
SUSE:Linux Enterprise Server 11 SP4-LTSS kernel-ec2 0 3.0.101-108.95.2
SUSE:Linux Enterprise Server 11 SP4-LTSS kernel-pae 0 3.0.101-108.95.2
SUSE:Linux Enterprise Server 11 SP4-LTSS kernel-ppc64 0 3.0.101-108.95.2
SUSE:Linux Enterprise Server 11 SP4-LTSS kernel-source 0 3.0.101-108.95.1
SUSE:Linux Enterprise Server 11 SP4-LTSS kernel-syms 0 3.0.101-108.95.1
SUSE:Linux Enterprise Server 11 SP4-LTSS kernel-trace 0 3.0.101-108.95.2
SUSE:Linux Enterprise Server 11 SP4-LTSS kernel-xen 0 3.0.101-108.95.2
Ubuntu:14.04:LTS linux 0 3.13.0-57.95
Ubuntu:14.04:LTS linux-aws 0 4.4.0-1002.2
Ubuntu:14.04:LTS linux-lts-utopic 0 3.16.0-38.52~14.04.1
Ubuntu:14.04:LTS linux-lts-vivid 0 3.19.0-18.18~14.04.1
Ubuntu:14.04:LTS linux-lts-wily 0 4.2.0-18.22~14.04.1
Ubuntu:14.04:LTS linux-lts-xenial 0 4.4.0-13.29~14.04.1
Ubuntu:16.04:LTS linux 0 4.2.0-16.19
Ubuntu:16.04:LTS linux-aws 0 4.4.0-1001.10
Ubuntu:16.04:LTS linux-gke 0 4.4.0-1003.3
Ubuntu:16.04:LTS linux-hwe 0 4.8.0-36.36~16.04.1
Ubuntu:16.04:LTS linux-raspi2 0 4.2.0-1013.19
Ubuntu:16.04:LTS linux-snapdragon 0 4.4.0-1012.12
Ubuntu:Pro:16.04:LTS linux-flo 0 No fix
Ubuntu:Pro:16.04:LTS linux-goldfish 0 No fix
Ubuntu:Pro:16.04:LTS linux-mako 0 No fix

Related vulnerabilities