CVE-2010-3858
What it is
The setup_arg_pages function in fs/exec.c in the Linux kernel before 2.6.36, when CONFIG_STACK_GROWSDOWN is used, does not properly restrict the stack memory consumption of the (1) arguments and (2) environment for a 32-bit application on a 64-bit platform, which allows local users to cause a denial of service (system crash) via a crafted exec system call, a related issue to CVE-2010-2240.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of service disruption.
- Exploit odds
- 0.9% 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: 0.9% in the next 30 days (EPSS).
- Severity: 4.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.9% · EPSS, next 30 days
- Weakness
- CWE-400 · Uncontrolled resource consumption
- Record status
- Modified
Affected
- Linux Kernel < 2.6.36
- Debian Linux 5.0
- Canonical Ubuntu Linux 9.10
- Canonical Ubuntu Linux 10.04
- Canonical Ubuntu Linux 10.10
Attack profile CVSS 2.0 · 4.9
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Complete
Raw vector
AV:L/AC:L/Au:N/C:N/I:N/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-3858.md and follow it. Check whether this project is affected by CVE-2010-3858. 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://www.openwall.com/lists/oss-security/2010/10/21/1
- http://www.openwall.com/lists/oss-security/2010/10/22/4
- https://bugzilla.redhat.com/show_bug.cgi?id=645222
- http://www.openwall.com/lists/oss-security/2010/10/21/1
- http://www.openwall.com/lists/oss-security/2010/10/22/4
- https://bugzilla.redhat.com/show_bug.cgi?id=645222
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=1b528181b2ffa14721fb28ad1bd539fe1732c583
- http://grsecurity.net/~spender/64bit_dos.c
- http://secunia.com/advisories/42758
- http://secunia.com/advisories/42789
- http://secunia.com/advisories/46397
- http://www.debian.org/security/2010/dsa-2126
- http://www.exploit-db.com/exploits/15619
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.36
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:257
- http://www.openwall.com/lists/oss-security/2010/10/21/1
- http://www.openwall.com/lists/oss-security/2010/10/22/4
- http://www.redhat.com/support/errata/RHSA-2010-0958.html
- http://www.redhat.com/support/errata/RHSA-2011-0004.html
- http://www.securityfocus.com/archive/1/520102/100/0/threaded
- http://www.securityfocus.com/bid/44301
- http://www.ubuntu.com/usn/USN-1041-1
- http://www.vmware.com/security/advisories/VMSA-2011-0012.html
- http://www.vupen.com/english/advisories/2011/0024
- http://www.vupen.com/english/advisories/2011/0070
- https://bugzilla.redhat.com/show_bug.cgi?id=645222
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=1b528181b2ffa14721fb28ad1bd539fe1732c583
- http://grsecurity.net/~spender/64bit_dos.c
- http://secunia.com/advisories/42758
- http://secunia.com/advisories/42789
- http://secunia.com/advisories/46397