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.
INFO
Published Date :
Dec. 3, 2026, 10:18 a.m.
Last Modified :
Dec. 3, 2026, 10:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Unregister children and clear index entries on failure.
- Ensure the n_vclocks mutex serializes rollback.
- Verify parent removal drains the store.
- Apply the kernel patch.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-143374.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-143374 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-143374
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-143374 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-143374 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 03, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/143xxx/CVE-2026-143374.json">CVE-2026-143374</a> Added Reference https://git.kernel.org/stable/c/0c465f41ccb158e7afe52df37256488071b997cb Added Reference https://git.kernel.org/stable/c/1e8b0d578dacb89064394b842894580d6eff470a Added Reference https://git.kernel.org/stable/c/3dea778260e3dddf30651a6913d87a42861346a2 Added Reference https://git.kernel.org/stable/c/adf81653ab2407769c49490c58d9ebec84e4a279 Added Reference https://git.kernel.org/stable/c/f09f86c83d1d2678dd143b42c7119297eaf0eb0f