CWE
400
Advisory Published
CVE Published
Updated

CVE-2010-3858

First published: Thu Oct 21 2010(Updated: )

Description of problem: The CONFIG_STACK_GROWSDOWN variant of setup_arg_pages() does not check the size of the argument/environment area on the stack. When it is unworkably large, shift_arg_pages() hits its BUG_ON. This is exploitable with a very large RLIMIT_STACK 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 binfmt_elf) 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: <a href="http://git.kernel.org/linus/1b528181b2ffa14721fb28ad1bd539fe1732c583">http://git.kernel.org/linus/1b528181b2ffa14721fb28ad1bd539fe1732c583</a> Reference: <a href="http://grsecurity.net/~spender/64bit_dos.c">http://grsecurity.net/~spender/64bit_dos.c</a> Acknowledgements: Red Hat would like to thank Brad Spengler for reporting this issue.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
debian/linux-2.6
Linux kernel<2.6.36
Debian=5.0
Ubuntu Linux=9.10
Ubuntu Linux=10.04
Ubuntu Linux=10.10
Linux Kernel<2.6.36
Ubuntu=9.10
Ubuntu=10.04
Ubuntu=10.10

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203