Description
Race condition in the ptrace functionality in the Linux kernel before 3.7.5 allows local users to gain privileges via a PTRACE_SETREGS ptrace system call in a crafted application, as demonstrated by ptrace_death.
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.2.39-1 | — |
| Debian 13 | linux | 3.2.39-1 | — |
| Debian 12 | linux | 3.2.39-1 | — |
| Debian 6.0 | linux-2.6 | 2.6.32-48squeeze1 | DSA-2632-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | perf +15 | 2.6.32-358.0.1.el6 | RHSA-2013:0567 |
| RHEL 5 | kernel +12 | 2.6.18-348.3.1.el5 | RHSA-2013:0621 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6.3 EUS | perf +15 | 2.6.32-279.23.1.el6 | RHSA-2013:0662 |
| RHEL 6.2 EUS | perf +15 | 2.6.32-220.34.1.el6 | RHSA-2013:0741 |
| RHEL 6.1 EUS | perf +14 | 2.6.32-131.38.1.el6 | RHSA-2013:0661 |
| RHEL 5.6 EUS | kernel +12 | 2.6.18-238.49.1.el5 | RHSA-2013:0695 |
| Red Hat MRG 2 | kernel-rt +11 | 3.6.11-rt30.25.el6rt | RHSA-2013:0622 |
Advisories 8
- RHSA-2013:0622 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2013:0741 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2013:0662 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2013:0567 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2632-1 linux-2.6 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- RHSA-2013:0695 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- RHSA-2013:0661 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- RHSA-2013:0621 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
References
- SUSE-SU-2013:0341 vendor-advisory
- [oss-security] 20130215 Linux kernel race condition with PTRACE_SETREGS (CVE-2013-0871) mailing-list
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=9899d11f654474d2d54ea52ceaa2a1f4db3abd68
- USN-1738-1 vendor-advisory
- USN-1740-1 vendor-advisory
- USN-1742-1 vendor-advisory
- USN-1745-1 vendor-advisory
- USN-1743-1 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=911937
- SUSE-SU-2013:0674 vendor-advisory
- https://github.com/torvalds/linux/commit/9899d11f654474d2d54ea52ceaa2a1f4db3abd68
- RHSA-2013:0567 vendor-advisory
- USN-1744-1 vendor-advisory
- USN-1736-1 vendor-advisory
- RHSA-2013:0661 vendor-advisory
- USN-1739-1 vendor-advisory
- openSUSE-SU-2013:0925 vendor-advisory
- RHSA-2013:0662 vendor-advisory
- USN-1741-1 vendor-advisory
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.7.5
- DSA-2632 vendor-advisory
- USN-1737-1 vendor-advisory
- RHSA-2013:0695 vendor-advisory