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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 3.16.7-ckt9-3 | — |
| Debian 13 | linux | 3.16.7-ckt9-3 | — |
| Debian 12 | linux | 3.16.7-ckt9-3 | — |
| Debian 8 | linux | 3.16.7-ckt9-3~deb8u1 | DSA-3237-1 |
| Debian 7 | linux | 3.2.68-1+deb7u1 | DSA-3237-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 6.0 | linux-2.6 | 2.6.32-48squeeze12 | DLA-246-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | linux | 3.13.0-52.85 | USN-2598-1 |
| Ubuntu 14.04 LTS | linux-lts-utopic | 3.16.0-37.49~14.04.1 | USN-2599-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | kernel-rt +7 | 3.10.0-327.rt56.204.el7 | RHSA-2015:2411 |
| RHEL 7 | perf +18 | 3.10.0-327.el7 | RHSA-2015:2152 |
| RHEL 6 | perf +16 | 2.6.32-573.el6 | RHSA-2015:1272 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | kernel-docs +1 | 3.12.43-52.6.2 | SUSE-SU-2015:1071-1 |
| SLES 12 | kernel-ec2 +4 | 3.12.43-52.6.1 | SUSE-SU-2015:1071-1 |
| SLES 11 SP2 | kernel-ec2 +6 | 3.0.101-0.7.40.1 | SUSE-SU-2016:2074-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 | kernel-xen +3 | 3.12.43-52.6.1 | SUSE-SU-2015:1071-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12_Update_1 +1 | 3-2.1 | SUSE-SU-2015:1489-1, SUSE-SU-2015:1488-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12_Update_3 | 2-7.1 | SUSE-SU-2015:1487-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12_Update_4 | 2-10.1 | SUSE-SU-2015:1491-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12_Update_5 | 1-2.3 | SUSE-SU-2015:1071-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-68.3.5.el6uek | 0.4.3-4.el6 | ELSA-2015-3053 |
| Oracle Linux 7 | dtrace-modules-3.8.13-68.3.5.el7uek | 0.4.3-4.el7 | ELSA-2015-3053 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-68.3.5.el7uek | ELSA-2015-3053 |
| Oracle Linux 7 | perf +11 | 3.10.0-327.el7 | ELSA-2015-2152 |
Advisories 15
- RHSA-2015:2411 Red Hat Security Advisory: kernel-rt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:2152 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:1272 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-2598-1 linux vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-246-1 linux-2.6 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3237-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-2599-1 linux-lts-utopic vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2015:1491-1 Live patch for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1488-1 Live patch for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1489-1 Live patch for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1071-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1487-1 Live patch for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2074-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2015-2152 Important: kernel security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 24, 2015
- ELSA-2015-3053 Moderate: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jul 29, 2015
References
- SUSE-SU-2015:1491 vendor-advisory
- 1032412 vdb-entry
- SUSE-SU-2015:1489 vendor-advisory
- SUSE-SU-2015:1488 vendor-advisory
- FEDORA-2015-8518 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1214030
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- DSA-3237 vendor-advisory
- FEDORA-2015-7736 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- openSUSE-SU-2015:1382 vendor-advisory
- [oss-security] 20150420 Re: Linux: chown() was racy relative to execve() - Linux kernel mailing-list
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.19.6
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=8b01fc86b9f425899f8a3a8fc1c47d73c2c20543
- SUSE-SU-2016:2074 vendor-advisory
- RHSA-2015:1272 vendor-advisory
- SUSE-SU-2015:1487 vendor-advisory
- https://github.com/torvalds/linux/commit/8b01fc86b9f425899f8a3a8fc1c47d73c2c20543