Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 2f59743be4d9568cad2d9cf697d1b897975421ed before 228497715a162d040df1617e62c3b7d0df54b235; affected e800654e85b5b27966fc6493201f5f8cf658beb6 before e19675b384e9dcaca1bd5e4a67b8ad136eccfbe8; affected e800654e85b5b27966fc6493201f5f8cf658beb6 before c73f365707d3b1b78b7d16e1f029020d1ae50d0f; affected e800654e85b5b27966fc6493201f5f8cf658beb6 before bb3f21edc7056cdf44a7f7bd7ba65af40741838c; affected 6.12.11 before 6.12.114 |
| Linux / Linux | affected 6.13; unaffected 0 before 6.13; unaffected 6.12.114 through 6.12.*; unaffected 6.18.24 through 6.18.*; unaffected 6.19.14 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.