# CVE-2024-36020: i40e: fix vf may be used uninitialized in this function warning

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `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.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-05-30T14:59:44.447Z
- Modified: 2026-10-15T01:18:21.873Z
- Weaknesses: CWE-908
- 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 vf may be used uninitialized in this function warning

To fix the regression introduced by commit 52424f974bc5, which causes
servers hang in very hard to reproduce conditions with resets races.
Using two sources for the information is the root cause.
In this function before the fix bumping v didn't mean bumping vf
pointer. But the code used this variables interchangeably, so stale vf
could point to different/not intended vf.

Remove redundant "v" variable and iterate via single VF pointer across
whole function instead to guarantee VF pointer validity.

(As written by CVE List.)

## Affected

- Linux Linux: from 76ed715836c6994bac29d9638e9314e6e3b08651 before cc9cd02dd9e8b7764ea9effb24f4f1dd73d1b23d; from e88c2a1e28c5475065563d66c07ca879a9afbd07 before 9dcf0fcb80f6aeb01469e3c957f8d4c97365450a; from 9abae363af5ced6adbf04c14366289540281fb26 before b8e82128b44fa40bf99a50b919488ef361e1683c; from c39de3ae5075ea5f78e097cb5720d4e52d5caed9 before 951d2748a2a8242853abc3d0c153ce4bf8faad31; from 52424f974bc53c26ba3f00300a00e9de9afcd972 before 3e89846283f3cf7c7a8e28b342576fd7c561d2ba; from 52424f974bc53c26ba3f00300a00e9de9afcd972 before 0dcf573f997732702917af1563aa2493dc772fc0; from 52424f974bc53c26ba3f00300a00e9de9afcd972 before 06df7618f591b2dc43c59967e294d7b9fc8675b6; from 52424f974bc53c26ba3f00300a00e9de9afcd972 before f37c4eac99c258111d414d31b740437e1925b8e8; 02f949747e6fb767b29f7931d4bbf40911684e7a; from 4.19.264 before 4.19.312; from 5.4.223 before 5.4.274; from 5.10.153 before 5.10.215; and 3 more (not affected: before 6.1; from 4.19.312 up to 4.19.*; from 5.4.274 up to 5.4.*; from 5.10.215 up to 5.10.*; from 5.15.154 up to 5.15.*; from 6.1.85 up to 6.1.*; from 6.6.26 up to 6.6.*; from 6.8.5 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 4.19.264 before 4.19.312; from 5.4.223 before 5.4.274; from 5.10.153 before 5.10.215; from 5.15.77 before 5.15.154; from 6.0.7 before 6.1; from 6.1.1 before 6.1.85; from 6.2 before 6.6.26; from 6.7 before 6.8.5; 6.1; 6.9
- debian debian_linux: 10.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/cc9cd02dd9e8b7764ea9effb24f4f1dd73d1b23d> (patch)
- <https://git.kernel.org/stable/c/9dcf0fcb80f6aeb01469e3c957f8d4c97365450a> (patch)
- <https://git.kernel.org/stable/c/b8e82128b44fa40bf99a50b919488ef361e1683c> (patch)
- <https://git.kernel.org/stable/c/951d2748a2a8242853abc3d0c153ce4bf8faad31> (patch)
- <https://git.kernel.org/stable/c/3e89846283f3cf7c7a8e28b342576fd7c561d2ba> (patch)
- <https://git.kernel.org/stable/c/0dcf573f997732702917af1563aa2493dc772fc0> (patch)
- <https://git.kernel.org/stable/c/06df7618f591b2dc43c59967e294d7b9fc8675b6> (patch)
- <https://git.kernel.org/stable/c/f37c4eac99c258111d414d31b740437e1925b8e8> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-36020](https://www.cve.org/CVERecord?id=CVE-2024-36020), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-36020](https://nvd.nist.gov/vuln/detail/CVE-2024-36020), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-36020 · Whole record: https://cve.day/CVE-2024-36020.json · Rebuilt by cve.day 2026-11-25T22:58:41.109Z
