Linux kernel hns3 VLAN ID OOB memory access
CVE-2025-71112 Published on January 14, 2026
net: hns3: add VLAN id validation before using
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.
Products Associated with CVE-2025-71112
stack.watch emails you whenever new vulnerabilities are published in Linux Kernel or Canonical Ubuntu Linux. Just hit a watch button to start following.
Affected Versions
Linux:- Version fe4144d47eef8453459c53a34e9d5940a3e6c219 and below 46c7d9fe8dd869ea5de666aba8c1ec1061ca44a8 is affected.
- Version fe4144d47eef8453459c53a34e9d5940a3e6c219 and below 42c91dfa772c57de141e5a55a187ac760c0fd7e1 is affected.
- Version fe4144d47eef8453459c53a34e9d5940a3e6c219 and below 00e56a7706e10b3d00a258d81fcb85a7e96372d6 is affected.
- Version fe4144d47eef8453459c53a34e9d5940a3e6c219 and below b7b4f3bf118f51b67691a55b464f04452e5dc6fc is affected.
- Version fe4144d47eef8453459c53a34e9d5940a3e6c219 and below 95cca255a7a5ad782639ff0298c2a486707d1046 is affected.
- Version fe4144d47eef8453459c53a34e9d5940a3e6c219 and below 91a51d01be5c9f82c12c2921ca5cceaa31b67128 is affected.
- Version fe4144d47eef8453459c53a34e9d5940a3e6c219 and below 6ef935e65902bfed53980ad2754b06a284ea8ac1 is affected.
- Version 5.3 is affected.
- Before 5.3 is unaffected.
- Version 5.10.248, <= 5.10.* is unaffected.
- Version 5.15.198, <= 5.15.* is unaffected.
- Version 6.1.160, <= 6.1.* is unaffected.
- Version 6.6.120, <= 6.6.* is unaffected.
- Version 6.12.64, <= 6.12.* is unaffected.
- Version 6.18.3, <= 6.18.* is unaffected.
- Version 6.19, <= * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.