---
id: CVE-2025-71112
title: |-
  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
summary: |-
  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
  v…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-125
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.3.1, < 5.10.248'
  - 'linux_kernel >= 5.11, < 5.15.198'
  - 'linux_kernel >= 5.16, < 6.1.160'
  - 'linux_kernel >= 6.2, < 6.6.120'
  - 'linux_kernel >= 6.7, < 6.12.64'
  - 'linux_kernel >= 6.13, < 6.18.3'
  - linux_kernel = 5.3
  - linux_kernel = 6.19
patched:
  - linux_kernel 6.18.3
published: '2026-01-14'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:18:21.427'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71112'
references:
  - url: 'https://git.kernel.org/stable/c/00e56a7706e10b3d00a258d81fcb85a7e96372d6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/42c91dfa772c57de141e5a55a187ac760c0fd7e1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/46c7d9fe8dd869ea5de666aba8c1ec1061ca44a8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6ef935e65902bfed53980ad2754b06a284ea8ac1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/91a51d01be5c9f82c12c2921ca5cceaa31b67128'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/95cca255a7a5ad782639ff0298c2a486707d1046'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b7b4f3bf118f51b67691a55b464f04452e5dc6fc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-019113.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-457936.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00158
epssPercentile: 0.04898
ingestedAt: '2026-09-08T15:33:26.995Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T15:05:48.983930Z'
---

## Overview

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

- `linux_kernel >= 5.3.1, < 5.10.248`
- `linux_kernel >= 5.11, < 5.15.198`
- `linux_kernel >= 5.16, < 6.1.160`
- `linux_kernel >= 6.2, < 6.6.120`
- `linux_kernel >= 6.7, < 6.12.64`
- `linux_kernel >= 6.13, < 6.18.3`
- `linux_kernel = 5.3`
- `linux_kernel = 6.19`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.18.3`
