CVE-2024-36020

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

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-908 — Use of Uninitialized Resource

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 76ed715836c6994bac29d9638e9314e6e3b08651 < cc9cd02dd9e8b7764ea9effb24f4f1dd73d1b23d ; affected e88c2a1e28c5475065563d66c07ca879a9afbd07 < 9dcf0fcb80f6aeb01469e3c957f8d4c97365450a ; affected 9abae363af5ced6adbf04c14366289540281fb26 < b8e82128b44fa40bf99a50b919488ef361e1683c ; affected c39de3ae5075ea5f78e097cb5720d4e52d5caed9 < 951d2748a2a8242853abc3d0c153ce4bf8faad31 ; affected 52424f974bc53c26ba3f00300a00e9de9afcd972 < 3e89846283f3cf7c7a8e28b342576fd7c561d2ba ; affected 52424f974bc53c26ba3f00300a00e9de9afcd972 < 0dcf573f997732702917af1563aa2493dc772fc0
Linux · Linuxaffected 6.1 ; unaffected 0 < 6.1 ; unaffected 4.19.312 ≤ 4.19.* ; unaffected 5.4.274 ≤ 5.4.* ; unaffected 5.10.215 ≤ 5.10.* ; unaffected 5.15.154 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD