---
id: CVE-2024-36020
title: |-
  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 repr…
summary: |-
  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 repr…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-908
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.19.264, < 4.19.312'
  - 'linux_kernel >= 5.4.223, < 5.4.274'
  - 'linux_kernel >= 5.10.153, < 5.10.215'
  - 'linux_kernel >= 5.15.77, < 5.15.154'
  - 'linux_kernel >= 6.0.7, < 6.1'
  - 'linux_kernel >= 6.1.1, < 6.1.85'
  - 'linux_kernel >= 6.2, < 6.6.26'
  - 'linux_kernel >= 6.7, < 6.8.5'
  - linux_kernel = 6.1
  - linux_kernel = 6.9
  - debian_linux = 10.0
patched:
  - linux_kernel 6.8.5
published: '2024-05-30'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:18:21.873'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-36020'
references:
  - url: 'https://git.kernel.org/stable/c/06df7618f591b2dc43c59967e294d7b9fc8675b6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/0dcf573f997732702917af1563aa2493dc772fc0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3e89846283f3cf7c7a8e28b342576fd7c561d2ba'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/951d2748a2a8242853abc3d0c153ce4bf8faad31'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9dcf0fcb80f6aeb01469e3c957f8d4c97365450a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b8e82128b44fa40bf99a50b919488ef361e1683c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cc9cd02dd9e8b7764ea9effb24f4f1dd73d1b23d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f37c4eac99c258111d414d31b740437e1925b8e8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/06df7618f591b2dc43c59967e294d7b9fc8675b6'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/0dcf573f997732702917af1563aa2493dc772fc0'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/3e89846283f3cf7c7a8e28b342576fd7c561d2ba'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/951d2748a2a8242853abc3d0c153ce4bf8faad31'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/9dcf0fcb80f6aeb01469e3c957f8d4c97365450a'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/b8e82128b44fa40bf99a50b919488ef361e1683c'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/cc9cd02dd9e8b7764ea9effb24f4f1dd73d1b23d'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/f37c4eac99c258111d414d31b740437e1925b8e8'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00257
epssPercentile: 0.16453
ingestedAt: '2026-10-15T03:30:12.699Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-06-03T16:54:29.774868Z'
---

## Overview

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

- `linux_kernel >= 4.19.264, < 4.19.312`
- `linux_kernel >= 5.4.223, < 5.4.274`
- `linux_kernel >= 5.10.153, < 5.10.215`
- `linux_kernel >= 5.15.77, < 5.15.154`
- `linux_kernel >= 6.0.7, < 6.1`
- `linux_kernel >= 6.1.1, < 6.1.85`
- `linux_kernel >= 6.2, < 6.6.26`
- `linux_kernel >= 6.7, < 6.8.5`
- `linux_kernel = 6.1`
- `linux_kernel = 6.9`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.8.5`
