1.9
CWE
909
Advisory Published
CVE Published
Updated

CVE-2010-4083

First published: Mon Nov 01 2010(Updated: )

Description of problem: The semctl syscall has several code paths that lead to the leakage of uninitialized kernel stack memory (namely the IPC_INFO, SEM_INFO, IPC_STAT, and SEM_STAT commands) during the use of the older, obsolete version of the semid_ds struct. The copy_semid_to_user() function declares a semid_ds struct on the stack and copies it back to the user without initializing or zeroing the 'sem_base', 'sem_pending', 'sem_pending_last', and 'undo' pointers, allowing the leakage of 16 bytes of kernel stack memory. The code is still reachable on 32-bit systems - when calling semctl() newer glibc's automatically OR the IPC command with the IPC_64 flag, but invoking the syscall directly allows users to use the older versions of the struct. Reference: <a href="http://www.openwall.com/lists/oss-security/2010/10/06/6">http://www.openwall.com/lists/oss-security/2010/10/06/6</a> <a href="http://www.spinics.net/lists/mm-commits/msg80234.html">http://www.spinics.net/lists/mm-commits/msg80234.html</a> Acknowledgements: Red Hat would like to thank Dan Rosenberg for reporting this issue.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
debian/linux-2.6
Linux Linux kernel<2.6.36
openSUSE openSUSE=11.3
SUSE Linux Enterprise Desktop=10-sp3
SUSE Linux Enterprise Desktop=11-sp1
Suse Linux Enterprise Real Time Extension=11-sp1
SUSE Linux Enterprise Server=9
SUSE Linux Enterprise Server=10-sp3
SUSE Linux Enterprise Server=11-sp1
SUSE Linux Enterprise Software Development Kit=10-sp3
Debian Debian Linux=5.0

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

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