CVE-2021-46991
i40e: Fix use-after-free in i40e_client_subtask()
Check your servers for CVE-2021-46991
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-46991 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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")
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 28 Feb 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7b0b1a6d0ac983ce1928432285d0222d4fb7c38b, before c1322eaeb8af0d8985b5cc5fa759140fa0e57b84 affected from 7b0b1a6d0ac983ce1928432285d0222d4fb7c38b, before d718c15a2bf9ae082d5ae4d177fb19ef23cb4132 affected from 7b0b1a6d0ac983ce1928432285d0222d4fb7c38b, before 829a713450b8fb127cbabfc1244c1d8179ec5107 affected from 7b0b1a6d0ac983ce1928432285d0222d4fb7c38b, before 4ebc10aa7cd17fd9857dedac69600465c9dd16d1 affected from 7b0b1a6d0ac983ce1928432285d0222d4fb7c38b, before 1fd5d262e7442192ac7611ff1597a36c5b044323 affected from 7b0b1a6d0ac983ce1928432285d0222d4fb7c38b, before 38318f23a7ef86a8b1862e5e8078c4de121960c3
Other versions: unaffected
|
| Linux |
affected 4.16 unaffected before 4.16 unaffected from 4.19.191 up to and including 4.19.* unaffected from 5.4.120 up to and including 5.4.* unaffected from 5.10.38 up to and including 5.10.* unaffected from 5.11.22 up to and including 5.11.* unaffected from 5.12.5 up to and including 5.12.* unaffected 5.13 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-46991 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-46991
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-46991
trivy image --scanners vuln IMAGE | grep CVE-2021-46991
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c1322eaeb8af0d8985b5cc5fa759140fa0e57b84 git.kernel.org
- https://git.kernel.org/stable/c/d718c15a2bf9ae082d5ae4d177fb19ef23cb4132 git.kernel.org
- https://git.kernel.org/stable/c/829a713450b8fb127cbabfc1244c1d8179ec5107 git.kernel.org
- https://git.kernel.org/stable/c/4ebc10aa7cd17fd9857dedac69600465c9dd16d1 git.kernel.org
- https://git.kernel.org/stable/c/1fd5d262e7442192ac7611ff1597a36c5b044323 git.kernel.org
- https://git.kernel.org/stable/c/38318f23a7ef86a8b1862e5e8078c4de121960c3 git.kernel.org
Source: the record CVE-2021-46991 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse