CVE-2025-71112

Source
https://cve.org/CVERecord?id=CVE-2025-71112
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71112.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-71112
Downstream
Related
Published
2026-01-14T15:05:59.308Z
Modified
2026-03-20T12:46:37.897918Z
Summary
net: hns3: add VLAN id validation before using
Details

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 vlandelfailbmap is BITSTOLONGS(VLANNVID). It may cause out-of-bounds memory access once the VLAN id is bigger than or equal to VLANN_VID.

Therefore, VLAN id needs to be checked to ensure it is within the range of VLANNVID.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71112.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fe4144d47eef8453459c53a34e9d5940a3e6c219
Fixed
46c7d9fe8dd869ea5de666aba8c1ec1061ca44a8
Fixed
42c91dfa772c57de141e5a55a187ac760c0fd7e1
Fixed
00e56a7706e10b3d00a258d81fcb85a7e96372d6
Fixed
b7b4f3bf118f51b67691a55b464f04452e5dc6fc
Fixed
95cca255a7a5ad782639ff0298c2a486707d1046
Fixed
91a51d01be5c9f82c12c2921ca5cceaa31b67128
Fixed
6ef935e65902bfed53980ad2754b06a284ea8ac1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71112.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.3.0
Fixed
5.10.248
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.198
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.160
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.120
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.64
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71112.json"