Description
In the Linux kernel, the following vulnerability has been resolved: ice: ptp: don't WARN when controlling PF is unavailable In VFIO passthrough setups, it is possible to pass through only a PF which doesn't own the source timer. In that case the PTP controlling PF (adapter->ctrl_pf) is never initialized in the VM, so ice_get_ctrl_ptp() returns NULL and triggers WARN_ON() in ice_ptp_setup_pf(). Since this is an expected behavior in that configuration, replace WARN_ON() with an informational message and return -EOPNOTSUPP.
Product status
e800654e85b5b27966fc6493201f5f8cf658beb6 (git) before e19675b384e9dcaca1bd5e4a67b8ad136eccfbe8
e800654e85b5b27966fc6493201f5f8cf658beb6 (git) before c73f365707d3b1b78b7d16e1f029020d1ae50d0f
e800654e85b5b27966fc6493201f5f8cf658beb6 (git) before bb3f21edc7056cdf44a7f7bd7ba65af40741838c
2f59743be4d9568cad2d9cf697d1b897975421ed (git)
6.12.11 (semver) before 6.13
6.13
Any version before 6.13
6.18.24 (semver)
6.19.14 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/e19675b384e9dcaca1bd5e4a67b8ad136eccfbe8
git.kernel.org/...c/c73f365707d3b1b78b7d16e1f029020d1ae50d0f
git.kernel.org/...c/bb3f21edc7056cdf44a7f7bd7ba65af40741838c