Linux Kernel ptp VClock Sysfs Race Leads to Double Free
CVE-2026-143375 Published on December 3, 2026
ptp: drain virtual clock sysfs operations before unregistering children
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
n_vclocks sysfs attribute. The mutex taken by ptp_vclock_in_use() is
released before that walk, so a concurrent sysfs deletion can pick the
same child and unregister and free its ptp_vclock a second time. A
reference held by the device iterator does not protect that separately
allocated virtual clock.
Remove n_vclocks before walking the children. Removing the attribute
prevents new stores and drains stores already running, without holding
n_vclocks_mux 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.
Products Associated with CVE-2026-143375
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version b2dea2a696d09163da4cd33cb598ce1f73e86597 and below 5d37fcb1d079790731917ad710ec62f09ecb7b12 is affected.
- Version bfcbb76b0f595ea9ede9f7a218086fef85242f10 and below db6ce2f5ed107da301237b0d5cb7647ad3d6040f is affected.
- Version bfcbb76b0f595ea9ede9f7a218086fef85242f10 and below 36231d7dfb5204991d72731b49687db2b5968c79 is affected.
- Version bfcbb76b0f595ea9ede9f7a218086fef85242f10 and below 33a0670e85b57ea1331ab5fe183b93725c821826 is affected.
- Version bfcbb76b0f595ea9ede9f7a218086fef85242f10 and below 0e4a135aebc7686286d87e286499ce55e5bd5aad is affected.
- Version 9c796a57cbb5daf124a665689f0b2bc9262e0ced is affected.
- Version c49eafe6249f844c26f9866886cc6719d81762df is affected.
- Version 5.15.33 and below 5.15.227 is affected.
- Version 5.16.19 and below 5.17 is affected.
- Version 5.17.2 and below 5.18 is affected.
- Version 5.18 is affected.
- Before 5.18 is unaffected.
- Version 5.15.227, <= 5.15.* is unaffected.
- Version 6.12.120, <= 6.12.* is unaffected.
- Version 6.18.66, <= 6.18.* is unaffected.
- Version 7.3.7, <= 7.3.* is unaffected.
- Version 7.4-rc2, <= * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.