CVE-2015-3339

Summary

CVECVE-2015-3339
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2015-05-27 10:59:11 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionRace 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.

Risk And Classification

Primary CVSS: v2.0 6.2 from [email protected]

AV:L/AC:H/Au:N/C:C/I:C/A:C

Problem Types: CWE-362 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
High
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:H/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
[security-announce] SUSE-SU-2015:1487-1: important: Live patch for the L af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
git.kernel.org af854a3a-2127-422b-91ae-364da2661108 git.kernel.org
Linux Kernel Race Condition in prepare_binprm() Lets Local Users Gain Elevated Privileges - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
[security-announce] SUSE-SU-2015:1488-1: important: Live patch for the L af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
[security-announce] SUSE-SU-2016:2074-1: important: Security update for af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
oss-security - Re: Linux: chown() was racy relative to execve() - Linux kernel af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
fs: take i_mutex during prepare_binprm for set[ug]id executables · torvalds/linux@8b01fc8 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com
[SECURITY] Fedora 20 Update: kernel-3.19.8-100.fc20 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Debian -- Security Information -- DSA-3237-1 linux af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Oracle Linux Bulletin - January 2016 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
[security-announce] SUSE-SU-2015:1491-1: important: Live patch for the L af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Oracle Linux Bulletin - October 2015 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
1214030 – (CVE-2015-3339) CVE-2015-3339 kernel: race condition between chown() and execve() af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
[security-announce] SUSE-SU-2015:1489-1: important: Live patch for the L af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
[security-announce] openSUSE-SU-2015:1382-1: important: Security update af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.19.6 af854a3a-2127-422b-91ae-364da2661108 www.kernel.org Vendor Advisory
[SECURITY] Fedora 21 Update: kernel-3.19.7-200.fc21 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
kernel/git/torvalds/linux.git - Linux kernel source tree MITRE git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report