CVE-2026-143375: ptp: drain virtual clock sysfs operations before unregistering children

Published Dec 3, 2026
·
Updated

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

ptp: drain virtual clock sysfs operations before unregistering children

Parent clock removal walks its virtual clocks before removing the nvclocks sysfs attribute. The mutex taken by ptpvclockinuse() is released before that walk, so a concurrent sysfs deletion can pick the same child and unregister and free its ptpvclock a second time. A reference held by the device iterator does not protect that separately allocated virtual clock.

Remove nvclocks before walking the children. Removing the attribute prevents new stores and drains stores already running, without holding nvclocksmux across a callback that needs that mutex. Skip virtual clocks, which do not have this attribute.

This race was found by code inspection of virtual-clock registration failure cleanup and parent removal.

Affected Software

10 affected componentsFixes available
Linux Linux kernel
linux/kernel>=5.15.33<5.15.227
5.15.227
linux/kernel>=5.16.19<5.17
5.17
linux/kernel>=5.17.2<5.18
5.18
linux/kernel>=5.18.0<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7
debian/linux*
debian/linux*
debian/linux*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.227
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.17
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.18
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.120
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7

Event History

Dec 3, 2026
CVE Published
via MITRE·09:22 AM
Data Sourced
via MITRE·09:22 AM
Description
Data Sourced
via OSV·09:22 AM
DescriptionAffected Software
Data Sourced
via NVD·10:18 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the race?

A virtual-clock sysfs deletion must run concurrently with parent clock removal or virtual-clock registration failure cleanup. The race can cause the same virtual clock to be selected, unregistered, and freed twice.

2

Which systems are exposed?

The issue applies to Linux kernel PTP parent clocks that have virtual clocks and expose the n_vclocks sysfs attribute. Virtual clocks themselves are skipped because they do not have that attribute.

3

Is there a documented temporary mitigation if an update cannot be applied?

No temporary mitigation is provided in the available information. The described fix removes the n_vclocks sysfs attribute before walking and unregistering child virtual clocks, preventing new sysfs stores and draining stores already in progress.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203