net: hns3: add VLAN id validation before using (Linux Linux)

CVE-2025-71112
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected fe4144d47eef8453459c53a34e9d5940a3e6c219 < 46c7d9fe8dd869ea5de666aba8c1ec1061ca44a8 ; affected fe4144d47eef8453459c53a34e9d5940a3e6c219 < 42c91dfa772c57de141e5a55a187ac760c0fd7e1 ; affected fe4144d47eef8453459c53a34e9d5940a3e6c219 < 00e56a7706e10b3d00a258d81fcb85a7e96372d6 ; affected fe4144d47eef8453459c53a34e9d5940a3e6c219 < b7b4f3bf118f51b67691a55b464f04452e5dc6fc ; affected fe4144d47eef8453459c53a34e9d5940a3e6c219 < 95cca255a7a5ad782639ff0298c2a486707d1046 ; affected fe4144d47eef8453459c53a34e9d5940a3e6c219 < 91a51d01be5c9f82c12c2921ca5cceaa31b67128
Linux · Linuxaffected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.10.248 ≤ 5.10.* ; unaffected 5.15.198 ≤ 5.15.* ; unaffected 6.1.160 ≤ 6.1.* ; unaffected 6.6.120 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD