CVE-2026-43346: ice: ptp: don't WARN when controlling PF is unavailable
From: Greg Kroah-Hartman <[email protected]>
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.
The Linux kernel CVE team has assigned CVE-2026-43346 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.13 with commit e800654e85b5b27966fc6493201f5f8cf658beb6 and fixed in 6.18.24 with commit e19675b384e9dcaca1bd5e4a67b8ad136eccfbe8 Issue introduced in 6.13 with commit e800654e85b5b27966fc6493201f5f8cf658beb6 and fixed in 6.19.14 with commit c73f365707d3b1b78b7d16e1f029020d1ae50d0f Issue introduced in 6.13 with commit e800654e85b5b27966fc6493201f5f8cf658beb6 and fixed in 7.0 with commit bb3f21edc7056cdf44a7f7bd7ba65af40741838c Issue introduced in 6.12.11 with commit 2f59743be4d9568cad2d9cf697d1b897975421ed
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-43346
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_ptp.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/e19675b384e9dcaca1bd5e4a67b8ad136eccfbe8 https://git.kernel.org/stable/c/c73f365707d3b1b78b7d16e1f029020d1ae50d0f https://git.kernel.org/stable/c/bb3f21edc7056cdf44a7f7bd7ba65af40741838c