What’s Vulnerable › Vulnerabilities

CVE-2025-21822: ptp: vmclock: Set driver data before its usage

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.13.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21822 or the next vulnerability affects your stack