net: systemport: Fix buffer overflow in bcm_sysport_get_stats()

Summary

CVECVE-2026-98808
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-18 16:17:34 UTC
Updated2026-10-21 13:21:47 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: net: systemport: Fix buffer overflow in bcm_sysport_get_stats() When running on SYSTEMPORT Lite, certain statistics are unsupported and skipped during bcm_sysport_get_stats(). The variable 'j' tracks the compacted index into the destination data buffer, whereas 'i' iterates over all elements in bcm_sysport_gstrings_stats. Because the buffer allocated by ethtool is sized only according to bcm_sysport_get_sset_count(), storing values at data[i] instead of data[j] writes past the allocated array bounds, leading to memory corruption. Fix this by writing to data[j] instead of data[i].

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 10377ba7673d19e28d92846955d51f49acd25c35 96a2b042051553df0d9f03b518dd3b7105b36935 git Not specified
CNA Linux Linux affected 10377ba7673d19e28d92846955d51f49acd25c35 29d1d35ad5ad379a904263ea1cd4ba1d71cd965f git Not specified
CNA Linux Linux affected 10377ba7673d19e28d92846955d51f49acd25c35 96d8b26be5bc451188acdcee055948da45adbde0 git Not specified
CNA Linux Linux affected 10377ba7673d19e28d92846955d51f49acd25c35 faba9fdde480356f4a1d3b1a5713b7b354858a1c git Not specified
CNA Linux Linux affected 10377ba7673d19e28d92846955d51f49acd25c35 eb7b84af0ec5c71b4920e999611b466b3784496c git Not specified
CNA Linux Linux affected 4.14 Not specified
CNA Linux Linux unaffected 4.14 semver Not specified
CNA Linux Linux unaffected 6.6.160 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.113 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.56 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.10 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/eb7b84af0ec5c71b4920e999611b466b3784496c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/96a2b042051553df0d9f03b518dd3b7105b36935 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/faba9fdde480356f4a1d3b1a5713b7b354858a1c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/96d8b26be5bc451188acdcee055948da45adbde0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/29d1d35ad5ad379a904263ea1cd4ba1d71cd965f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report