CVE-2025-21822

MEDIUM

Linux Kernel 6.13-6.13.3 - Use-After-Free in PTP vmclock Driver

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0016
EPSS Percentile 6.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (9)
linux/Kernel 6.13.0 - 6.13.4linux
Linux/Linux < 6.13
Linux/Linux 20503272422693d793b84f88bf23fe4e955d3a33 - 6dbd8b91a065d1d8001446a28e72cd140f9acef0
Linux/Linux 20503272422693d793b84f88bf23fe4e955d3a33 - f7d07cd4f77d77f366c8ffbb8ba8b61f614e5fce
Linux/Linux 6.13
Linux/Linux 6.13.4 - 6.13.*
Linux/Linux 6.14
linux/linux_kernel 6.14 rc1 (2 CPE variants)
linux/linux_kernel 6.13 - 6.13.4
Published Feb 27, 2025
Tracked Since Feb 18, 2026