CVE-2021-46991
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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 or packageVersionsReported by
Linux Linuxfrom 7b0b1a6d0ac983ce1928432285d0222d4fb7c38b before c1322eaeb8af0d8985b5cc5fa759140fa0e57b84, from 7b0b1a6d0ac983ce1928432285d0222d4fb7c38b before d718c15a2bf9ae082d5ae4d177fb19ef23cb4132, from 7b0b1a6d0ac983ce1928432285d0222d4fb7c38b before 829a713450b8fb127cbabfc1244c1d8179ec5107, from 7b0b1a6d0ac983ce1928432285d0222d4fb7c38b before 4ebc10aa7cd17fd9857dedac69600465c9dd16d1, from 7b0b1a6d0ac983ce1928432285d0222d4fb7c38b before 1fd5d262e7442192ac7611ff1597a36c5b044323, from 7b0b1a6d0ac983ce1928432285d0222d4fb7c38b before 38318f23a7ef86a8b1862e5e8078c4de121960c3, 4.16
Not affected: before 4.16, from 4.19.191 up to 4.19.*, from 5.4.120 up to 5.4.*, from 5.10.38 up to 5.10.*, from 5.11.22 up to 5.11.*, from 5.12.5 up to 5.12.*
CVE List
linux linux_kernelfrom 4.16 before 4.19.191, from 4.20 before 5.4.120, from 5.5 before 5.10.38, from 5.11 before 5.11.22, from 5.12 before 5.12.5NVD

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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")

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: i40e: Se corrige use-after-free en i40e_client_subtask() Actualmente la llamada a i40e_client_del_instance libera el objeto pf->cinst, sin embargo se accede a pf->cinst->lan_info después de gratis. Solucione este problema agregando la declaración que falta. Direcciones-Cobertura: ("Leer desde el puntero después de estar libre")

References

Sources

SourceRecordLicence
CVE ListCVE-2021-46991 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-46991 changed 2026-06-17Public domain