CVE-2010-3874: Buffer Overflow

Published Nov 4, 2010
·
Updated

Description of problem: In bcmconnect() (in net/can/bcm.c), there is the following code:

sprintf(bo->procname, "%p", sock);

"procname" is a 9-byte char array. On 64-bit platforms, up to 17 bytes may be copied into the buffer. Fortunately, structure padding will most likely prevent this from being a problem, except for the trailing NULL byte, which may overwrite the first byte of the next heap object.

Reference: http://www.spinics.net/lists/netdev/msg145791.html

Acknowledgements:

Red Hat would like to thank Dan Rosenberg for reporting this issue.

Other sources

Heap-based buffer overflow in the bcmconnect function in net/can/bcm.c (aka the Broadcast Manager) in the Controller Area Network (CAN) implementation in the Linux kernel before 2.6.36.2 on 64-bit platforms might allow local users to cause a denial of service (memory corruption) via a connect operation.

Launchpad

Affected Software

9 affected components
debian/linux-2.6
Linux Linux kernel<2.6.36.2
Fedoraproject Fedora=13
SUSE Linux Enterprise Desktop=11-sp1
SUSE Linux Enterprise Server=11-sp1
openSUSE openSUSE=11.2
openSUSE openSUSE=11.3
SUSE Linux Enterprise Real Time Extension=11-sp1
Debian Debian Linux=5.0

Event History

Nov 4, 2010
Data Sourced
via Red Hat·10:25 AM
DescriptionSeverityAffected Software
Dec 29, 2010
CVE Published
via MITRE·05:27 PM
Data Sourced
via MITRE·05:27 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·09:54 PM
Description
Sep 15, 2024
Data Sourced
via Ubuntu·10:42 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2010-3874?

CVE-2010-3874 is classified as a medium severity vulnerability due to the potential buffer overflow risk on 64-bit systems.

2

How do I fix CVE-2010-3874?

To fix CVE-2010-3874, ensure that you update to a patched version of the Linux kernel that is above version 2.6.36.2.

3

Which systems are affected by CVE-2010-3874?

CVE-2010-3874 affects various Linux distributions including Debian, Fedora, and openSUSE versions detailed in the vulnerability description.

4

What type of vulnerability is CVE-2010-3874?

CVE-2010-3874 is a buffer overflow vulnerability found in the bcm_connect function of the Linux kernel CAN (Controller Area Network) subsystem.

5

Are there any known exploits for CVE-2010-3874?

As of now, there are no publicly known exploits specifically targeting CVE-2010-3874, but it is advisable to patch vulnerable systems.

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