NetSight
high8.8

CVE-2025-71112

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 v…

Impact

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 products

VendorProductAffected versions
LinuxLinux 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

Weakness classification

References