Skip to content
OpenAdvisories
Unscored Public exploit CVE-2010-3858 EUVD-2010-3837GHSA-j2mv-rmhw-vq9m

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 restric…

Published Nov 30, 2010 · Updated Aug 7, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 linux-2.6 2.6.26-26lenny1 DSA-2126-1
ReleasePackageFixed inAdvisory
RHEL 6 perf +14 2.6.32-131.2.1.el6 RHSA-2011:0836
RHEL 5 kernel +12 2.6.18-194.32.1.el5 RHSA-2011:0004
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat MRG 1 perf +10 2.6.33.7-rt29.47.el5rt RHSA-2010:0958

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 4

References