CVE-2026-98808

net: systemport: Fix buffer overflow in bcm_sysport_get_stats()

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 21, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 10377ba7673d19e28d92846955d51f49acd25c35 to before 96a2b042051553df0d9f03b518dd3b7105b36935Affected
  • 10377ba7673d19e28d92846955d51f49acd25c35 to before 29d1d35ad5ad379a904263ea1cd4ba1d71cd965fAffected
  • 10377ba7673d19e28d92846955d51f49acd25c35 to before 96d8b26be5bc451188acdcee055948da45adbde0Affected
  • 10377ba7673d19e28d92846955d51f49acd25c35 to before faba9fdde480356f4a1d3b1a5713b7b354858a1cAffected
  • 10377ba7673d19e28d92846955d51f49acd25c35 to before eb7b84af0ec5c71b4920e999611b466b3784496cAffected
LinuxLinux
  • 4.14Affected
  • before 4.14Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.113 through 6.12.*Not affected
  • 6.18.56 through 6.18.*Not affected
  • 7.2.10 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.