Vulnerability · Published Feb 28, 2024 · Assigned by Linux

CVE-2021-46991i40e: Fix use-after-free in i40e_client_subtask()

High 7.8

In plain English

A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.8High
Exploit odds (30 days)0.2%top 85.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux5.10.38-1DEBIAN-CVE-2021-46991
Debian:13linux5.10.38-1DEBIAN-CVE-2021-46991
Debian:14linux5.10.38-1DEBIAN-CVE-2021-46991
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2021-46991
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2021-46991
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2021-46991

Affected products (as reported)

VendorProductVersions
Linux Linux 7b0b1a6d0ac983ce1928432285d0222d4fb7c38b – before c1322eaeb8af0d8985b5cc5fa759140fa0e57b847b0b1a6d0ac983ce1928432285d0222d4fb7c38b – before d718c15a2bf9ae082d5ae4d177fb19ef23cb41327b0b1a6d0ac983ce1928432285d0222d4fb7c38b – before 829a713450b8fb127cbabfc1244c1d8179ec51077b0b1a6d0ac983ce1928432285d0222d4fb7c38b – before 4ebc10aa7cd17fd9857dedac69600465c9dd16d17b0b1a6d0ac983ce1928432285d0222d4fb7c38b – before 1fd5d262e7442192ac7611ff1597a36c5b0443237b0b1a6d0ac983ce1928432285d0222d4fb7c38b – before 38318f23a7ef86a8b1862e5e8078c4de121960c3
Linux Linux 4.16

References