i40e: fix validation of VF state in get resources
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 61125b8be85dfbc7e9c7fe1cc6c6d631ab603516 · < 6128bbc7adc25c87c2f64b5eb66a280b78ef7ab7| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
i40e: fix validation of VF state in get resources
VF state I40E_VF_STATE_ACTIVE is not the only state in which VF is actually active so it should not be used to determine if a VF is allowed to obtain resources.
Use I40E_VF_STATE_RESOURCES_LOADED that is set only in i40e_vc_get_vf_resources_msg() and cleared during reset.
From the CVE record · Linux
The Linux kernel’s i40e driver uses an incorrect VF state check when deciding whether a virtual function (VF) can obtain resources. The input does not specify an attacker outcome or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the i40e driver should check their installations; affected versions are not specified.