CVE-2024-36020
i40e: fix vf may be used uninitialized in this function warning
Check your servers for CVE-2024-36020
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-36020 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 3 Jun 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 76ed715836c6994bac29d9638e9314e6e3b08651, before cc9cd02dd9e8b7764ea9effb24f4f1dd73d1b23d affected from e88c2a1e28c5475065563d66c07ca879a9afbd07, before 9dcf0fcb80f6aeb01469e3c957f8d4c97365450a affected from 9abae363af5ced6adbf04c14366289540281fb26, before b8e82128b44fa40bf99a50b919488ef361e1683c affected from c39de3ae5075ea5f78e097cb5720d4e52d5caed9, before 951d2748a2a8242853abc3d0c153ce4bf8faad31 affected from 52424f974bc53c26ba3f00300a00e9de9afcd972, before 3e89846283f3cf7c7a8e28b342576fd7c561d2ba affected from 52424f974bc53c26ba3f00300a00e9de9afcd972, before 0dcf573f997732702917af1563aa2493dc772fc0 affected from 52424f974bc53c26ba3f00300a00e9de9afcd972, before 06df7618f591b2dc43c59967e294d7b9fc8675b6 affected from 52424f974bc53c26ba3f00300a00e9de9afcd972, before f37c4eac99c258111d414d31b740437e1925b8e8 affected 02f949747e6fb767b29f7931d4bbf40911684e7a affected from 4.19.264, before 4.19.312 affected from 5.4.223, before 5.4.274 affected from 5.10.153, before 5.10.215 affected from 5.15.77, before 5.15.154 affected from 6.0.7, before 6.1
Other versions: unaffected
|
| Linux |
affected 6.1 unaffected before 6.1 unaffected from 4.19.312 up to and including 4.19.* unaffected from 5.4.274 up to and including 5.4.* unaffected from 5.10.215 up to and including 5.10.* unaffected from 5.15.154 up to and including 5.15.* unaffected from 6.1.85 up to and including 6.1.* unaffected from 6.6.26 up to and including 6.6.* unaffected from 6.8.5 up to and including 6.8.* unaffected 6.9 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-36020 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-36020
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-36020
trivy image --scanners vuln IMAGE | grep CVE-2024-36020
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/cc9cd02dd9e8b7764ea9effb24f4f1dd73d1b23d git.kernel.org
- https://git.kernel.org/stable/c/9dcf0fcb80f6aeb01469e3c957f8d4c97365450a git.kernel.org
- https://git.kernel.org/stable/c/b8e82128b44fa40bf99a50b919488ef361e1683c git.kernel.org
- https://git.kernel.org/stable/c/951d2748a2a8242853abc3d0c153ce4bf8faad31 git.kernel.org
- https://git.kernel.org/stable/c/3e89846283f3cf7c7a8e28b342576fd7c561d2ba git.kernel.org
- https://git.kernel.org/stable/c/0dcf573f997732702917af1563aa2493dc772fc0 git.kernel.org
- https://git.kernel.org/stable/c/06df7618f591b2dc43c59967e294d7b9fc8675b6 git.kernel.org
- https://git.kernel.org/stable/c/f37c4eac99c258111d414d31b740437e1925b8e8 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
Source: the record CVE-2024-36020 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse