title: i40e: Fix use-after-free in i40e_client_subtask()
description: 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")
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 7b0b1a6d0ac9, lessThan: c1322eaeb8af, status: affected, versionType: git
version: 7b0b1a6d0ac9, lessThan: d718c15a2bf9, status: affected, versionType: git
version: 7b0b1a6d0ac9, lessThan: 829a713450b8, status: affected, versionType: git
version: 7b0b1a6d0ac9, lessThan: 4ebc10aa7cd1, status: affected, versionType: git
version: 7b0b1a6d0ac9, lessThan: 1fd5d262e744, status: affected, versionType: git
version: 7b0b1a6d0ac9, lessThan: 38318f23a7ef, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 4.16, status: affected
version: 0, lessThan: 4.16, status: unaffected, versionType: custom
version: 4.19.191, lessThanOrEqual: 4.19.*, status: unaffected, versionType: custom
version: 5.4.120, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.38, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.11.22, lessThanOrEqual: 5.11.*, status: unaffected, versionType: custom
version: 5.12.5, lessThanOrEqual: 5.12.*, status: unaffected, versionType: custom
version: 5.13, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
