CVE-2010-3858: Medium severity linux kernel vulnerability

Published Oct 21, 2010
·
Updated

Description of problem: The CONFIGSTACKGROWSDOWN variant of setupargpages() does not check the size of the argument/environment area on the stack. When it is unworkably large, shiftargpages() hits its BUGON. This is exploitable with a very large RLIMITSTACK limit, to create a crash pretty easily. Check that the initial stack is not too large to make it possible to map in any executable. We're not checking that the actual executable (or intepreter, for binfmtelf) will fit. So those mappings might clobber part of the initial stack mapping. But that is just userland lossage that userland made happen, not a kernel problem.

Upstream commit: http://git.kernel.org/linus/1b528181b2ffa14721fb28ad1bd539fe1732c583

Reference: http://grsecurity.net/~spender/64bitdos.c

Acknowledgements:

Red Hat would like to thank Brad Spengler for reporting this issue.

Other sources

The setupargpages function in fs/exec.c in the Linux kernel before 2.6.36, when CONFIGSTACKGROWSDOWN 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.

Launchpad

Affected Software

6 affected components
debian/linux-2.6
Linux Linux kernel<2.6.36
Debian Debian Linux=5.0
Canonical Ubuntu Linux=9.10
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=10.10

Event History

Oct 21, 2010
Data Sourced
via Red Hat·03:52 AM
DescriptionSeverityAffected Software
Nov 30, 2010
CVE Published
via MITRE·09:19 PM
Data Sourced
via MITRE·09:19 PM
Description
Jan 15, 2024
Data Sourced
via Launchpad·09:56 PM
Description
Sep 19, 2024
Data Sourced
via Ubuntu·10:43 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2010-3858?

CVE-2010-3858 is considered a high severity vulnerability as it can lead to a denial of service through a system crash.

2

How do I fix CVE-2010-3858?

To fix CVE-2010-3858, it is recommended to upgrade to a version of the Linux kernel that is higher than 2.6.36.

3

Which versions of Linux are affected by CVE-2010-3858?

CVE-2010-3858 affects the Linux kernel versions up to and including 2.6.36, as well as specific Debian and Ubuntu distributions.

4

What type of exploitation vector is associated with CVE-2010-3858?

CVE-2010-3858 can be exploited by setting a very large RLIMIT_STACK limit, allowing attackers to cause a crash.

5

Is there a known proof of concept for CVE-2010-3858?

Yes, there is a known proof of concept for CVE-2010-3858 that demonstrates the denial of service attack vector.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203