Privilege escalation in Linux Kernel
CVE-2010-4258
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.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.2 (Medium). Vector: AV:L/AC:H/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.027, 85.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel
- Fedoraproject Fedora — versions 13
- openSUSE — versions 11.3, 11.2
- SUSE Linux Enterprise Desktop — versions 10, 11
- SUSE Linux Enterprise Real Time Extension — versions 11
- SUSE Linux Enterprise Server — versions 10, 11, 9
- SUSE Linux Enterprise Software Development Kit — versions 10
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 68 other repositories (0xTo/linux-kernel-exploits, Al1ex/LinuxEelvation, albinjoshy03/linux-kernel-exploits, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [oss-security] 20101202 CVE request: kernel: failure to revert address limit override in OOPS error path (mailing-list, Mailing List, Third Party Advisory)
- secunia.com/advisories/43056 (Third Party Advisory, third-party-advisory)
- SUSE-SA:2011:004 (vendor-advisory, Mailing List, Third Party Advisory)
- secunia.com/advisories/42778 (Third Party Advisory, third-party-advisory)
- [oss-security] 20101202 kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses (mailing-list, Mailing List, Third Party Advisory)
- git.kernel.org/
- secunia.com/advisories/42801 (Third Party Advisory, third-party-advisory)
- SUSE-SA:2011:002 (vendor-advisory, Mailing List, Third Party Advisory)
- blog.nelhage.com/2010/12/cve-2010-4258-from-dos-to-privesc/ (Third Party Advisory)
- [oss-security] 20101209 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses (mailing-list, Mailing List, Third Party Advisory)