CVE-2026-143374

Source
https://cve.org/CVERecord?id=CVE-2026-143374
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143374.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143374
Downstream
Published
2026-12-03T09:22:23Z
Modified
2026-12-03T11:02:12Z
Summary
ptp: unwind partially completed virtual clock creation
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143374.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
73f37068d540eba5f93ba3a0019bf479d35ebd76
Fixed
f09f86c83d1d2678dd143b42c7119297eaf0eb0f
Fixed
0c465f41ccb158e7afe52df37256488071b997cb
Fixed
adf81653ab2407769c49490c58d9ebec84e4a279
Fixed
1e8b0d578dacb89064394b842894580d6eff470a
Fixed
3dea778260e3dddf30651a6913d87a42861346a2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143374.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.14.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143374.json"