Unrated severityNVD Advisory· Published Jun 7, 2013· Updated Apr 29, 2026
CVE-2013-1929
CVE-2013-1929
Description
Heap-based buffer overflow in the tg3_read_vpd function in drivers/net/ethernet/broadcom/tg3.c in the Linux kernel before 3.8.6 allows physically proximate attackers to cause a denial of service (system crash) or possibly execute arbitrary code via crafted firmware that specifies a long string in the Vital Product Data (VPD) data structure.
Affected products
6cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 5 more
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: <=3.8.5
- cpe:2.3:o:linux:linux_kernel:3.8.0:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:3.8.1:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:3.8.2:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:3.8.3:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:3.8.4:*:*:*:*:*:*:*
Patches
1715230a44310tg3: fix length overflow in VPD firmware parsing
1 file changed · +5 −2
drivers/net/ethernet/broadcom/tg3.c+5 −2 modified@@ -14604,8 +14604,11 @@ static void tg3_read_vpd(struct tg3 *tp) if (j + len > block_end) goto partno; - memcpy(tp->fw_ver, &vpd_data[j], len); - strncat(tp->fw_ver, " bc ", vpdlen - len - 1); + if (len >= sizeof(tp->fw_ver)) + len = sizeof(tp->fw_ver) - 1; + memset(tp->fw_ver, 0, sizeof(tp->fw_ver)); + snprintf(tp->fw_ver, sizeof(tp->fw_ver), "%.*s bc ", len, + &vpd_data[j]); } partno:
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
16- cansecwest.com/slides/2013/PrivateCore%20CSW%202013.pdfnvdExploit
- github.com/torvalds/linux/commit/715230a44310a8cf66fbfb5a46f9a62a9b2de424nvdExploitPatch
- git.kernel.orgnvd
- lists.fedoraproject.org/pipermail/package-announce/2013-April/101836.htmlnvd
- lists.opensuse.org/opensuse-security-announce/2013-09/msg00003.htmlnvd
- lists.opensuse.org/opensuse-security-announce/2013-09/msg00004.htmlnvd
- lists.opensuse.org/opensuse-updates/2013-12/msg00129.htmlnvd
- rhn.redhat.com/errata/RHSA-2013-1645.htmlnvd
- www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.6nvd
- www.mandriva.com/security/advisoriesnvd
- www.openwall.com/lists/oss-security/2013/04/06/3nvd
- www.ubuntu.com/usn/USN-1834-1nvd
- www.ubuntu.com/usn/USN-1835-1nvd
- www.ubuntu.com/usn/USN-1836-1nvd
- www.ubuntu.com/usn/USN-1838-1nvd
- bugzilla.redhat.com/show_bug.cginvd
News mentions
0No linked articles in our index yet.