Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability exists in the Linux kernel's handling of VLAN IDs within the net: hns3 component. The issue arises because VLAN IDs can be used without proper validation when a VLAN configuration mailbox is received from a virtual function (VF). This lack of validation can lead to out-of-bounds memory access, particularly when the VLAN ID is greater than or equal to the maximum number of VLAN IDs (VLAN_N_VID). To address this, the VLAN ID must be checked to ensure it falls within the valid range before use.
Exploitation of this vulnerability can lead to out-of-bounds memory access, potentially causing memory corruption or allowing for arbitrary code execution.
The vulnerability can be reproduced by sending a VLAN configuration mailbox from a virtual function to a device using the net: hns3 driver, without a valid VLAN ID. This will trigger the out-of-bounds memory access issue.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for downloading the patched version are available on the official Linux kernel website.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.