ice: ptp: don't WARN when controlling PF is unavailable
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.114, 6.18.24, 6.19.14
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 2f59743be4d9568cad2d9cf697d1b897975421ed · fixed in 228497715a162d040df1617e62c3b7d0df54b235; From e800654e85b5b27966fc6493201f5f8cf658beb6 · fixed in e19675b384e9dcaca1bd5e4a67b8ad136eccfbe8; From e800654e85b5b27966fc6493201f5f8cf658beb6 · fixed in c73f365707d3b1b78b7d16e1f029020d1ae50d0f; From e800654e85b5b27966fc6493201f5f8cf658beb6 · fixed in bb3f21edc7056cdf44a7f7bd7ba65af40741838c; From 6.12.11 · fixed in 6.12.114
- Linux Linux
6.13
- KernelLinux
fixed in 6.12.114; From 6.13.0 · fixed in 6.18.24; fixed in 6.19.14