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, overwri...
MediumCVSS 6.2
EPSS 2.7%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
- Technology
- Linux Kernel
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.
Upgrade path
7 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Linux kernel | < 2.6.36.2 | 2.6.36.2 | Fixed |
| fedoraproject fedora | = 13 | No fix listed | Versions listed |
| opensuse | = 11.2; = 11.3 | No fix listed | Versions listed |
| SUSE linux enterprise desktop | = 10-sp3; = 11-sp1 | No fix listed | Versions listed |
| SUSE linux enterprise real time extension | = 11-sp1 | No fix listed | Versions listed |
| SUSE linux enterprise server | = 9; = 10-sp3; = 11-sp1 | No fix listed | Versions listed |
| SUSE linux enterprise software development kit | = 10-sp3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux kernel | < 2.6.36.2 | 2.6.36.2 |
| fedoraproject fedora | = 13 | No fix listed |
| opensuse | = 11.2 | No fix listed |
| opensuse | = 11.3 | No fix listed |
| SUSE linux enterprise desktop | = 10-sp3 | No fix listed |
| SUSE linux enterprise desktop | = 11-sp1 | No fix listed |
| SUSE linux enterprise real time extension | = 11-sp1 | No fix listed |
| SUSE linux enterprise server | = 9 | No fix listed |
| SUSE linux enterprise server | = 10-sp3 | No fix listed |
| SUSE linux enterprise server | = 11-sp1 | No fix listed |
| SUSE linux enterprise software development kit | = 10-sp3 | No fix listed |
References
- 20101207 Linux kernel exploit broken-link mailing-list
- blog.nelhage.com third-party-advisory
- code.google.com third-party-advisory
- git.kernel.org
- googlechromereleases.blogspot.com third-party-advisory
- FEDORA-2010-18983 third-party-advisory vendor-advisory
- SUSE-SA:2011:001 mailing-list third-party-advisory vendor-advisory
- SUSE-SA:2011:002 mailing-list third-party-advisory vendor-advisory
- SUSE-SA:2011:004 mailing-list third-party-advisory vendor-advisory
- SUSE-SA:2011:005 mailing-list third-party-advisory vendor-advisory
- SUSE-SA:2011:007 mailing-list third-party-advisory vendor-advisory
- SUSE-SA:2011:008 mailing-list third-party-advisory vendor-advisory
- [linux-kernel] 20101201 [PATCH v2] do_exit(): Make sure we run with get_fs() == USER_DS. mailing-list patch third-party-advisory
- [oss-security] 20101202 CVE request: kernel: failure to revert address limit override in OOPS error path mailing-list third-party-advisory
- [oss-security] 20101202 kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses mailing-list third-party-advisory
- [oss-security] 20101202 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses mailing-list third-party-advisory
- [oss-security] 20101202 Re: CVE request: kernel: failure to revert address limit override in OOPS error path mailing-list third-party-advisory
- [oss-security] 20101208 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses mailing-list third-party-advisory
- [oss-security] 20101208 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses mailing-list third-party-advisory
- [oss-security] 20101208 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses mailing-list third-party-advisory
- [oss-security] 20101209 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses mailing-list third-party-advisory
- [oss-security] 20101209 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses mailing-list third-party-advisory
- 42745 third-party-advisory
- 42778 third-party-advisory
- 42801 third-party-advisory
- 42932 third-party-advisory
- 43056 third-party-advisory
- 43291 third-party-advisory
- www.kernel.org broken-link
- MDVSA-2011:029 third-party-advisory vendor-advisory
- ADV-2010-3321 third-party-advisory vdb-entry
- ADV-2011-0012 third-party-advisory vdb-entry
- ADV-2011-0124 third-party-advisory vdb-entry
- ADV-2011-0213 third-party-advisory vdb-entry
- ADV-2011-0298 third-party-advisory vdb-entry
- ADV-2011-0375 third-party-advisory vdb-entry
- bugzilla.redhat.com issue-tracking third-party-advisory
- [linux-kernel] 20101201 Re: [PATCH v2] do_exit(): Make sure we run with get_fs() == USER_DS. mailing-list patch third-party-advisory