# CVE-2025-71112: net: hns3: add VLAN id validation before using

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-01-14T15:05:59.308Z
- Modified: 2026-11-10T13:18:06.060Z
- Weaknesses: CWE-125, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from fe4144d47eef8453459c53a34e9d5940a3e6c219 before 46c7d9fe8dd869ea5de666aba8c1ec1061ca44a8; from fe4144d47eef8453459c53a34e9d5940a3e6c219 before 42c91dfa772c57de141e5a55a187ac760c0fd7e1; from fe4144d47eef8453459c53a34e9d5940a3e6c219 before 00e56a7706e10b3d00a258d81fcb85a7e96372d6; from fe4144d47eef8453459c53a34e9d5940a3e6c219 before b7b4f3bf118f51b67691a55b464f04452e5dc6fc; from fe4144d47eef8453459c53a34e9d5940a3e6c219 before 95cca255a7a5ad782639ff0298c2a486707d1046; from fe4144d47eef8453459c53a34e9d5940a3e6c219 before 91a51d01be5c9f82c12c2921ca5cceaa31b67128; from fe4144d47eef8453459c53a34e9d5940a3e6c219 before 6ef935e65902bfed53980ad2754b06a284ea8ac1; 5.3 (not affected: before 5.3; from 5.10.248 up to 5.10.*; from 5.15.198 up to 5.15.*; from 6.1.160 up to 6.1.*; from 6.6.120 up to 6.6.*; from 6.12.64 up to 6.12.*; from 6.18.3 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 5.3.1 before 5.10.248; from 5.11 before 5.15.198; from 5.16 before 6.1.160; from 6.2 before 6.6.120; from 6.7 before 6.12.64; from 6.13 before 6.18.3; 5.3; 6.19

## Every score

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

## References

- <https://git.kernel.org/stable/c/46c7d9fe8dd869ea5de666aba8c1ec1061ca44a8> (patch)
- <https://git.kernel.org/stable/c/42c91dfa772c57de141e5a55a187ac760c0fd7e1> (patch)
- <https://git.kernel.org/stable/c/00e56a7706e10b3d00a258d81fcb85a7e96372d6> (patch)
- <https://git.kernel.org/stable/c/b7b4f3bf118f51b67691a55b464f04452e5dc6fc> (patch)
- <https://git.kernel.org/stable/c/95cca255a7a5ad782639ff0298c2a486707d1046> (patch)
- <https://git.kernel.org/stable/c/91a51d01be5c9f82c12c2921ca5cceaa31b67128> (patch)
- <https://git.kernel.org/stable/c/6ef935e65902bfed53980ad2754b06a284ea8ac1> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2025-71112](https://www.cve.org/CVERecord?id=CVE-2025-71112), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2025-71112](https://nvd.nist.gov/vuln/detail/CVE-2025-71112), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2025-71112 · Whole record: https://cve.day/CVE-2025-71112.json · Rebuilt by cve.day 2026-11-25T22:59:10.611Z
