CVE-2026-98808 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].
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 4.14
해결 버전
- 4.14 미만
- 6.6.160 이상
- 6.12.113 이상
- 6.18.56 이상
- 7.2.10 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/29d1d35ad5ad379a904263ea1cd4ba1d71cd965f (새 창)
- git.kernel.org https://git.kernel.org/stable/c/96a2b042051553df0d9f03b518dd3b7105b36935 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/96d8b26be5bc451188acdcee055948da45adbde0 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/eb7b84af0ec5c71b4920e999611b466b3784496c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/faba9fdde480356f4a1d3b1a5713b7b354858a1c (새 창)