CVE-2001-0317

Linux kernel <2.5 - Privilege Escalation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2001-0317. PoCs published by Wojciech Purczynski.

AI-analyzed exploit summary This exploit leverages a race condition in the Linux kernel (up to 2.2.18) between `execve` and `ptrace` to gain elevated privileges. It uses `ptrace` to modify the execution flow of a setuid binary, injecting shellcode to spawn a root shell.

Description

Race condition in ptrace in Linux kernel 2.4 and 2.2 allows local users to gain privileges by using ptrace to track and modify a running setuid process.

Exploits (2)

exploitdb WORKING POC VERIFIED
by Wojciech Purczynski · clocallinux
https://www.exploit-db.com/exploits/20721

This exploit leverages a race condition in the Linux kernel (up to 2.2.18) between `execve` and `ptrace` to gain elevated privileges. It uses `ptrace` to modify the execution flow of a setuid binary, injecting shellcode to spawn a root shell.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Racy
Target: Linux kernel up to 2.2.18
No auth needed
Prerequisites: Local access to the system · A setuid binary to exploit
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by Wojciech Purczynski · clocallinux
https://www.exploit-db.com/exploits/20720

This exploit leverages a race condition in the Linux kernel (up to 2.2.18) between `execve` and `ptrace` to gain elevated privileges. It attaches to a child process executing a setuid binary, manipulates its registers, and injects shellcode to spawn a root shell.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Racy
Target: Linux kernel up to 2.2.18
No auth needed
Prerequisites: Local access to the system · A setuid or setgid binary to exploit
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2001-013.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/6080
Patch, Vendor Advisory vendor-advisory x_refsource_caldera
http://www.caldera.com/support/security/advisories/CSSA-2001-009.0.txt
Patch, Vendor Advisory mailing-list x_refsource_bugtraq
http://archives.neohapsis.com/archives/bugtraq/2001-02/0267.html

Scores

EPSS 0.0072
EPSS Percentile 48.9%

Details

Status published
Products (2)
linux/linux_kernel 2.2.0
linux/linux_kernel 2.4.0
Published May 03, 2001
Tracked Since Feb 18, 2026