{"id":"CVE-2025-21924","published":"2025-04-01T15:40:56Z","modified":"2026-10-15T21:51:55Z","title":"net: hns3: make sure ptp clock is unregister and freed if hclge_ptp_get_cycle returns an error","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00309,"percentile":0.16186,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b7d8d4529984e2d4a72a6d552fb886233e8e83cb","tags":[]},{"url":"https://git.kernel.org/stable/c/33244e98aa9503585e585335fe2ceb4492630949","tags":[]},{"url":"https://git.kernel.org/stable/c/2c04e507f3a5c5dc6e2b9ab37d8cdedee1ef1a37","tags":[]},{"url":"https://git.kernel.org/stable/c/9cfc43c0e6e6a31122b4008d763a2960c206aa2d","tags":[]},{"url":"https://git.kernel.org/stable/c/21dba813d9821687a7f9aff576798ba21a859a32","tags":[]},{"url":"https://git.kernel.org/stable/c/b7365eab39831487a84e63a9638209b68dc54008","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":3.24},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8373cd38a8888549ace7c7617163a2e826970a92, < b7d8d4529984e2d4a72a6d552fb886233e8e83cb",">= 8373cd38a8888549ace7c7617163a2e826970a92, < 33244e98aa9503585e585335fe2ceb4492630949",">= 8373cd38a8888549ace7c7617163a2e826970a92, < 2c04e507f3a5c5dc6e2b9ab37d8cdedee1ef1a37",">= 8373cd38a8888549ace7c7617163a2e826970a92, < 9cfc43c0e6e6a31122b4008d763a2960c206aa2d",">= 8373cd38a8888549ace7c7617163a2e826970a92, < 21dba813d9821687a7f9aff576798ba21a859a32",">= 8373cd38a8888549ace7c7617163a2e826970a92, < b7365eab39831487a84e63a9638209b68dc54008"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:43:44.162424Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-9397","exploited":false,"provenance":"source"}}