All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-49182

Probability of exploitation in the next 30 days: 0.28%

FIRST EPSS · 2026-11-19

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 flaw was found in the Linux kernel hns3 driver. Adding a port VLAN and a periodic task that frees the same VLAN-list node can race. A local user of that device can hit a use-after-free.