{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-21924","id":"CVE-2025-21924","title":"net: hns3: make sure ptp clock is unregister and freed if hclge_ptp_get_cycle returns an error","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hns3: make sure ptp clock is unregister and freed if hclge_ptp_get_cycle returns an error\n\nDuring the initialization of ptp, hclge_ptp_get_cycle might return an error\nand returned directly without unregister clock and free it. To avoid that,\ncall hclge_ptp_destroy_clock to unregist and free clock if\nhclge_ptp_get_cycle faile","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hns3: make sure ptp clock is unregister and freed if hclge_ptp_get_cycle returns an error\n\nDuring the initialization of ptp, hclge_ptp_get_cycle might return an error\nand returned directly without unregister clock and free it. To avoid that,\ncall hclge_ptp_destroy_clock to unregist and free clock if\nhclge_ptp_get_cycle failed.","published":"2025-04-01T15:40:56.841Z","updated":"2026-10-28T02:30:46.911979103Z","reserved":"2024-12-29T08:45:45.788Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8373cd38a8888549ace7c7617163a2e826970a92","lessThan":"b7d8d4529984e2d4a72a6d552fb886233e8e83cb","status":"affected","versionType":"git"},{"version":"8373cd38a8888549ace7c7617163a2e826970a92","lessThan":"33244e98aa9503585e585335fe2ceb4492630949","status":"affected","versionType":"git"},{"version":"8373cd38a8888549ace7c7617163a2e826970a92","lessThan":"2c04e507f3a5c5dc6e2b9ab37d8cdedee1ef1a37","status":"affected","versionType":"git"},{"version":"8373cd38a8888549ace7c7617163a2e826970a92","lessThan":"9cfc43c0e6e6a31122b4008d763a2960c206aa2d","status":"affected","versionType":"git"},{"version":"8373cd38a8888549ace7c7617163a2e826970a92","lessThan":"21dba813d9821687a7f9aff576798ba21a859a32","status":"affected","versionType":"git"},{"version":"8373cd38a8888549ace7c7617163a2e826970a92","lessThan":"b7365eab39831487a84e63a9638209b68dc54008","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","lessThan":"5.14","status":"unaffected","versionType":"semver"},{"version":"5.15.179","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.131","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.83","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.19","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.7","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-459"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b7d8d4529984e2d4a72a6d552fb886233e8e83cb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/33244e98aa9503585e585335fe2ceb4492630949","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2c04e507f3a5c5dc6e2b9ab37d8cdedee1ef1a37","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9cfc43c0e6e6a31122b4008d763a2960c206aa2d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/21dba813d9821687a7f9aff576798ba21a859a32","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b7365eab39831487a84e63a9638209b68dc54008","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21924.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21924","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00244,"epssPercentile":0.15812,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-21924","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21924","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-21924","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-21924","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}