8.8high
net: hns3: add VLAN id validation before using
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.19% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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.* | CVE List |
| 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 | NVD |
All scores
| Linux | 8.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: hns3: añadir validación de ID de VLAN antes de usar Actualmente, el ID de VLAN puede ser usado sin validación cuando se recibe un buzón de configuración de VLAN desde VF. La longitud de vlan_del_fail_bmap es BITS_TO_LONGS(VLAN_N_VID). Puede causar acceso a memoria fuera de límites una vez que el ID de VLAN es mayor o igual que VLAN_N_VID. Por lo tanto, el ID de VLAN necesita ser verificado para asegurar que está dentro del rango de VLAN_N_VID.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-71112 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2025-71112 changed 2026-11-10 | Public domain |