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.
Metrics
Affected Vendors & Products
References
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
|
cvssV3_1
|
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 |
|

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

No data.

Status : Received
Published: 2025-02-27T20:16:04.707
Modified: 2025-02-27T20:16:04.707
Link: CVE-2025-21822
