Skip to content
OpenAdvisories
Unscored Public exploit CVE-2009-2847 EUVD-2009-2837GHSA-c85v-8h9f-3jwr

The do_sigaltstack function in kernel/signal.c in Linux kernel 2.4 through 2.4.37 and 2.6 before 2.6.31-rc5, when running on 64-bit systems…

Published Aug 18, 2009 · Updated Aug 7, 2024 · Assigned by mitre

Description

The do_sigaltstack function in kernel/signal.c in Linux kernel 2.4 through 2.4.37 and 2.6 before 2.6.31-rc5, when running on 64-bit systems, does not clear certain padding bytes from a structure, which allows local users to obtain sensitive information from the kernel stack via the sigaltstack function.

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 4.0 fai-kernels 1.17+etch.24etch4 DSA-1872-1
Debian 4.0 linux-2.6 2.6.18.dfsg.1-24etch4 DSA-1872-1
Debian 4.0 linux-2.6.24 2.6.24-6~etchnhalf.9etch1 DSA-1928-1
Debian 4.0 user-mode-linux 2.6.18-1um-2etch.24etch4 DSA-1872-1
ReleasePackageFixed inAdvisory
RHEL 5 kernel +12 2.6.18-164.el5 RHSA-2009:1243
RHEL 4 kernel +10 2.6.9-89.0.11.EL RHSA-2009:1438
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 5.3 EUS kernel +12 2.6.18-128.8.1.el5 RHSA-2009:1466
Red Hat MRG 1 kernel-rt +9 2.6.24.7-132.el5rt RHSA-2009:1239

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 6

References