CVE-2023-53495

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

7.8 high EPSS 0.18%

Published 1 Oct 2025 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2023-53495

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53495 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.51% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 90b509b39ac9b09be88eb641c7a3abd8de06b698, before ba6673824efa3dc198b04a54e69dce480066d7d9
affected from 90b509b39ac9b09be88eb641c7a3abd8de06b698, before 61054a8ddb176b155a8f2bacdfefb3727187f5d9
affected from 90b509b39ac9b09be88eb641c7a3abd8de06b698, before 5bb09dddc724c5f7c4dc6dd3bfebd685eecd93e8
affected from 90b509b39ac9b09be88eb641c7a3abd8de06b698, before 349638f7e5d3c7d328565587bb7b0454bbee02e2
affected from 90b509b39ac9b09be88eb641c7a3abd8de06b698, before 625b70d31dd4df4b96b3ddcbe251debb33bd67f5
affected from 90b509b39ac9b09be88eb641c7a3abd8de06b698, before 51fe0a470543f345e3c62b6798929de3ddcedc1d
Other versions: unaffected
Linux
affected 5.2
unaffected before 5.2
unaffected from 5.4.257 up to and including 5.4.*
unaffected from 5.10.195 up to and including 5.10.*
unaffected from 5.15.132 up to and including 5.15.*
unaffected from 6.1.54 up to and including 6.1.*
unaffected from 6.5.4 up to and including 6.5.*
unaffected 6.6 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53495 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53495

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-53495
trivy image --scanners vuln IMAGE | grep CVE-2023-53495

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-53495 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.