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.
History

Wed, 05 Mar 2025 04:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-908

Fri, 28 Feb 2025 14:45:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Thu, 27 Feb 2025 20:15:00 +0000

Type Values Removed Values Added
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.
Title ptp: vmclock: Set driver data before its usage
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2025-02-27T20:06:13.422Z

Updated: 2025-03-24T15:40:55.454Z

Reserved: 2024-12-29T08:45:45.775Z

Link: CVE-2025-21822

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-02-27T20:16:04.707

Modified: 2025-02-27T20:16:04.707

Link: CVE-2025-21822

cve-icon Redhat

Severity : Low

Publid Date: 2025-02-27T00:00:00Z

Links: CVE-2025-21822 - Bugzilla