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.
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c"
],
"versions": [
{
"version": "76ed715836c6",
"lessThan": "cc9cd02dd9e8",
"status": "affected",
"versionType": "git"
},
{
"version": "e88c2a1e28c5",
"lessThan": "9dcf0fcb80f6",
"status": "affected",
"versionType": "git"
},
{
"version": "9abae363af5c",
"lessThan": "b8e82128b44f",
"status": "affected",
"versionType": "git"
},
{
"version": "c39de3ae5075",
"lessThan": "951d2748a2a8",
"status": "affected",
"versionType": "git"
},
{
"version": "52424f974bc5",
"lessThan": "3e89846283f3",
"status": "affected",
"versionType": "git"
},
{
"version": "52424f974bc5",
"lessThan": "0dcf573f9977",
"status": "affected",
"versionType": "git"
},
{
"version": "52424f974bc5",
"lessThan": "06df7618f591",
"status": "affected",
"versionType": "git"
},
{
"version": "52424f974bc5",
"lessThan": "f37c4eac99c2",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c"
],
"versions": [
{
"version": "6.1",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.1",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "4.19.312",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.4.274",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.10.215",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.15.154",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.1.85",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.6.26",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.8.5",
"lessThanOrEqual": "6.8.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.9",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/06df7618f591b2dc43c59967e294d7b9fc8675b6
git.kernel.org/stable/c/0dcf573f997732702917af1563aa2493dc772fc0
git.kernel.org/stable/c/3e89846283f3cf7c7a8e28b342576fd7c561d2ba
git.kernel.org/stable/c/951d2748a2a8242853abc3d0c153ce4bf8faad31
git.kernel.org/stable/c/9dcf0fcb80f6aeb01469e3c957f8d4c97365450a
git.kernel.org/stable/c/b8e82128b44fa40bf99a50b919488ef361e1683c
git.kernel.org/stable/c/cc9cd02dd9e8b7764ea9effb24f4f1dd73d1b23d
git.kernel.org/stable/c/f37c4eac99c258111d414d31b740437e1925b8e8
lists.debian.org/debian-lts-announce/2024/06/msg00017.html
lists.debian.org/debian-lts-announce/2024/06/msg00020.html