CVE-2025-71112
net: hns3: add VLAN id validation before using
Check your servers for CVE-2025-71112
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-2025-71112 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
net: hns3: add VLAN id validation before using
Currently, the VLAN id may be used without validation when receive a VLAN configuration mailbox from VF. The length of vlan_del_fail_bmap is BITS_TO_LONGS(VLAN_N_VID). It may cause out-of-bounds memory access once the VLAN id is bigger than or equal to VLAN_N_VID.
Therefore, VLAN id needs to be checked to ensure it is within the range of VLAN_N_VID.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.66% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-787 Out-of-bounds Write
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from fe4144d47eef8453459c53a34e9d5940a3e6c219, before 46c7d9fe8dd869ea5de666aba8c1ec1061ca44a8 affected from fe4144d47eef8453459c53a34e9d5940a3e6c219, before 42c91dfa772c57de141e5a55a187ac760c0fd7e1 affected from fe4144d47eef8453459c53a34e9d5940a3e6c219, before 00e56a7706e10b3d00a258d81fcb85a7e96372d6 affected from fe4144d47eef8453459c53a34e9d5940a3e6c219, before b7b4f3bf118f51b67691a55b464f04452e5dc6fc affected from fe4144d47eef8453459c53a34e9d5940a3e6c219, before 95cca255a7a5ad782639ff0298c2a486707d1046 affected from fe4144d47eef8453459c53a34e9d5940a3e6c219, before 91a51d01be5c9f82c12c2921ca5cceaa31b67128 affected from fe4144d47eef8453459c53a34e9d5940a3e6c219, before 6ef935e65902bfed53980ad2754b06a284ea8ac1
Other versions: unaffected
|
| Linux |
affected 5.3 unaffected before 5.3 unaffected from 5.10.248 up to and including 5.10.* unaffected from 5.15.198 up to and including 5.15.* unaffected from 6.1.160 up to and including 6.1.* unaffected from 6.6.120 up to and including 6.6.* unaffected from 6.12.64 up to and including 6.12.* unaffected from 6.18.3 up to and including 6.18.* unaffected 6.19 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-2025-71112 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-71112
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-2025-71112
trivy image --scanners vuln IMAGE | grep CVE-2025-71112
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
- https://git.kernel.org/stable/c/46c7d9fe8dd869ea5de666aba8c1ec1061ca44a8 git.kernel.org
- https://git.kernel.org/stable/c/42c91dfa772c57de141e5a55a187ac760c0fd7e1 git.kernel.org
- https://git.kernel.org/stable/c/00e56a7706e10b3d00a258d81fcb85a7e96372d6 git.kernel.org
- https://git.kernel.org/stable/c/b7b4f3bf118f51b67691a55b464f04452e5dc6fc git.kernel.org
- https://git.kernel.org/stable/c/95cca255a7a5ad782639ff0298c2a486707d1046 git.kernel.org
- https://git.kernel.org/stable/c/91a51d01be5c9f82c12c2921ca5cceaa31b67128 git.kernel.org
- https://git.kernel.org/stable/c/6ef935e65902bfed53980ad2754b06a284ea8ac1 git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
Source: the record CVE-2025-71112 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse