CVE-2022-49182

net: hns3: add vlan list lock to protect vlan list

State
Published
Severity
7.8 High
Published
Feb 26, 2025
Updated
Aug 5, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

net: hns3: add vlan list lock to protect vlan list

When adding port base VLAN, vf VLAN need to remove from HW and modify the vlan state in vf VLAN list as false. If the periodicity task is freeing the same node, it may cause "use after free" error. This patch adds a vlan list lock to protect the vlan list.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • c6075b193462d9a3930fb41f587f94720658752a to before 30f0ff7176efe8ac6c55f85bce26ed58bb608758Affected
  • c6075b193462d9a3930fb41f587f94720658752a to before 09e383ca97e798f9954189b741af54b5c51e7a97Affected
  • c6075b193462d9a3930fb41f587f94720658752a to before f58af41deeab0f45c9c80adf5f2de489ebbac3ddAffected
  • c6075b193462d9a3930fb41f587f94720658752a to before 1932a624ab88ff407d1a1d567fe581faa15dc725Affected
LinuxLinux
  • 5.1Affected
  • before 5.1Not affected
  • 5.15.33 through 5.15.*Not affected
  • 5.16.19 through 5.16.*Not affected
  • 5.17.2 through 5.17.*Not affected
  • 5.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.