Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 20503272422693d793b84f88bf23fe4e955d3a33 to < 6dbd8b91a065d1d8001446a28e72cd140f9acef0affected
  • 20503272422693d793b84f88bf23fe4e955d3a33 to < f7d07cd4f77d77f366c8ffbb8ba8b61f614e5fceaffected

Linux Linux

Default version status: affected

  • 6.13affected
  • 0 to < 6.13unaffected
  • 6.13.4 to ≤ 6.13.*unaffected
  • 6.14 to ≤ *unaffected

References