CVE-2010-3876: Low severity linux kernel vulnerability

Published Nov 4, 2010
·
Updated

Description of problem: packetgetnamespkt() doesn't initialize all members of sadata field of sockaddr struct if strlen(dev->name) < 13. This structure is then copied to userland. It leads to leaking of contents of kernel stack memory. We have to fully fill sadata with strncpy() instead of strlcpy().

The same with packetgetname(): it doesn't initialize sllpkttype field of sockaddrll. Set it to zero.

Reference: http://marc.info/?l=linux-netdev&m=128854507220908&w=2 http://seclists.org/oss-sec/2010/q4/94

Acknowledgements:

Red Hat would like to thank Vasiliy Kulikov of Openwall for reporting this issue.

Other sources

net/packet/afpacket.c in the Linux kernel before 2.6.37-rc2 does not properly initialize certain structure members, which allows local users to obtain potentially sensitive information from kernel stack memory by leveraging the CAPNETRAW capability to read copies of the applicable structures.

Launchpad

Affected Software

12 affected components
debian/linux-2.6
Linux Linux kernel=2.6.37-rc1
Linux Linux kernel<2.6.37
Linux Linux kernel=2.6.37
SUSE Linux Enterprise Server=10-sp3
SUSE Linux Enterprise Server=9
openSUSE openSUSE=11.2
openSUSE openSUSE=11.3
SUSE Linux Enterprise Desktop=10-sp3
SUSE Linux Enterprise Software Development Kit=10-sp3
SUSE Linux Enterprise Real Time Extension=11-sp1
Debian Debian Linux=5.0

Event History

Nov 4, 2010
Data Sourced
via Red Hat·12:08 PM
DescriptionSeverityAffected Software
Jan 3, 2011
CVE Published
via MITRE·07:26 PM
Data Sourced
via MITRE·07:26 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·09:54 PM
Description
Sep 19, 2024
Data Sourced
via Ubuntu·10:43 PM
RemedyDescriptionSeverityAffected Software
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-2010-3876?

CVE-2010-3876 has a medium severity rating due to its potential for leaking kernel stack memory contents.

2

How do I fix CVE-2010-3876?

To fix CVE-2010-3876, ensure you update to a kernel version beyond 2.6.37 where the vulnerability has been patched.

3

Which systems are affected by CVE-2010-3876?

CVE-2010-3876 affects various versions of the Linux kernel and specific distributions such as Debian and openSUSE.

4

What can happen if CVE-2010-3876 is exploited?

Exploitation of CVE-2010-3876 could allow unauthorized access to sensitive information from kernel memory.

5

Is CVE-2010-3876 a remote code execution vulnerability?

No, CVE-2010-3876 is not a remote code execution vulnerability but rather a local information disclosure vulnerability.

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