kernel: race condition between chown() and execve()
Published May 27, 2015
6.2
MEDIUMCVSS 2.0
EPSS 0.32%
Description
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.
Affected products
No data.
Configuration 1
- ≤ 3.19.5
Configuration 2
- 7.0
- 8.0
No data.
Red Hat Enterprise Linux 6
kernel-0:2.6.32-573.el6
Fixed · RHSA-2015:1272
Red Hat Enterprise Linux 7
kernel-0:3.10.0-327.el7
Fixed · RHSA-2015:2152
Red Hat Enterprise Linux 7
kernel-rt-0:3.10.0-327.rt56.204.el7
Fixed · RHSA-2015:2411
Red Hat Enterprise Linux 5
kernel
Will not fix
Red Hat Enterprise MRG 2
realtime-kernel
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel-0:2.6.32-573.el6 | Fixed | RHSA-2015:1272 |
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-327.el7 | Fixed | RHSA-2015:2152 |
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-327.rt56.204.el7 | Fixed | RHSA-2015:2411 |
| Red Hat Enterprise Linux 5 | kernel | Will not fix | n/a |
| Red Hat Enterprise MRG 2 | realtime-kernel | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 5 and 7 and MRG-2. This issue is not currently planned to be addressed in future Red Hat Enterprise Linux 5 kernel updates. Future Linux kernel updates for other releases may address this issue. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:H/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.32% (0.00317) | 22.34th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.32% (0.00317) | 23.21th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.07% (0.00067) | 17.87th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00044) | 11.89th | v3 (v2023.03.01) |
| Jul 2, 2024 | 0.04% (0.00044) | 10.25th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00044) | 8.24th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.55% (0.01547) | 74.98th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.55% (0.01547) | 74.94th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.55% (0.01547) | 72.92th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.55% (0.01547) | 51.82th | v2 (v2022.01.01) |
References (21)
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=8b01fc86b9f425899f8a3a8fc1c47d73c2c20543 x_refsource_CONFIRM
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/157897.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158804.html vendor-advisoryx_refsource_FEDORA
- http://lists.opensuse.org/opensuse-security-announce/2015-08/msg00011.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00007.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00008.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00009.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00011.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00038.html vendor-advisoryx_refsource_SUSE
- http://rhn.redhat.com/errata/RHSA-2015-1272.html vendor-advisoryx_refsource_REDHAT
- http://www.debian.org/security/2015/dsa-3237 vendor-advisoryx_refsource_DEBIAN
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.19.6 x_refsource_CONFIRMVendor Advisory
- http://www.openwall.com/lists/oss-security/2015/04/20/5 mailing-listx_refsource_MLIST
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html x_refsource_CONFIRM
- http://www.securitytracker.com/id/1032412 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2015-3339 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1214030 x_refsource_CONFIRMIssue Tracking
- https://github.com/torvalds/linux/commit/8b01fc86b9f425899f8a3a8fc1c47d73c2c20543 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2015-3339
- https://www.cve.org/CVERecord?id=CVE-2015-3339
Change history (0)
No recorded changes yet.