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().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
747e5eb31d59d047972a0dab03e5430fe4264332 to < aaf446099ca497c8d9a8e511fedf5d0e547bf8ecaffected747e5eb31d59d047972a0dab03e5430fe4264332 to < 201dcbbfb27f3db85c8cf125a75f3164a83ceb32affected747e5eb31d59d047972a0dab03e5430fe4264332 to < 9952291db7125b8a62bf19800b93dcac81fc70c0affected747e5eb31d59d047972a0dab03e5430fe4264332 to < fc62bfd30d30af07356f0f7121c826e1e753582faffected747e5eb31d59d047972a0dab03e5430fe4264332 to < 28d13a89a211cc07caeef32069eaa847131b7351affected747e5eb31d59d047972a0dab03e5430fe4264332 to < 410629528067029096dba7ad7bc49e4a5e92708daffected747e5eb31d59d047972a0dab03e5430fe4264332 to < 09efce96c909dff1a9317ec3714b7ddb4751b7afaffected747e5eb31d59d047972a0dab03e5430fe4264332 to < aee5836273b07b439fb245fb43930664d8b78518affected
Linux Linux
Default version status: affected
5.7affected0 to < 5.7unaffected5.10.261 to ≤ 5.10.*unaffected5.15.212 to ≤ 5.15.*unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- 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 ↗