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

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-02-28T08:13:17.195Z
- Modified: 2026-06-17T04:16:06.270Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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")

(As written by CVE List.)

## Affected

- Linux Linux: from 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.*; from 5.13 up to *)
- linux linux_kernel: from 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.5

## References

- <https://git.kernel.org/stable/c/c1322eaeb8af0d8985b5cc5fa759140fa0e57b84> (patch)
- <https://git.kernel.org/stable/c/d718c15a2bf9ae082d5ae4d177fb19ef23cb4132> (patch)
- <https://git.kernel.org/stable/c/829a713450b8fb127cbabfc1244c1d8179ec5107> (patch)
- <https://git.kernel.org/stable/c/4ebc10aa7cd17fd9857dedac69600465c9dd16d1> (patch)
- <https://git.kernel.org/stable/c/1fd5d262e7442192ac7611ff1597a36c5b044323> (patch)
- <https://git.kernel.org/stable/c/38318f23a7ef86a8b1862e5e8078c4de121960c3> (patch)

## Sources

- CVE List: [CVE-2021-46991](https://www.cve.org/CVERecord?id=CVE-2021-46991), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-46991](https://nvd.nist.gov/vuln/detail/CVE-2021-46991), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-46991 · Whole record: https://cve.day/CVE-2021-46991.json · Rebuilt by cve.day 2026-11-25T22:58:08.605Z
