CVE-2025-21924: net: hns3: make sure ptp clock is unregister and freed if hclge_ptp_get_cycle returns an error
Vulnerability summary
CVE-2025-21924 is a high (CVSS 7.8) Incomplete Cleanup vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 16.6% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 44 · Related 42Timeline
- 01-04-2025PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
17%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu126 products
- linux< 5.15.0-140.150 | < 6.8.0-84.84
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1084.91 | < 6.8.0-1039.41
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 8373cd38a8888549ace7c7617163a2e826970a92, < b7d8d4529984e2d4a72a6d552fb886233e8e83cb | ≥ 8373cd38a8888549ace7c7617163a2e826970a92, < 33244e98aa9503585e585335fe2ceb4492630949 | ≥ 8373cd38a8888549ace7c7617163a2e826970a92, < 2c04e507f3a5c5dc6e2b9ab37d8cdedee1ef1a37 | ≥ 8373cd38a8888549ace7c7617163a2e826970a92, < 9cfc43c0e6e6a31122b4008d763a2960c206aa2d | ≥ 8373cd38a8888549ace7c7617163a2e826970a92, < 21dba813d9821687a7f9aff576798ba21a859a32 | ≥ 8373cd38a8888549ace7c7617163a2e826970a92, < b7365eab39831487a84e63a9638209b68dc54008 | 5.14
- linux_kernelEOL≥ 5.14.1, < 5.15.179 | ≥ 5.16, < 6.1.131 | ≥ 6.2, < 6.6.83 | ≥ 6.7, < 6.12.19 | ≥ 6.13, < 6.13.7 | 5.14 | 5.14:rc4 | 5.14:rc5 | 5.14:rc6 | 5.14:rc7 | 6.14:rc1 | 6.14:rc2 | 6.14:rc3 | 6.14:rc4 | 6.14:rc5
Debian1 product
- linux< 6.1.133-1 | < 6.12.19-1
3 vendors · 129 products