CVE-2022-49182 Details
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.
A use-after-free vulnerability has been identified in the Linux kernel's HNS3 network driver. This issue arises when adding port-based VLANs, as it requires removing virtual function (VF) VLANs from hardware and updating the VLAN state in the VF VLAN list. If a periodic task frees the same node simultaneously, it can lead to a use-after-free error. The vulnerability has been addressed by adding a VLAN list lock to protect the VLAN list.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/09e383ca97e798f9954189b741af54b5c51e7a97 | kernel.org | Patch |
| https://git.kernel.org/stable/c/1932a624ab88ff407d1a1d567fe581faa15dc725 | kernel.org | Patch |
| https://git.kernel.org/stable/c/30f0ff7176efe8ac6c55f85bce26ed58bb608758 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f58af41deeab0f45c9c80adf5f2de489ebbac3dd | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.1, < 5.15.33 >= 5.16, < 5.16.19 >= 5.17, < 5.17.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 25, 2025 | Initial Analysis | [email protected] |
| Mar 4, 2025 | CVE Modified | CISA-ADP |
| Feb 26, 2025 | New CVE Received | kernel.org |