CVE-2009-2847: Medium severity linux kernel vulnerability

Published Jul 31, 2009
·
Updated

Description of problem: dosigaltstack: avoid copying 'stackt' as a structure to user space Ulrich Drepper correctly points out that there is generally padding in the structure on 64-bit hosts, and that copying the structure from kernel to user space can leak information from the kernel stack in those padding bytes. Avoid the whole issue by just copying the three members one by one instead, which also means that the function also can avoid the need for a stack frame. This also happens to match how we copy the new structure from user space, so it all even makes sense.

Upstream commit: http://git.kernel.org/linus/0083fc2c50e6c5127c2802ad323adf8143ab7856

Other sources

The dosigaltstack 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.

Affected Software

83 affected componentsFixes available
redhat/kernel-rt<0:2.6.24.7-132.el5
0:2.6.24.7-132.el5
redhat/kernel<0:2.6.18-164.el5
0:2.6.18-164.el5
redhat/kernel<0:2.6.18-128.8.1.el5
0:2.6.18-128.8.1.el5
Linux Kernel=2.6.24.7
Linux Kernel=2.6.25.15
Linux Linux kernel<=2.6.16.31
Linux Linux kernel=2.6
Linux Linux kernel=2.6.0
Linux Linux kernel=2.6.1
Linux Linux kernel=2.6.10
Linux Linux kernel=2.6.11
Linux Linux kernel=2.6.11.1
Linux Linux kernel=2.6.11.2
Linux Linux kernel=2.6.11.3
Linux Linux kernel=2.6.11.4
Linux Linux kernel=2.6.11.5
Linux Linux kernel=2.6.11.6
Linux Linux kernel=2.6.11.7
Linux Linux kernel=2.6.11.8
Linux Linux kernel=2.6.11.9
Linux Linux kernel=2.6.11.10
Linux Linux kernel=2.6.11.11
Linux Linux kernel=2.6.11.12
Linux Linux kernel=2.6.12
Linux Linux kernel=2.6.12.1
Linux Linux kernel=2.6.12.2
Linux Linux kernel=2.6.12.3
Linux Linux kernel=2.6.12.4
Linux Linux kernel=2.6.12.5
Linux Linux kernel=2.6.12.6
Linux Linux kernel=2.6.13
Linux Linux kernel=2.6.13.1
Linux Linux kernel=2.6.13.2
Linux Linux kernel=2.6.13.3
Linux Linux kernel=2.6.13.4
Linux Linux kernel=2.6.13.5
Linux Linux kernel=2.6.14
Linux Linux kernel=2.6.14.1
Linux Linux kernel=2.6.14.2
Linux Linux kernel=2.6.14.3
Linux Linux kernel=2.6.14.4
Linux Linux kernel=2.6.14.5
Linux Linux kernel=2.6.14.6
Linux Linux kernel=2.6.14.7
Linux Linux kernel=2.6.15
Linux Linux kernel=2.6.15.1
Linux Linux kernel=2.6.15.2
Linux Linux kernel=2.6.15.3
Linux Linux kernel=2.6.15.4
Linux Linux kernel=2.6.15.5
Linux Linux kernel=2.6.15.6
Linux Linux kernel=2.6.15.7
Linux Linux kernel=2.6.16
Linux Linux kernel=2.6.16.1
Linux Linux kernel=2.6.16.2
Linux Linux kernel=2.6.16.3
Linux Linux kernel=2.6.16.10
Linux Linux kernel=2.6.16.11
Linux Linux kernel=2.6.16.12
Linux Linux kernel=2.6.16.13
Linux Linux kernel=2.6.16.14
Linux Linux kernel=2.6.16.15
Linux Linux kernel=2.6.16.16
Linux Linux kernel=2.6.16.17
Linux Linux kernel=2.6.16.18
Linux Linux kernel=2.6.16.19
Linux Linux kernel=2.6.16.20
Linux Linux kernel=2.6.16.21
Linux Linux kernel=2.6.16.22
Linux Linux kernel=2.6.16.23
Linux Linux kernel=2.6.16.24
Linux Linux kernel=2.6.16.25
Linux Linux kernel=2.6.16.26
Linux Linux kernel=2.6.16.27
Linux Linux kernel=2.6.16.28
Linux Linux kernel=2.6.16.29
Linux Linux kernel=2.6.16.30
Linux Linux kernel=2.6.16.31
Linux Linux kernel=2.6.16.31--rc1
Linux Linux kernel=2.6.16.31--rc2
Linux Linux kernel=2.6.16.31--rc3
Linux Linux kernel=2.6.16.31--rc4
Linux Linux

Event History

Jul 31, 2009
CVE Published
via Red Hat·12:00 AM
Aug 4, 2009
Data Sourced
via Red Hat·03:13 AM
DescriptionSeverityAffected Software
Aug 18, 2009
CVE Published
via MITRE·08:41 PM
Data Sourced
via MITRE·08:41 PM
Description
Data Sourced
09:00 PM
DescriptionWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2009-2847?

CVE-2009-2847 has a medium severity level due to potential information leakage from the kernel stack.

2

How do I fix CVE-2009-2847?

To fix CVE-2009-2847, update the affected Linux kernel packages to the latest versions provided by your distribution.

3

Which Linux kernel versions are vulnerable to CVE-2009-2847?

Linux kernel versions prior to 2.6.24.7 and 2.6.18-164.el5 are vulnerable to CVE-2009-2847.

4

What is the impact of exploiting CVE-2009-2847?

Exploiting CVE-2009-2847 may allow attackers to read sensitive information from the kernel stack.

5

Is CVE-2009-2847 specific to any Linux distributions?

Yes, CVE-2009-2847 specifically affects Red Hat Enterprise Linux 5 and similar distributions with the mentioned kernel versions.

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