Skip to content
Fencer Intel
medium 6.2

CVE-2015-3339 json

Race condition in the prepare_binprm function in fs/exec.c in the Linux kernel before 3.19.6 allows local users to gain privileges by execu…

published 2015-05-27 11 y ago modified 2026-06-17 4 mo ago also EUVD-2015-3384

cvss
6.2
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 24%
public exploits
0
none known

Summary

Race condition in the prepare_binprm function in fs/exec.c in the Linux kernel before 3.19.6 allows local users to gain privileges by executing a setuid program at a time instant when a chown to root is in progress, and the ownership is changed but the setuid bit is not yet stripped.

Patch / fix

  • linux Debian 14, Debian 13, Debian 12 3.16.7-ckt9-3

debian advisories DEBIAN-CVE-2015-3339

  • linux Ubuntu 14.04 LTS 3.13.0-52.85
  • linux-lts-utopic Ubuntu 14.04 LTS 3.16.0-37.49~14.04.1

ubuntu advisories UBUNTU-CVE-2015-3339

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel RHEL 7 3.10.0-327.el7
  • perf RHEL 7 3.10.0-327.el7
  • python-perf RHEL 7 3.10.0-327.el7
  • kernel-kdump RHEL 7 3.10.0-327.el7
  • kernel-tools RHEL 7 3.10.0-327.el7
  • kernel-tools-libs RHEL 7 3.10.0-327.el7
  • kernel-bootwrapper RHEL 7 3.10.0-327.el7
  • kernel-abi-whitelists RHEL 7 3.10.0-327.el7

red hat advisories RHSA-2015:2152RHSA-2015:1272RHSA-2015:2411

  • kernel-ec2 SLE Module for Public Cloud 12 3.12.43-52.6.1
  • kernel-xen SLES for SAP 12, SLES 12, SLED 12 3.12.43-52.6.1
  • kernel-syms SLES for SAP 12, SLES 12, SLED 12 3.12.43-52.6.1
  • kernel-source SLES for SAP 12, SLES 12, SLED 12 3.12.43-52.6.1
  • kernel-default SLES for SAP 12, SLES 12, SLED 12 +1 more 3.12.43-52.6.1
  • kernel-obs-build SLE Software Development Kit 12 3.12.43-52.6.2
  • kernel-ec2 SLES 11 SP2-LTSS 3.0.101-0.7.40.1
  • kernel-pae SLES 11 SP2-LTSS 3.0.101-0.7.40.1

suse advisories SUSE-SU-2016:2074-1SUSE-SU-2015:1491-1SUSE-SU-2015:1487-1SUSE-SU-2015:1488-1SUSE-SU-2015:1489-1SUSE-SU-2015:1071-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-3339 updated cvss 6.2

kernel: race condition between chown() and execve()

  • Red Hat Enterprise Linux 5 kernel
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmware
    affected: no fix available
  • Red Hat Enterprise Linux Client (v. 7) perf 3.10.0-327.el7, kernel 3.10.0-327.el7, python-perf 3.10.0-327.el7, kernel-tools 3.10.0-327.el7, kernel-tools-libs 3.10.0-327.el7, kernel-abi-whitelists 3.10.0-327.el7, +1 more Red Hat Enterprise Linux Client Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-327.el7 Red Hat Enterprise Linux ComputeNode (v. 7) perf 3.10.0-327.el7, kernel 3.10.0-327.el7, python-perf 3.10.0-327.el7, kernel-tools 3.10.0-327.el7, kernel-tools-libs 3.10.0-327.el7, kernel-abi-whitelists 3.10.0-327.el7, +1 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-327.el7
    fixed: vendor fix RHSA-2015:2152
  • Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-573.el6, kernel 2.6.32-573.el6, kernel-firmware 2.6.32-573.el6, kernel-abi-whitelists 2.6.32-573.el6, kernel-debuginfo-common-i686 2.6.32-573.el6, kernel-debuginfo-common-x86_64 2.6.32-573.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) python-perf 2.6.32-573.el6, kernel-debuginfo-common-i686 2.6.32-573.el6, kernel-debuginfo-common-x86_64 2.6.32-573.el6
    fixed: vendor fix RHSA-2015:1272
  • Red Hat Enterprise Linux for Real Time (v. 7) kernel-rt 3.10.0-327.rt56.204.el7, kernel-rt-trace 3.10.0-327.rt56.204.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-327.rt56.204.el7
    fixed: vendor fix RHSA-2015:2411
  • Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-573.el6, kernel 2.6.32-573.el6, kernel-firmware 2.6.32-573.el6, kernel-abi-whitelists 2.6.32-573.el6, kernel-debuginfo-common-i686 2.6.32-573.el6, kernel-debuginfo-common-x86_64 2.6.32-573.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) python-perf 2.6.32-573.el6, kernel-debuginfo-common-x86_64 2.6.32-573.el6 Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-573.el6, kernel 2.6.32-573.el6, kernel-kdump 2.6.32-573.el6, kernel-firmware 2.6.32-573.el6, kernel-bootwrapper 2.6.32-573.el6, kernel-abi-whitelists 2.6.32-573.el6, +4 more
    fixed: vendor fix RHSA-2015:1272
  • Red Hat Enterprise Linux Server (v. 7) perf 3.10.0-327.el7, kernel 3.10.0-327.el7, python-perf 3.10.0-327.el7, kernel-kdump 3.10.0-327.el7, kernel-tools 3.10.0-327.el7, kernel-tools-libs 3.10.0-327.el7, +6 more
    fixed: vendor fix RHSA-2015:2152
  • Red Hat Enterprise Linux Server Optional (v. 6) python-perf 2.6.32-573.el6, kernel-debuginfo-common-i686 2.6.32-573.el6, kernel-debuginfo-common-ppc64 2.6.32-573.el6, kernel-debuginfo-common-s390x 2.6.32-573.el6, kernel-debuginfo-common-x86_64 2.6.32-573.el6
    fixed: vendor fix RHSA-2015:1272
show 5 more
  • Red Hat Enterprise Linux Server Optional (v. 7) kernel-debuginfo-common-ppc64 3.10.0-327.el7, kernel-debuginfo-common-x86_64 3.10.0-327.el7, kernel-debuginfo-common-ppc64le 3.10.0-327.el7
    fixed: vendor fix RHSA-2015:2152
  • Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-573.el6, kernel 2.6.32-573.el6, kernel-firmware 2.6.32-573.el6, kernel-abi-whitelists 2.6.32-573.el6, kernel-debuginfo-common-i686 2.6.32-573.el6, kernel-debuginfo-common-x86_64 2.6.32-573.el6
    fixed: vendor fix RHSA-2015:1272
  • Red Hat Enterprise Linux Workstation (v. 7) perf 3.10.0-327.el7, kernel 3.10.0-327.el7, python-perf 3.10.0-327.el7, kernel-tools 3.10.0-327.el7, kernel-tools-libs 3.10.0-327.el7, kernel-abi-whitelists 3.10.0-327.el7, +1 more
    fixed: vendor fix RHSA-2015:2152
  • Red Hat Enterprise Linux Workstation Optional (v. 6) python-perf 2.6.32-573.el6, kernel-debuginfo-common-i686 2.6.32-573.el6, kernel-debuginfo-common-x86_64 2.6.32-573.el6
    fixed: vendor fix RHSA-2015:1272
  • Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-327.el7
    fixed: vendor fix RHSA-2015:2152

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.32% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 6.2 AV:L/AC:H/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.