7.8

CVE-2021-46991

i40e: Fix use-after-free in i40e_client_subtask()

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")
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version >= 4.16 < 4.19.191
LinuxLinux Kernel Version >= 4.20 < 5.4.120
LinuxLinux Kernel Version >= 5.5 < 5.10.38
LinuxLinux Kernel Version >= 5.11 < 5.11.22
LinuxLinux Kernel Version >= 5.12 < 5.12.5
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.24% 0.147
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 7.8 1.8 5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-416 Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

https://git.kernel.org/stable/c/1fd5d262e7442192ac7611ff1597a36c5b044323
Patch
https://git.kernel.org/stable/c/38318f23a7ef86a8b1862e5e8078c4de121960c3
Patch
https://git.kernel.org/stable/c/4ebc10aa7cd17fd9857dedac69600465c9dd16d1
Patch
https://git.kernel.org/stable/c/829a713450b8fb127cbabfc1244c1d8179ec5107
Patch
https://git.kernel.org/stable/c/c1322eaeb8af0d8985b5cc5fa759140fa0e57b84
Patch
https://git.kernel.org/stable/c/d718c15a2bf9ae082d5ae4d177fb19ef23cb4132
Patch