CVE-2010-4258
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Linux Kernel 2.6.37 (RedHat / Ubuntu 10.04) - 'Full-Nelson.c' Local Privilege Escalation
OS impact
Fedora Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| 13 | Affected | โ |
Linux kernel Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | 2.6.36.2 |
SUSE Affected 5 releases
| Version | Status | Fixed in |
|---|---|---|
| 11.3 | Affected | โ |
| 11.2 | Affected | โ |
| 11 | Affected | โ |
| 10 | Affected | โ |
| 9 | Affected | โ |
References
- http://archives.neohapsis.com/archives/fulldisclosure/2010-12/0086.html
- http://blog.nelhage.com/2010/12/cve-2010-4258-from-dos-to-privesc/
- http://code.google.com/p/chromium-os/issues/detail?id=10234
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=33dd94ae1ccbfb7bf0fb6c692bc3d1c4269e6177
- http://googlechromereleases.blogspot.com/2011/01/chrome-os-beta-channel-update.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-December/052513.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00007.html
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00002.html
- http://marc.info/?l=linux-kernel&m=129117048916957&w=2
- http://openwall.com/lists/oss-security/2010/12/02/2
- http://openwall.com/lists/oss-security/2010/12/02/3
- http://openwall.com/lists/oss-security/2010/12/02/4
- http://openwall.com/lists/oss-security/2010/12/02/7
- http://openwall.com/lists/oss-security/2010/12/08/4
- http://openwall.com/lists/oss-security/2010/12/08/5
- http://openwall.com/lists/oss-security/2010/12/08/9
- http://openwall.com/lists/oss-security/2010/12/09/14
- http://openwall.com/lists/oss-security/2010/12/09/4
- http://secunia.com/advisories/42745
- http://secunia.com/advisories/42778
- http://secunia.com/advisories/42801
CWEs
CWE-269
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.