CVE-2026-72425: ice: fix FDIR CTRL VSI resource leak in ice_reset_all_vfs()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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
The Linux kernel CVE team has assigned CVE-2026-72425 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.13 with commit da62c5ff9dcdac67204d6647f3cd43ad931a59f4 and fixed in 6.1.178 with commit b409a9dc37db8bd798122fc5bcdcfaccaf80db1e Issue introduced in 5.13 with commit da62c5ff9dcdac67204d6647f3cd43ad931a59f4 and fixed in 6.6.145 with commit 335c2dd21ad9d520102906f96edb99fd5e89ac32 Issue introduced in 5.13 with commit da62c5ff9dcdac67204d6647f3cd43ad931a59f4 and fixed in 6.12.97 with commit 87a042e45bf4870dc75ea05b4fc0286abecb2a4d Issue introduced in 5.13 with commit da62c5ff9dcdac67204d6647f3cd43ad931a59f4 and fixed in 6.18.40 with commit dd6d8e4412f805937f61f00bbfdfe831978be235 Issue introduced in 5.13 with commit da62c5ff9dcdac67204d6647f3cd43ad931a59f4 and fixed in 7.1.5 with commit b1fc5bafbc5f84df457b6f987ac993e0802f8d93 Issue introduced in 5.13 with commit da62c5ff9dcdac67204d6647f3cd43ad931a59f4 and fixed in 7.2-rc1 with commit ebbe8868cf473f698e0fbaf436d2618b2bcda806
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-72425
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/ethernet/intel/ice/ice_vf_lib.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/b409a9dc37db8bd798122fc5bcdcfaccaf80db1e https://git.kernel.org/stable/c/335c2dd21ad9d520102906f96edb99fd5e89ac32 https://git.kernel.org/stable/c/87a042e45bf4870dc75ea05b4fc0286abecb2a4d https://git.kernel.org/stable/c/dd6d8e4412f805937f61f00bbfdfe831978be235 https://git.kernel.org/stable/c/b1fc5bafbc5f84df457b6f987ac993e0802f8d93 https://git.kernel.org/stable/c/ebbe8868cf473f698e0fbaf436d2618b2bcda806