CVE-2025-21924

MEDIUM

Linux Kernel 5.14.1-6.13.6 PTP Clock Initialization Incomplete Cleanup

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: net: hns3: make sure ptp clock is unregister and freed if hclge_ptp_get_cycle returns an error During the initialization of ptp, hclge_ptp_get_cycle might return an error and returned directly without unregister clock and free it. To avoid that, call hclge_ptp_destroy_clock to unregist and free clock if hclge_ptp_get_cycle failed.

Scores

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

Details

CWE
CWE-459
Status published
Products (22)
linux/Kernel 5.14.0 - 5.15.179linux
linux/Kernel 5.16.0 - 6.1.131linux
linux/Kernel 6.13.0 - 6.13.7linux
linux/Kernel 6.2.0 - 6.6.83linux
linux/Kernel 6.7.0 - 6.12.19linux
Linux/Linux < 5.14
Linux/Linux 5.14
Linux/Linux 5.15.179 - 5.15.*
Linux/Linux 6.1.131 - 6.1.*
Linux/Linux 6.12.19 - 6.12.*
... and 12 more
Published Apr 01, 2025
Tracked Since Feb 18, 2026