CVE-2025-21822
publishedptp: vmclock: Set driver data before its usage
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux20503272422693d793b84f88bf23fe4e955d3a33 to < 6dbd8b91a065d1d8001446a28e72cd140f9acef0 · 20503272422693d793b84f88bf23fe4e955d3a33 to < f7d07cd4f77d77f366c8ffbb8ba8b61f614e5fce · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.13.4 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: ptp: vmclock: Set driver data before its usage If vmclock_ptp_register() fails during probing, vmclock_remove() is called to clean up the ptp clock and misc device. It uses dev_get_drvdata() to access the vmclock state. However the driver data is not yet set at this point. Assign the driver data earlier.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 20503272422693d793b84f88bf23fe4e955d3a33 to < 6dbd8b91a065d1d8001446a28e72cd140f9acef0 (affected · git)20503272422693d793b84f88bf23fe4e955d3a33 to < f7d07cd4f77d77f366c8ffbb8ba8b61f614e5fce (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.13 (affected)0 to < 6.13 (unaffected · semver)6.13.4 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
ptp: vmclock: Set driver data before its usage
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c1be313795c45319547e9c4e702f035db7e5fa2c761a53ab0244302bd49ef198
- Ingested
- 23 Sep 2026, 08:39:46 UTC
- Source record
- Official CVE record