Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143374

ptp: unwind partially completed virtual clock creation

Description

In the Linux kernel, the following vulnerability has been resolved: ptp: unwind partially completed virtual clock creation n_vclocks_store() publishes the new clock count only after every child has been registered. If a later registration fails, it returns without unregistering the children already created by that request. Those clocks are left out of n_vclocks, and a subsequent request can overwrite their index entries without removing them. Unregister the newly created children in reverse order and clear their index entries on failure. Leave the previously installed clocks and their count unchanged. The n_vclocks mutex serializes this rollback with other sysfs changes, and parent removal drains the store before walking the children. This was found by code inspection while adding initial PHC sample error handling to virtual clock registration.

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

  • 73f37068d540eba5f93ba3a0019bf479d35ebd76 to < f09f86c83d1d2678dd143b42c7119297eaf0eb0faffected
  • 73f37068d540eba5f93ba3a0019bf479d35ebd76 to < 0c465f41ccb158e7afe52df37256488071b997cbaffected
  • 73f37068d540eba5f93ba3a0019bf479d35ebd76 to < adf81653ab2407769c49490c58d9ebec84e4a279affected
  • 73f37068d540eba5f93ba3a0019bf479d35ebd76 to < 1e8b0d578dacb89064394b842894580d6eff470aaffected
  • 73f37068d540eba5f93ba3a0019bf479d35ebd76 to < 3dea778260e3dddf30651a6913d87a42861346a2affected

Linux Linux

Default version status: affected

  • 5.14affected
  • 0 to < 5.14unaffected
  • 5.15.227 to ≤ 5.15.*unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc2 to ≤ *unaffected

References