{"id":"CVE-2026-98808","summary":"net: systemport: Fix buffer overflow in bcm_sysport_get_stats()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: systemport: Fix buffer overflow in bcm_sysport_get_stats()\n\nWhen running on SYSTEMPORT Lite, certain statistics are unsupported and\nskipped during bcm_sysport_get_stats(). The variable 'j' tracks the\ncompacted index into the destination data buffer, whereas 'i' iterates\nover all elements in bcm_sysport_gstrings_stats.\n\nBecause the buffer allocated by ethtool is sized only according to\nbcm_sysport_get_sset_count(), storing values at data[i] instead of\ndata[j] writes past the allocated array bounds, leading to memory\ncorruption.\n\nFix this by writing to data[j] instead of data[i].","modified":"2026-10-19T02:47:26.780479354Z","published":"2026-10-18T15:48:55.053Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98808.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/29d1d35ad5ad379a904263ea1cd4ba1d71cd965f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/96d8b26be5bc451188acdcee055948da45adbde0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb7b84af0ec5c71b4920e999611b466b3784496c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/faba9fdde480356f4a1d3b1a5713b7b354858a1c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98808.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98808"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"10377ba7673d19e28d92846955d51f49acd25c35"},{"fixed":"29d1d35ad5ad379a904263ea1cd4ba1d71cd965f"},{"fixed":"96d8b26be5bc451188acdcee055948da45adbde0"},{"fixed":"faba9fdde480356f4a1d3b1a5713b7b354858a1c"},{"fixed":"eb7b84af0ec5c71b4920e999611b466b3784496c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98808.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.14.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"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98808.json"}}],"schema_version":"1.9.0"}