# CVE-2026-98808: net: systemport: Fix buffer overflow in bcm_sysport_get_stats()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-10-18T15:48:55.053Z
- Modified: 2026-10-21T13:21:47.480Z
- Assigned by: Linux

## Description

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].

(As written by CVE List.)

## Affected

- Linux Linux: from 10377ba7673d19e28d92846955d51f49acd25c35 before 96a2b042051553df0d9f03b518dd3b7105b36935; from 10377ba7673d19e28d92846955d51f49acd25c35 before 29d1d35ad5ad379a904263ea1cd4ba1d71cd965f; from 10377ba7673d19e28d92846955d51f49acd25c35 before 96d8b26be5bc451188acdcee055948da45adbde0; from 10377ba7673d19e28d92846955d51f49acd25c35 before faba9fdde480356f4a1d3b1a5713b7b354858a1c; from 10377ba7673d19e28d92846955d51f49acd25c35 before eb7b84af0ec5c71b4920e999611b466b3784496c; 4.14 (not affected: before 4.14; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/96a2b042051553df0d9f03b518dd3b7105b36935>
- <https://git.kernel.org/stable/c/29d1d35ad5ad379a904263ea1cd4ba1d71cd965f>
- <https://git.kernel.org/stable/c/96d8b26be5bc451188acdcee055948da45adbde0>
- <https://git.kernel.org/stable/c/faba9fdde480356f4a1d3b1a5713b7b354858a1c>
- <https://git.kernel.org/stable/c/eb7b84af0ec5c71b4920e999611b466b3784496c>

## Sources

- CVE List: [CVE-2026-98808](https://www.cve.org/CVERecord?id=CVE-2026-98808), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-98808](https://nvd.nist.gov/vuln/detail/CVE-2026-98808), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-98808 · Whole record: https://cve.day/CVE-2026-98808.json · Rebuilt by cve.day 2026-11-25T22:59:45.310Z
