CVE-2010-4258
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 2.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.7% in the next 30 days (EPSS).
- Severity: 6.2 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.7% · EPSS, next 30 days
- Weakness
- CWE-269 · Improper privilege management
- Record status
- Modified
Affected
- Linux Kernel < 2.6.36.2
- Fedoraproject Fedora 13
- Opensuse 11.2
- Opensuse 11.3
- Suse Linux Enterprise Desktop 10
- Suse Linux Enterprise Desktop 11
- Suse Linux Enterprise Real Time Extension 11
- Suse Linux Enterprise Server 9
Attack profile CVSS 2.0 · 6.2
- Attack vector
- Local
- Complexity
- High
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:H/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2010-4258.md and follow it. Check whether this project is affected by CVE-2010-4258. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://marc.info/?l=linux-kernel&m=129117048916957&w=2
- https://lkml.org/lkml/2010/12/1/543
- http://marc.info/?l=linux-kernel&m=129117048916957&w=2
- https://lkml.org/lkml/2010/12/1/543
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