همهٔ گزارش‌ها
کم

kernel: net: hns3: make sure ptp clock is unregister and freed if hclge_ptp_get_cycle returns an error

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2025-21924

احتمال بهره‌برداری در ۳۰ روز آینده: 0.24%

FIRST EPSS · ۱۴۰۵/۰۸/۲۸

شرح آسیب‌پذیری

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.

A flaw was found in the Linux kernel's Hisilicon Network Subsystem (hns3) driver. This issue can result in a Denial of Service (DoS) due to a resource leak during Precision Time Protocol (PTP) clock initialization. When an error occurs while retrieving clock cycles, the driver returns directly without unregistering and releasing the allocated clock resources. A local user with administrative privileges can trigger this condition to leak memory and exhaust system resources.