Linux
ice: fix FDIR CTRL VSI resource leak in ice_reset_all_vfs()
In the Linux kernel, the following vulnerability has been resolved: ice: fix FDIR CTRL VSI resource leak in ice_reset_all_vfs() Resetting all VFs causes resource leak on VFs with FDIR filters enabled as CTRL VSIs are only invalidated and not freed. Fix by using ice_vf_ctrl_vsi_release() instead of ice_vf_ctrl_invalidate_vsi() which aligns behavior with the ice_reset_vf() function. Reproduction: echo 1 > /sys/class/net/$pf/device/sriov_numvfs ethtool -N $vf flow-type ether proto 0x9000 action 0 echo 1 > /sys/class/net/$pf/device/reset
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= da62c5ff9dcdac67204d6647f3cd43ad931a59f4, < b409a9dc37db8bd798122fc5bcdcfaccaf80db1e
- >= da62c5ff9dcdac67204d6647f3cd43ad931a59f4, < 335c2dd21ad9d520102906f96edb99fd5e89ac32
- >= da62c5ff9dcdac67204d6647f3cd43ad931a59f4, < 87a042e45bf4870dc75ea05b4fc0286abecb2a4d
- >= da62c5ff9dcdac67204d6647f3cd43ad931a59f4, < dd6d8e4412f805937f61f00bbfdfe831978be235
- >= da62c5ff9dcdac67204d6647f3cd43ad931a59f4, < b1fc5bafbc5f84df457b6f987ac993e0802f8d93
- >= da62c5ff9dcdac67204d6647f3cd43ad931a59f4, < ebbe8868cf473f698e0fbaf436d2618b2bcda806
Fixed in b409a9dc37db8bd798122fc5bcdcfaccaf80db1e, 335c2dd21ad9d520102906f96edb99fd5e89ac32, 87a042e45bf4870dc75ea05b4fc0286abecb2a4d, dd6d8e4412f805937f61f00bbfdfe831978be235, b1fc5bafbc5f84df457b6f987ac993e0802f8d93, ebbe8868cf473f698e0fbaf436d2618b2bcda806
- 5.13
Fixed in 0, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to b409a9dc37db8bd798122fc5bcdcfaccaf80db1e or 335c2dd21ad9d520102906f96edb99fd5e89ac32 or 87a042e45bf4870dc75ea05b4fc0286abecb2a4d or dd6d8e4412f805937f61f00bbfdfe831978be235 or b1fc5bafbc5f84df457b6f987ac993e0802f8d93 or ebbe8868cf473f698e0fbaf436d2618b2bcda806 or later.
Upgrade Linux to 0 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.