# CVE-2022-49182: net: hns3: add vlan list lock to protect vlan list

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2025-02-26T01:55:33.574Z
- Modified: 2026-08-05T08:54:19.865Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from c6075b193462d9a3930fb41f587f94720658752a before 30f0ff7176efe8ac6c55f85bce26ed58bb608758; from c6075b193462d9a3930fb41f587f94720658752a before 09e383ca97e798f9954189b741af54b5c51e7a97; from c6075b193462d9a3930fb41f587f94720658752a before f58af41deeab0f45c9c80adf5f2de489ebbac3dd; from c6075b193462d9a3930fb41f587f94720658752a before 1932a624ab88ff407d1a1d567fe581faa15dc725; 5.1 (not affected: before 5.1; from 5.15.33 up to 5.15.*; from 5.16.19 up to 5.16.*; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 5.1 before 5.15.33; from 5.16 before 5.16.19; from 5.17 before 5.17.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/30f0ff7176efe8ac6c55f85bce26ed58bb608758> (patch)
- <https://git.kernel.org/stable/c/09e383ca97e798f9954189b741af54b5c51e7a97> (patch)
- <https://git.kernel.org/stable/c/f58af41deeab0f45c9c80adf5f2de489ebbac3dd> (patch)
- <https://git.kernel.org/stable/c/1932a624ab88ff407d1a1d567fe581faa15dc725> (patch)

## Sources

- CVE List: [CVE-2022-49182](https://www.cve.org/CVERecord?id=CVE-2022-49182), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49182](https://nvd.nist.gov/vuln/detail/CVE-2022-49182), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49182 · Whole record: https://cve.day/CVE-2022-49182.json · Rebuilt by cve.day 2026-11-25T22:58:20.258Z
