We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-21924

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: 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.

Reserved 2024-12-29 | Published 2025-04-01 | Updated 2025-05-04 | Assigner Linux

Product status

Default status
unaffected

8373cd38a8888549ace7c7617163a2e826970a92 before b7d8d4529984e2d4a72a6d552fb886233e8e83cb
affected

8373cd38a8888549ace7c7617163a2e826970a92 before 33244e98aa9503585e585335fe2ceb4492630949
affected

8373cd38a8888549ace7c7617163a2e826970a92 before 2c04e507f3a5c5dc6e2b9ab37d8cdedee1ef1a37
affected

8373cd38a8888549ace7c7617163a2e826970a92 before 9cfc43c0e6e6a31122b4008d763a2960c206aa2d
affected

8373cd38a8888549ace7c7617163a2e826970a92 before 21dba813d9821687a7f9aff576798ba21a859a32
affected

8373cd38a8888549ace7c7617163a2e826970a92 before b7365eab39831487a84e63a9638209b68dc54008
affected

Default status
affected

5.14
affected

Any version before 5.14
unaffected

5.15.179
unaffected

6.1.131
unaffected

6.6.83
unaffected

6.12.19
unaffected

6.13.7
unaffected

6.14
unaffected

References

git.kernel.org/...c/b7d8d4529984e2d4a72a6d552fb886233e8e83cb

git.kernel.org/...c/33244e98aa9503585e585335fe2ceb4492630949

git.kernel.org/...c/2c04e507f3a5c5dc6e2b9ab37d8cdedee1ef1a37

git.kernel.org/...c/9cfc43c0e6e6a31122b4008d763a2960c206aa2d

git.kernel.org/...c/21dba813d9821687a7f9aff576798ba21a859a32

git.kernel.org/...c/b7365eab39831487a84e63a9638209b68dc54008

cve.org (CVE-2025-21924)

nvd.nist.gov (CVE-2025-21924)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-21924

Support options

Helpdesk Chat, Email, Knowledgebase