{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143374",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.372Z",
        "datePublished": "2026-12-03T09:22:23.220Z",
        "dateUpdated": "2026-12-03T09:22:23.220Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:22:23.220Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nptp: unwind partially completed virtual clock creation\n\nn_vclocks_store() publishes the new clock count only after every child\nhas been registered. If a later registration fails, it returns without\nunregistering the children already created by that request. Those clocks\nare left out of n_vclocks, and a subsequent request can overwrite their\nindex entries without removing them.\n\nUnregister the newly created children in reverse order and clear their\nindex entries on failure. Leave the previously installed clocks and\ntheir count unchanged. The n_vclocks mutex serializes this rollback with\nother sysfs changes, and parent removal drains the store before walking\nthe children.\n\nThis was found by code inspection while adding initial PHC sample error\nhandling to virtual clock registration."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/ptp/ptp_sysfs.c"
                    ],
                    "versions": [
                        {
                            "version": "73f37068d540eba5f93ba3a0019bf479d35ebd76",
                            "lessThan": "f09f86c83d1d2678dd143b42c7119297eaf0eb0f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "73f37068d540eba5f93ba3a0019bf479d35ebd76",
                            "lessThan": "0c465f41ccb158e7afe52df37256488071b997cb",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "73f37068d540eba5f93ba3a0019bf479d35ebd76",
                            "lessThan": "adf81653ab2407769c49490c58d9ebec84e4a279",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "73f37068d540eba5f93ba3a0019bf479d35ebd76",
                            "lessThan": "1e8b0d578dacb89064394b842894580d6eff470a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "73f37068d540eba5f93ba3a0019bf479d35ebd76",
                            "lessThan": "3dea778260e3dddf30651a6913d87a42861346a2",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/ptp/ptp_sysfs.c"
                    ],
                    "versions": [
                        {
                            "version": "5.14",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.14",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.227",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/f09f86c83d1d2678dd143b42c7119297eaf0eb0f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0c465f41ccb158e7afe52df37256488071b997cb"
                },
                {
                    "url": "https://git.kernel.org/stable/c/adf81653ab2407769c49490c58d9ebec84e4a279"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1e8b0d578dacb89064394b842894580d6eff470a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3dea778260e3dddf30651a6913d87a42861346a2"
                }
            ],
            "title": "ptp: unwind partially completed virtual clock creation",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}