CVE-2025-21822
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
27/02/2025
Last modified:
27/02/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ptp: vmclock: Set driver data before its usage<br />
<br />
If vmclock_ptp_register() fails during probing, vmclock_remove() is<br />
called to clean up the ptp clock and misc device.<br />
It uses dev_get_drvdata() to access the vmclock state.<br />
However the driver data is not yet set at this point.<br />
<br />
Assign the driver data earlier.