Skip to contentSkip to conversation

CVE-2026-72414: net: dsa: sja1105: round up PTP perout pin duration

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 15

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

net: dsa: sja1105: round up PTP perout pin duration

pin_duration is converted from the user-provided period to SJA1105 clock ticks and is later passed as the cycle_time argument to future_base_time().

Very small period values may become zero after the conversion, which can lead to a division by zero in future_base_time().

Round zero pin_duration up to 1 tick so that the smallest unsupported periods use the minimum non-zero hardware duration instead of passing zero to future_base_time().

The Linux kernel CVE team has assigned CVE-2026-72414 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.7 with commit 747e5eb31d59d047972a0dab03e5430fe4264332 and fixed in 5.10.261 with commit aaf446099ca497c8d9a8e511fedf5d0e547bf8ec
	Issue introduced in 5.7 with commit 747e5eb31d59d047972a0dab03e5430fe4264332 and fixed in 5.15.212 with commit 201dcbbfb27f3db85c8cf125a75f3164a83ceb32
	Issue introduced in 5.7 with commit 747e5eb31d59d047972a0dab03e5430fe4264332 and fixed in 6.1.178 with commit 9952291db7125b8a62bf19800b93dcac81fc70c0
	Issue introduced in 5.7 with commit 747e5eb31d59d047972a0dab03e5430fe4264332 and fixed in 6.6.145 with commit fc62bfd30d30af07356f0f7121c826e1e753582f
	Issue introduced in 5.7 with commit 747e5eb31d59d047972a0dab03e5430fe4264332 and fixed in 6.12.97 with commit 28d13a89a211cc07caeef32069eaa847131b7351
	Issue introduced in 5.7 with commit 747e5eb31d59d047972a0dab03e5430fe4264332 and fixed in 6.18.40 with commit 410629528067029096dba7ad7bc49e4a5e92708d
	Issue introduced in 5.7 with commit 747e5eb31d59d047972a0dab03e5430fe4264332 and fixed in 7.1.5 with commit 09efce96c909dff1a9317ec3714b7ddb4751b7af
	Issue introduced in 5.7 with commit 747e5eb31d59d047972a0dab03e5430fe4264332 and fixed in 7.2-rc1 with commit aee5836273b07b439fb245fb43930664d8b78518

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-72414

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/dsa/sja1105/sja1105_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/aaf446099ca497c8d9a8e511fedf5d0e547bf8ec
	https://git.kernel.org/stable/c/201dcbbfb27f3db85c8cf125a75f3164a83ceb32
	https://git.kernel.org/stable/c/9952291db7125b8a62bf19800b93dcac81fc70c0
	https://git.kernel.org/stable/c/fc62bfd30d30af07356f0f7121c826e1e753582f
	https://git.kernel.org/stable/c/28d13a89a211cc07caeef32069eaa847131b7351
	https://git.kernel.org/stable/c/410629528067029096dba7ad7bc49e4a5e92708d
	https://git.kernel.org/stable/c/09efce96c909dff1a9317ec3714b7ddb4751b7af
	https://git.kernel.org/stable/c/aee5836273b07b439fb245fb43930664d8b78518