ptp: drain virtual clock sysfs operations before unregistering children

Summary

CVECVE-2026-143375
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 10:18:30 UTC
Updated2026-12-03 10:18:30 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.003680000 probability, percentile 0.327710000 (date 2026-12-03)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected b2dea2a696d09163da4cd33cb598ce1f73e86597 5d37fcb1d079790731917ad710ec62f09ecb7b12 git Not specified
CNA Linux Linux affected bfcbb76b0f595ea9ede9f7a218086fef85242f10 db6ce2f5ed107da301237b0d5cb7647ad3d6040f git Not specified
CNA Linux Linux affected bfcbb76b0f595ea9ede9f7a218086fef85242f10 36231d7dfb5204991d72731b49687db2b5968c79 git Not specified
CNA Linux Linux affected bfcbb76b0f595ea9ede9f7a218086fef85242f10 33a0670e85b57ea1331ab5fe183b93725c821826 git Not specified
CNA Linux Linux affected bfcbb76b0f595ea9ede9f7a218086fef85242f10 0e4a135aebc7686286d87e286499ce55e5bd5aad git Not specified
CNA Linux Linux affected 9c796a57cbb5daf124a665689f0b2bc9262e0ced git Not specified
CNA Linux Linux affected c49eafe6249f844c26f9866886cc6719d81762df git Not specified
CNA Linux Linux affected 5.15.33 5.15.227 semver Not specified
CNA Linux Linux affected 5.16.19 5.17 semver Not specified
CNA Linux Linux affected 5.17.2 5.18 semver Not specified
CNA Linux Linux affected 5.18 Not specified
CNA Linux Linux unaffected 5.18 semver Not specified
CNA Linux Linux unaffected 5.15.227 5.15.* semver Not specified
CNA Linux Linux unaffected 6.12.120 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.66 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.7 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/db6ce2f5ed107da301237b0d5cb7647ad3d6040f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0e4a135aebc7686286d87e286499ce55e5bd5aad 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/36231d7dfb5204991d72731b49687db2b5968c79 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5d37fcb1d079790731917ad710ec62f09ecb7b12 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/33a0670e85b57ea1331ab5fe183b93725c821826 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report