# CVE-2023-53495: net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-10-01T11:45:46.877Z
- Modified: 2026-08-05T09:14:27.541Z
- Weaknesses: CWE-787
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc()

rules is allocated in ethtool_get_rxnfc and the size is determined by
rule_cnt from user space. So rule_cnt needs to be check before using
rules to avoid OOB writing or NULL pointer dereference.

(As written by CVE List.)

## Affected

- Linux Linux: from 90b509b39ac9b09be88eb641c7a3abd8de06b698 before ba6673824efa3dc198b04a54e69dce480066d7d9; from 90b509b39ac9b09be88eb641c7a3abd8de06b698 before 61054a8ddb176b155a8f2bacdfefb3727187f5d9; from 90b509b39ac9b09be88eb641c7a3abd8de06b698 before 5bb09dddc724c5f7c4dc6dd3bfebd685eecd93e8; from 90b509b39ac9b09be88eb641c7a3abd8de06b698 before 349638f7e5d3c7d328565587bb7b0454bbee02e2; from 90b509b39ac9b09be88eb641c7a3abd8de06b698 before 625b70d31dd4df4b96b3ddcbe251debb33bd67f5; from 90b509b39ac9b09be88eb641c7a3abd8de06b698 before 51fe0a470543f345e3c62b6798929de3ddcedc1d; 5.2 (not affected: before 5.2; from 5.4.257 up to 5.4.*; from 5.10.195 up to 5.10.*; from 5.15.132 up to 5.15.*; from 6.1.54 up to 6.1.*; from 6.5.4 up to 6.5.*; from 6.6 up to *)
- linux linux_kernel: from 5.2 before 5.4.257; from 5.5 before 5.10.195; from 5.11 before 5.15.132; from 5.16 before 6.1.54; from 6.2 before 6.5.4; 6.6

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/ba6673824efa3dc198b04a54e69dce480066d7d9> (patch)
- <https://git.kernel.org/stable/c/61054a8ddb176b155a8f2bacdfefb3727187f5d9> (patch)
- <https://git.kernel.org/stable/c/5bb09dddc724c5f7c4dc6dd3bfebd685eecd93e8> (patch)
- <https://git.kernel.org/stable/c/349638f7e5d3c7d328565587bb7b0454bbee02e2> (patch)
- <https://git.kernel.org/stable/c/625b70d31dd4df4b96b3ddcbe251debb33bd67f5> (patch)
- <https://git.kernel.org/stable/c/51fe0a470543f345e3c62b6798929de3ddcedc1d> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2023-53495 · Whole record: https://cve.day/CVE-2023-53495.json · Rebuilt by cve.day 2026-11-25T22:58:34.910Z
