UBUNTU-CVE-2026-90100: Medium severity ubuntu/linux-hwe-edge vulnerability
In the Linux kernel, the following vulnerability has been resolved: ptp: netc: fix period truncation and potential divide-by-zero in PEROUT The maxperiod bound in nettimerenableperout() was computed as: maxperiod = (u64)NETCTMRDEFAULTFIPER + integralperiod; which exceeds U32MAX when integralperiod > 0 (e.g. 0x100000002 for the default 333333333 Hz clock). A periodns that passes this check but exceeds U32MAX is then silently truncated when stored into the u32 struct netcpp::period field. A truncated value of zero can reach netctimersetperoutalarm(), where the local u32 period variable would also be 0, causing a divide-by-zero in roundupu64(delta, period) whenever the stime < mintime branch is taken (which always happens for a start time of {0, 0}). Additionally, netctimerenableperiodicpulse() and netctimerenablefiper() both compute: fiper = pp->period - integralperiod; A zero pp->period results in an unsigned wraparound to 0xFFFFFFFD, mis-programming the FIPER hardware register. Fix all three issues by capping maxperiod at NETCTMRDEFAULTFIPER (0xFFFFFFFF). This ensures that any periodns passing the range check fits in a u32 without truncation, so the stored value is always valid and non-zero. The accepted range is reduced by integralperiod ns (typically only a few nanoseconds), which is negligible in practice.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-42.42 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1016.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1016.18 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1015.16 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1 - Configuration
Cap max_period at NETC_TMR_DEFAULT_FIPER (0xFFFFFFFF) in net_timer_enable_perout() so period_ns values fit in the u32 netc_pp::period field and cannot become zero through truncation.
Linux kernel ptp netc PEROUT max_period = NETC_TMR_DEFAULT_FIPER (0xFFFFFFFF)