CVE-2010-4258
Linux Kernel < 2.6.36.2 - Privilege Escalation via KERNEL_DS get_fs Handling
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2010-4258. PoCs published by Dan Rosenberg.
AI-analyzed exploit summary This exploit leverages three vulnerabilities (CVE-2010-4258, CVE-2010-3849, CVE-2010-3850) to achieve local privilege escalation on Linux kernels <= 2.6.37. It uses the Econet protocol to trigger a NULL pointer dereference under KERNEL_DS, allowing arbitrary kernel memory writes.
Description
The do_exit function in kernel/exit.c in the Linux kernel before 2.6.36.2 does not properly handle a KERNEL_DS get_fs value, which allows local users to bypass intended access_ok restrictions, overwrite arbitrary kernel memory locations, and gain privileges by leveraging a (1) BUG, (2) NULL pointer dereference, or (3) page fault, as demonstrated by vectors involving the clear_child_tid feature and the splice system call.
Exploits (1)
This exploit leverages three vulnerabilities (CVE-2010-4258, CVE-2010-3849, CVE-2010-3850) to achieve local privilege escalation on Linux kernels <= 2.6.37. It uses the Econet protocol to trigger a NULL pointer dereference under KERNEL_DS, allowing arbitrary kernel memory writes.