i40e: Fix use-after-free in i40e_client_subtask()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7b0b1a6d0ac983ce1928432285d0222d4fb7c38b · < 38318f23a7ef86a8b1862e5e8078c4de121960c3| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
i40e: Fix use-after-free in i40e_client_subtask()
Currently the call to i40e_client_del_instance frees the object pf->cinst, however pf->cinst->lan_info is being accessed after the free. Fix this by adding the missing return.
Addresses-Coverity: ("Read from pointer after free")
From the CVE record · Linux
The Linux kernel’s i40e_client_subtask() can access pf->cinst->lan_info after i40e_client_del_instance() frees pf->cinst. The input does not specify how an attacker could trigger this, whether authentication or user interaction is required, or what impact exploitation could have.
Engineers running the Linux kernel should check whether their version contains the affected i40e code; affected versions are not specified.