Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
net: dsa: sja1105: round up PTP perout pin duration

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

Linux
  • ==5.7
  • <aee5836273b07b439fb245fb43930664d8b78518
  • =<5.10.*
  • =<6.6.*
  • =<*
  • <5.7
  • <201dcbbfb27f3db85c8cf125a75f3164a83ceb32
  • <aaf446099ca497c8d9a8e511fedf5d0e547bf8ec
  • <410629528067029096dba7ad7bc49e4a5e92708d
  • =<6.12.*
  • <fc62bfd30d30af07356f0f7121c826e1e753582f
  • <09efce96c909dff1a9317ec3714b7ddb4751b7af
  • =<6.18.*
  • =<7.1.*
  • =<5.15.*
  • =<6.1.*
  • <28d13a89a211cc07caeef32069eaa847131b7351
  • <9952291db7125b8a62bf19800b93dcac81fc70c0