CVE-2024-36020

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-36020
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-36020.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-36020
Downstream
Related
Published
2024-05-30T14:59:44.447Z
Modified
2025-11-27T02:33:29.810663Z
Summary
i40e: fix vf may be used uninitialized in this function warning
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2024/36xxx/CVE-2024-36020.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
76ed715836c6994bac29d9638e9314e6e3b08651
Fixed
cc9cd02dd9e8b7764ea9effb24f4f1dd73d1b23d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e88c2a1e28c5475065563d66c07ca879a9afbd07
Fixed
9dcf0fcb80f6aeb01469e3c957f8d4c97365450a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9abae363af5ced6adbf04c14366289540281fb26
Fixed
b8e82128b44fa40bf99a50b919488ef361e1683c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c39de3ae5075ea5f78e097cb5720d4e52d5caed9
Fixed
951d2748a2a8242853abc3d0c153ce4bf8faad31
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
52424f974bc53c26ba3f00300a00e9de9afcd972
Fixed
3e89846283f3cf7c7a8e28b342576fd7c561d2ba
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
52424f974bc53c26ba3f00300a00e9de9afcd972
Fixed
0dcf573f997732702917af1563aa2493dc772fc0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
52424f974bc53c26ba3f00300a00e9de9afcd972
Fixed
06df7618f591b2dc43c59967e294d7b9fc8675b6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
52424f974bc53c26ba3f00300a00e9de9afcd972
Fixed
f37c4eac99c258111d414d31b740437e1925b8e8
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
02f949747e6fb767b29f7931d4bbf40911684e7a

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.19.312
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.274
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.215
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.154
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.85
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.6.26
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.8.5