net: systemport: Fix buffer overflow in bcm_sysport_get_stats()
In 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].
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.113, 6.18.56, 6.6.160, 7.2.10
- CVEs
- CVE-2026-98808
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 17:33 UTC · Revision 1
Source evidence
net: systemport: Fix buffer overflow in bcm_sysport_get_stats()
core-osv · Original sourcePublished 18 Oct 2026, 15:48 UTC
In 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].
osv:CVE-2026-98808
Kernel
Fixed versions: 6.6.160, 6.12.113, 6.18.56, 7.2.10
Complete source record
{
"id": "636fbbf9fcd84e1a4ab4af27920b8570c26ec1cf2ef34a55fd29afbaa9b8ff31",
"url": "https://osv.dev/vulnerability/CVE-2026-98808",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: systemport: Fix buffer overflow in bcm_sysport_get_stats()",
"summary": "In 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].",
"evidence": "osv:CVE-2026-98808",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.160",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.113",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.56",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-98808",
"aliases": [
"CVE-2026-98808"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "10377ba7673d19e28d92846955d51f49acd25c35"
},
{
"fixed": "96a2b042051553df0d9f03b518dd3b7105b36935"
},
{
"fixed": "29d1d35ad5ad379a904263ea1cd4ba1d71cd965f"
},
{
"fixed": "96d8b26be5bc451188acdcee055948da45adbde0"
},
{
"fixed": "faba9fdde480356f4a1d3b1a5713b7b354858a1c"
},
{
"fixed": "eb7b84af0ec5c71b4920e999611b466b3784496c"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98808.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.14.0"
},
{
"fixed": "6.6.160"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.113"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.56"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98808.json"
}
}
],
"modified": "2026-10-28T02:30:21.633266661Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/29d1d35ad5ad379a904263ea1cd4ba1d71cd965f",
"https://git.kernel.org/stable/c/96a2b042051553df0d9f03b518dd3b7105b36935",
"https://git.kernel.org/stable/c/96d8b26be5bc451188acdcee055948da45adbde0",
"https://git.kernel.org/stable/c/eb7b84af0ec5c71b4920e999611b466b3784496c",
"https://git.kernel.org/stable/c/faba9fdde480356f4a1d3b1a5713b7b354858a1c",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98808.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-98808",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98808.json"
}
},
"related_cves": [
{
"value": "CVE-2026-98808",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 487857,
"published_at": "2026-10-18T15:48:55.053+00:00"
}