CVE-2024-36020

i40e: fix vf may be used uninitialized in this function warning

State
Published
Severity
7.8 High
Published
May 30, 2024
Updated
Oct 15, 2026
Reserved
May 17, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 76ed715836c6994bac29d9638e9314e6e3b08651 to before cc9cd02dd9e8b7764ea9effb24f4f1dd73d1b23dAffected
  • e88c2a1e28c5475065563d66c07ca879a9afbd07 to before 9dcf0fcb80f6aeb01469e3c957f8d4c97365450aAffected
  • 9abae363af5ced6adbf04c14366289540281fb26 to before b8e82128b44fa40bf99a50b919488ef361e1683cAffected
  • c39de3ae5075ea5f78e097cb5720d4e52d5caed9 to before 951d2748a2a8242853abc3d0c153ce4bf8faad31Affected
  • 52424f974bc53c26ba3f00300a00e9de9afcd972 to before 3e89846283f3cf7c7a8e28b342576fd7c561d2baAffected
  • 52424f974bc53c26ba3f00300a00e9de9afcd972 to before 0dcf573f997732702917af1563aa2493dc772fc0Affected
  • 52424f974bc53c26ba3f00300a00e9de9afcd972 to before 06df7618f591b2dc43c59967e294d7b9fc8675b6Affected
  • 52424f974bc53c26ba3f00300a00e9de9afcd972 to before f37c4eac99c258111d414d31b740437e1925b8e8Affected
  • 02f949747e6fb767b29f7931d4bbf40911684e7aAffected
  • 4.19.264 to before 4.19.312Affected
  • 5.4.223 to before 5.4.274Affected
  • 5.10.153 to before 5.10.215Affected
  • 5.15.77 to before 5.15.154Affected
  • 6.0.7 to before 6.1Affected
LinuxLinux
  • 6.1Affected
  • before 6.1Not affected
  • 4.19.312 through 4.19.*Not affected
  • 5.4.274 through 5.4.*Not affected
  • 5.10.215 through 5.10.*Not affected
  • 5.15.154 through 5.15.*Not affected
  • 6.1.85 through 6.1.*Not affected
  • 6.6.26 through 6.6.*Not affected
  • 6.8.5 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.