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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.36% (percentile 22, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2024-05-30T14:59:44.447Z
- **Modified:** 2026-10-15T01:18:21.873Z

## Who should check

- Anyone running Linux \>= 76ed715836c6994bac29d9638e9314e6e3b08651, \< cc9cd02dd9e8b7764ea9effb24f4f1dd73d1b23d; \>= e88c2a1e28c5475065563d66c07ca879a9afbd07, \< 9dcf0fcb80f6aeb01469e3c957f8d4c97365450a; \>= 9abae363af5ced6adbf04c14366289540281fb26, \< b8e82128b44fa40bf99a50b919488ef361e1683c; \>= c39de3ae5075ea5f78e097cb5720d4e52d5caed9, \< 951d2748a2a8242853abc3d0c153ce4bf8faad31; \>= 52424f974bc53c26ba3f00300a00e9de9afcd972, \< 3e89846283f3cf7c7a8e28b342576fd7c561d2ba; \>= 52424f974bc53c26ba3f00300a00e9de9afcd972, \< 0dcf573f997732702917af1563aa2493dc772fc0; \>= 52424f974bc53c26ba3f00300a00e9de9afcd972, \< 06df7618f591b2dc43c59967e294d7b9fc8675b6; \>= 52424f974bc53c26ba3f00300a00e9de9afcd972, \< f37c4eac99c258111d414d31b740437e1925b8e8; 02f949747e6fb767b29f7931d4bbf40911684e7a; \>= 4.19.264, \< 4.19.312; …
- Anyone running Linux 6.1

## 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.

## Affected and fixed versions

- Linux: \>= 76ed715836c6994bac29d9638e9314e6e3b08651, \< cc9cd02dd9e8b7764ea9effb24f4f1dd73d1b23d; \>= e88c2a1e28c5475065563d66c07ca879a9afbd07, \< 9dcf0fcb80f6aeb01469e3c957f8d4c97365450a; \>= 9abae363af5ced6adbf04c14366289540281fb26, \< b8e82128b44fa40bf99a50b919488ef361e1683c; \>= c39de3ae5075ea5f78e097cb5720d4e52d5caed9, \< 951d2748a2a8242853abc3d0c153ce4bf8faad31; \>= 52424f974bc53c26ba3f00300a00e9de9afcd972, \< 3e89846283f3cf7c7a8e28b342576fd7c561d2ba; \>= 52424f974bc53c26ba3f00300a00e9de9afcd972, \< 0dcf573f997732702917af1563aa2493dc772fc0; \>= 52424f974bc53c26ba3f00300a00e9de9afcd972, \< 06df7618f591b2dc43c59967e294d7b9fc8675b6; \>= 52424f974bc53c26ba3f00300a00e9de9afcd972, \< f37c4eac99c258111d414d31b740437e1925b8e8; 02f949747e6fb767b29f7931d4bbf40911684e7a; \>= 4.19.264, \< 4.19.312; … (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-36020. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-36020.md
Affected: Linux >= 76ed715836c6994bac29d9638e9314e6e3b08651, < cc9cd02dd9e8b7764ea9effb24f4f1dd73d1b23d; >= e88c2a1e28c5475065563d66c07ca879a9afbd07, < 9dcf0fcb80f6aeb01469e3c957f8d4c97365450a; >= 9abae363af5ced6adbf04c14366289540281fb26, < b8e82128b44fa40bf99a50b919488ef361e1683c; >= c39de3ae5075ea5f78e097c…
Fixed in: Linux 9dcf0fcb80f6aeb01469e3c957f8d4c97365450a, Linux 951d2748a2a8242853abc3d0c153ce4bf8faad31, Linux 3e89846283f3cf7c7a8e28b342576fd7c561d2ba, Linux 0dcf573f997732702917af1563aa2493dc772fc0, Linux 06df7618f591b2dc43c59967e294d7b9fc8675b6, Linux 4.19.312

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-36020 being exploited?

There is no confirmed exploitation: CVE-2024-36020 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.36% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-36020?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-36020?

Linux \>= 76ed715836c6994bac29d9638e9314e6e3b08651, \< cc9cd02dd9e8b7764ea9effb24f4f1dd73d1b23d; \>= e88c2a1e28c5475065563d66c07ca879a9afbd07, \< 9dcf0fcb80f6aeb01469e3c957f8d4c97365450a; \>= 9abae363af5ced6adbf04c14366289540281fb26, \< b8e82128b44fa40bf99a50b919488ef361e1683c; \>= c39de3ae5075ea5f78e097cb5720d4e52d5caed9, \< 951d2748a2a8242853abc3d0c153ce4bf8faad31; \>= 52424f974bc53c26ba3f00300a00e9de9afcd972, \< 3e89846283f3cf7c7a8e28b342576fd7c561d2ba; \>= 52424f974bc53c26ba3f00300a00e9de9afcd972, \< 0dcf573f997732702917af1563aa2493dc772fc0; \>= 52424f974bc53c26ba3f00300a00e9de9afcd972, \< 06df7618f591b2dc43c59967e294d7b9fc8675b6; \>= 52424f974bc53c26ba3f00300a00e9de9afcd972, \< f37c4eac99c258111d414d31b740437e1925b8e8; 02f949747e6fb767b29f7931d4bbf40911684e7a; \>= 4.19.264, \< 4.19.312; …; Linux 6.1.

### Is there a fix for CVE-2024-36020?

Yes. Fixed in Linux 9dcf0fcb80f6aeb01469e3c957f8d4c97365450a, Linux 951d2748a2a8242853abc3d0c153ce4bf8faad31, Linux 3e89846283f3cf7c7a8e28b342576fd7c561d2ba, Linux 0dcf573f997732702917af1563aa2493dc772fc0, Linux 06df7618f591b2dc43c59967e294d7b9fc8675b6, Linux 4.19.312. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-36020?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-36020>

HTML: <https://flawdb.com/CVE-2024-36020> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-36020>
