SB20250226306 - Use-after-free in Linux kernel hns3 hns3pf driver
Published: February 26, 2025 Updated: May 11, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Use-after-free (CVE-ID: CVE-2022-49182)
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error within the hclge_add_vport_vlan_table(), hclge_add_vport_all_vlan_table(), hclge_rm_vport_vlan_table(), hclge_rm_vport_all_vlan_table(), hclge_uninit_vport_vlan_table(), hclge_restore_vport_vlan_table() and hclge_uninit_ae_dev() functions in drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c. A local user can escalate privileges on the system.
Remediation
Install update from vendor's website.
References
- https://git.kernel.org/stable/c/09e383ca97e798f9954189b741af54b5c51e7a97
- https://git.kernel.org/stable/c/1932a624ab88ff407d1a1d567fe581faa15dc725
- https://git.kernel.org/stable/c/30f0ff7176efe8ac6c55f85bce26ed58bb608758
- https://git.kernel.org/stable/c/f58af41deeab0f45c9c80adf5f2de489ebbac3dd
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.17.2